From 29322a292b6818fafd96a618b87628fa880a47a2 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 09:21:55 +0800 Subject: [PATCH 001/109] :art: Need to be reminded that replacement operations are not supported after grouping by doc https://github.com/siyuan-note/siyuan/issues/10161 --- app/appearance/langs/en_US.json | 3 ++- app/appearance/langs/es_ES.json | 3 ++- app/appearance/langs/fr_FR.json | 3 ++- app/appearance/langs/zh_CHT.json | 3 ++- app/appearance/langs/zh_CN.json | 3 ++- kernel/api/search.go | 2 +- kernel/model/search.go | 6 ++++++ 7 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index b9bd56dd043..4931e53de99 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1385,6 +1385,7 @@ "217": "[%d/%d] Created asset content data index", "218": "Too many snapshots of the data repo have been detected, which slows down program startup and data sync. Please consider executing [Settings - About - Data repo purge]", "219": "The cloud storage service is unavailable, please try again later", - "220": "Due to a defect in the previous version, the cloud data is corrupted. Please refer to the User Guide-FAQ-Lost Key steps to reset the local data repo and cloud directory" + "220": "Due to a defect in the previous version, the cloud data is corrupted. Please refer to the User Guide-FAQ-Lost Key steps to reset the local data repo and cloud directory", + "221": "The replacement operation is not supported after grouping by document. Please use ungrouping and then replace" } } diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index f8cb7de45b0..b9314e72677 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1385,6 +1385,7 @@ "217": "[%d/%d] Índice de datos de contenido de activos creado", "218": "Se han detectado demasiadas instantáneas del repositorio de datos, lo que ralentiza el inicio del programa y la sincronización de datos. Considere ejecutar [Configuración - Acerca de - Purga del repositorio de datos]", "219": "El servicio de almacenamiento en la nube no está disponible, inténtalo de nuevo más tarde", - "220": "Debido a un defecto en la versión anterior, los datos de la nube están dañados. Consulte los pasos de la User Guide-FAQ-Lost Key para restablecer el repositorio de datos local y el directorio de la nube" + "220": "Debido a un defecto en la versión anterior, los datos de la nube están dañados. Consulte los pasos de la User Guide-FAQ-Lost Key para restablecer el repositorio de datos local y el directorio de la nube", + "221": "La operación de reemplazo no es compatible después de agrupar por documento. Utilice desagrupar y luego reemplazar" } } diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 4cec3578b19..ad46ecac4a4 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1385,6 +1385,7 @@ "217": "[%d/%d] Création d'un index de données de contenu d'actif", "218": "Trop d'instantanés du référentiel de données ont été détectés, ce qui ralentit le démarrage du programme et la synchronisation des données. Veuillez envisager d'exécuter [Paramètres - À propos - Purge du référentiel de données]", "219": "Le service de stockage cloud n'est pas disponible, veuillez réessayer plus tard", - "220": "En raison d'un défaut dans la version précédente, les données cloud sont corrompues. Veuillez vous référer aux étapes User Guide-FAQ-Lost Key pour réinitialiser le référentiel de données local et le répertoire cloud" + "220": "En raison d'un défaut dans la version précédente, les données cloud sont corrompues. Veuillez vous référer aux étapes User Guide-FAQ-Lost Key pour réinitialiser le référentiel de données local et le répertoire cloud", + "221": "L'opération de remplacement n'est pas prise en charge après le regroupement par document. Veuillez utiliser le dissociation puis remplacer" } } diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index 70828beea3a..3a662ad9a7a 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1385,6 +1385,7 @@ "217": "[%d/%d] 已經創建資源文件內容數據索引", "218": "偵測到資料倉儲快照過多,降低了程式啟動和資料同步速度,請考慮執行 [設定 - 關於 - 資料倉儲清理]", "219": "雲端儲存服務不可用,請稍後再試", - "220": "由於先前版本的缺陷導致了雲端資料損壞,請參考 用戶指南-常見問題-遺失密鑰 步驟來重置本地資料倉儲和雲端目錄" + "220": "由於先前版本的缺陷導致了雲端資料損壞,請參考 用戶指南-常見問題-遺失密鑰 步驟來重置本地資料倉儲和雲端目錄", + "221": "按文檔分組後不支援替換操作,請使用取消分組後再進行替換" } } diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 48423bdd631..232c77e7f88 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1385,6 +1385,7 @@ "217": "[%d/%d] 已经创建资源文件内容数据索引", "218": "检测到数据仓库快照过多,降低了程序启动和数据同步速度,请考虑执行 [设置 - 关于 - 数据仓库清理]", "219": "云端存储服务不可用,请稍后再试", - "220": "由于之前版本的缺陷导致了云端数据损坏,请参考 用户指南-常见问题-遗失密钥 步骤来重置本地数据仓库和云端目录" + "220": "由于之前版本的缺陷导致了云端数据损坏,请参考 用户指南-常见问题-遗失密钥 步骤来重置本地数据仓库和云端目录", + "221": "按文档分组后不支持替换操作,请使用取消分组后再进行替换" } } diff --git a/kernel/api/search.go b/kernel/api/search.go index 7726f68e558..81260f9847a 100644 --- a/kernel/api/search.go +++ b/kernel/api/search.go @@ -99,7 +99,7 @@ func findReplace(c *gin.Context) { err := model.FindReplace(k, r, replaceTypes, ids, paths, boxes, types, method, orderBy, groupBy) if nil != err { - ret.Code = -1 + ret.Code = 1 ret.Msg = err.Error() ret.Data = map[string]interface{}{"closeTimeout": 5000} return diff --git a/kernel/model/search.go b/kernel/model/search.go index 515a98c41e0..4b52662e001 100644 --- a/kernel/model/search.go +++ b/kernel/model/search.go @@ -283,6 +283,12 @@ func FindReplace(keyword, replacement string, replaceTypes map[string]bool, ids return } + if 0 != groupBy { + // 按文档分组后不支持替换 Need to be reminded that replacement operations are not supported after grouping by doc https://github.com/siyuan-note/siyuan/issues/10161 + err = errors.New(Conf.Language(221)) + return + } + // No longer trim spaces for the keyword and replacement https://github.com/siyuan-note/siyuan/issues/9229 if keyword == replacement { return From 932e45e612386231837fc8e69174d3b338727e4c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 13 Jan 2024 10:56:03 +0800 Subject: [PATCH 002/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10163 --- app/appearance/langs/en_US.json | 1 + app/appearance/langs/es_ES.json | 1 + app/appearance/langs/fr_FR.json | 1 + app/appearance/langs/zh_CHT.json | 1 + app/appearance/langs/zh_CN.json | 1 + app/src/boot/globalEvent/keydown.ts | 7 ++++++- app/src/constants.ts | 1 + app/src/protyle/breadcrumb/action.ts | 21 +++++++++++++++++++++ app/src/protyle/breadcrumb/index.ts | 20 ++------------------ 9 files changed, 35 insertions(+), 19 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index b9bd56dd043..3371f35bc18 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1,4 +1,5 @@ { + "switchReadonly": "Switch read-only mode", "original": "Original", "selectRelation": "Please select the related column first", "backRelation": "Bidirectional", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index f8cb7de45b0..5de2065b77d 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1,4 +1,5 @@ { + "switchReadonly": "Cambiar modo de sólo lectura", "original": "Original", "selectRelation": "Seleccione primero la columna relacionada", "backRelation": "Bidireccional", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 4cec3578b19..372018432eb 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1,4 +1,5 @@ { + "switchReadonly": "Changer de mode lecture seule", "original": "Originale", "selectRelation": "Veuillez d'abord sélectionner la colonne associée", "backRelation": "Bidirectionnel", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index 70828beea3a..10869234f8f 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1,4 +1,5 @@ { + "switchReadonly": "唯讀模式切換", "original": "原值", "selectRelation": "請先選擇關聯列", "backRelation": "雙向關聯", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 48423bdd631..c14382c506b 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1,4 +1,5 @@ { + "switchReadonly": "只读模式切换", "original": "原值", "selectRelation": "请先选择关联列", "backRelation": "双向关联", diff --git a/app/src/boot/globalEvent/keydown.ts b/app/src/boot/globalEvent/keydown.ts index 76ba5c24752..e6f4ac49647 100644 --- a/app/src/boot/globalEvent/keydown.ts +++ b/app/src/boot/globalEvent/keydown.ts @@ -57,7 +57,7 @@ import {openCard, openCardByData} from "../../card/openCard"; import {lockScreen} from "../../dialog/processSystem"; import {isWindow} from "../../util/functions"; import {reloadProtyle} from "../../protyle/util/reload"; -import {fullscreen} from "../../protyle/breadcrumb/action"; +import {fullscreen, updateReadonly} from "../../protyle/breadcrumb/action"; import {openRecentDocs} from "../../business/openRecentDocs"; import {App} from "../../index"; import {commandPanel} from "../../plugin/commandPanel"; @@ -333,6 +333,11 @@ const editKeydown = (app: App, event: KeyboardEvent) => { zoomOut({protyle, id: protyle.block.rootID, focusId: protyle.block.id}); return true; } + if (matchHotKey(window.siyuan.config.keymap.editor.general.switchReadonly.custom, event)) { + event.preventDefault(); + updateReadonly(protyle.breadcrumb.element.parentElement.querySelector('.block__icon[data-type="readonly"]'), protyle); + return true; + } if (matchHotKey(window.siyuan.config.keymap.editor.general.backlinks.custom, event)) { event.preventDefault(); if (range) { diff --git a/app/src/constants.ts b/app/src/constants.ts index 2075dacd439..b8915ff3dd0 100644 --- a/app/src/constants.ts +++ b/app/src/constants.ts @@ -359,6 +359,7 @@ export abstract class Constants { refPopover: {default: "", custom: ""}, copyText: {default: "", custom: ""}, exitFocus: {default: "", custom: ""}, + switchReadonly: {default: "", custom: ""}, expand: {default: "⌘↓", custom: "⌘↓"}, collapse: {default: "⌘↑", custom: "⌘↑"}, insertBottom: {default: "⌥⌘.", custom: "⌥⌘."}, diff --git a/app/src/protyle/breadcrumb/action.ts b/app/src/protyle/breadcrumb/action.ts index 4f2218f29cb..7e77e06fe27 100644 --- a/app/src/protyle/breadcrumb/action.ts +++ b/app/src/protyle/breadcrumb/action.ts @@ -8,6 +8,7 @@ import {hideAllElements, hideElements} from "../ui/hideElements"; import {hasClosestByClassName} from "../util/hasClosest"; import {reloadProtyle} from "../util/reload"; import {resize} from "../util/resize"; +import {disabledProtyle, enableProtyle} from "../util/onGet"; export const net2LocalAssets = (protyle: IProtyle, type: "Assets" | "Img") => { if (protyle.element.querySelector(".wysiwygLoading")) { @@ -81,3 +82,23 @@ export const fullscreen = (element: Element, btnElement?: Element) => { }); /// #endif }; + +export const updateReadonly = (target: Element, protyle: IProtyle) => { + if (!window.siyuan.config.readonly) { + const isReadonly = target.querySelector("use").getAttribute("xlink:href") !== "#iconUnlock"; + if (window.siyuan.config.editor.readOnly) { + if (isReadonly) { + enableProtyle(protyle); + } else { + disabledProtyle(protyle); + } + } else { + fetchPost("/api/attr/setBlockAttrs", { + id: protyle.block.rootID, + attrs: { + [Constants.CUSTOM_SY_READONLY]: isReadonly ? "false" : "true" + } + }); + } + } +} diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts index 881930572c9..78ea8923a16 100644 --- a/app/src/protyle/breadcrumb/index.ts +++ b/app/src/protyle/breadcrumb/index.ts @@ -2,7 +2,7 @@ import {getIconByType} from "../../editor/getIcon"; import {fetchPost} from "../../util/fetch"; import {Constants} from "../../constants"; import {MenuItem} from "../../menus/Menu"; -import {fullscreen, net2LocalAssets} from "./action"; +import {fullscreen, net2LocalAssets, updateReadonly} from "./action"; import {openFileAttr} from "../../menus/commonMenuItem"; import {setEditMode} from "../util/setEditMode"; import {RecordMedia} from "../util/RecordMedia"; @@ -107,23 +107,7 @@ export class Breadcrumb { event.preventDefault(); break; } else if (type === "readonly") { - if (!window.siyuan.config.readonly) { - const isReadonly = target.querySelector("use").getAttribute("xlink:href") !== "#iconUnlock"; - if (window.siyuan.config.editor.readOnly) { - if (isReadonly) { - enableProtyle(protyle); - } else { - disabledProtyle(protyle); - } - } else { - fetchPost("/api/attr/setBlockAttrs", { - id: protyle.block.rootID, - attrs: { - [Constants.CUSTOM_SY_READONLY]: isReadonly ? "false" : "true" - } - }); - } - } + updateReadonly(target, protyle); event.stopPropagation(); event.preventDefault(); break; From 746fe1ab7d36f0f4c90ff777d235465066d12d93 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 11:09:23 +0800 Subject: [PATCH 003/109] :memo: Add `Switch read-only mode` hotkey https://github.com/siyuan-note/siyuan/issues/10163 --- .../20200924100950-9op5xi1.sy | 49 ++++++++++++++++++- .../20200813004551-gm0pbn1.sy | 49 ++++++++++++++++++- .../20211226122549-jktxego.sy | 49 ++++++++++++++++++- 3 files changed, 141 insertions(+), 6 deletions(-) diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy index 0ce17ea2463..530d9f423b3 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy @@ -7,7 +7,7 @@ "id": "20200924100950-9op5xi1", "title": "Shortcuts", "type": "doc", - "updated": "20240112150940" + "updated": "20240113110755" }, "Children": [ { @@ -2977,7 +2977,7 @@ "Properties": { "colgroup": "||", "id": "20240112150534-wiik5sl", - "updated": "20240112150940" + "updated": "20240113110755" }, "Children": [ { @@ -6839,6 +6839,51 @@ } ] }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "Go to " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "Settings - Shortcuts" + }, + { + "Type": "NodeText", + "Data": "​ to configure" + } + ] + } + ] + }, + { + "Type": "NodeTableRow", + "Data": "tr", + "Children": [ + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "Switch read-only mode" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "-" + } + ] + }, { "Type": "NodeTableCell", "Data": "td", diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy index f4bf33f2fc3..f79a529ae18 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy @@ -7,7 +7,7 @@ "id": "20200813004551-gm0pbn1", "title": "快捷键", "type": "doc", - "updated": "20240112150737" + "updated": "20240113105903" }, "Children": [ { @@ -2973,7 +2973,7 @@ "Properties": { "colgroup": "||", "id": "20201227133317-vopotjc", - "updated": "20240112145126" + "updated": "20240113105903" }, "Children": [ { @@ -6907,6 +6907,51 @@ ] } ] + }, + { + "Type": "NodeTableRow", + "Data": "tr", + "Children": [ + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "切换只读模式" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "-" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "可前往 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "设置- 快捷键" + }, + { + "Type": "NodeText", + "Data": "​​ 中配置" + } + ] + } + ] } ] }, diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy index cbfdacbaeec..294f4d2fead 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy @@ -6,7 +6,7 @@ "icon": "2328", "id": "20211226122549-jktxego", "title": "快捷鍵", - "updated": "20240112151316" + "updated": "20240113110727" }, "Children": [ { @@ -3048,7 +3048,7 @@ "Properties": { "colgroup": "||", "id": "20240112151141-ggglv0f", - "updated": "20240112151316" + "updated": "20240113110727" }, "Children": [ { @@ -6996,6 +6996,51 @@ } ] }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "可前往 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "設置-\u0026gt;快捷鍵" + }, + { + "Type": "NodeText", + "Data": "​ 中配置" + } + ] + } + ] + }, + { + "Type": "NodeTableRow", + "Data": "tr", + "Children": [ + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "切換唯讀模式" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "-" + } + ] + }, { "Type": "NodeTableCell", "Data": "td", From 9584e219bb4bac0157d8ee8483c23a95171faa59 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 11:10:00 +0800 Subject: [PATCH 004/109] :memo: Add user guide `Mobile App` https://github.com/siyuan-note/siyuan/issues/10162 --- .../20210808180117-6v0mkxr/.siyuan/sort.json | 2 +- .../20240113110040-7sgw8kl.sy | 520 +++++++++++++++++ .../20210808180117-czj9bvb/.siyuan/sort.json | 2 +- .../20240113102857-c63dmo5.sy | 522 ++++++++++++++++++ .../20211226090932-5lcq56f/.siyuan/sort.json | 2 +- .../20240113110500-dz2ae4n.sy | 520 +++++++++++++++++ 6 files changed, 1565 insertions(+), 3 deletions(-) create mode 100644 app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy create mode 100644 app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy create mode 100644 app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy diff --git a/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json b/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json index d3ef0ea6e9b..5a889ce5c93 100644 --- a/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json +++ b/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json @@ -1 +1 @@ -{"20200923234011-ieuun1p":1,"20200923234602-gy54e67":6,"20200923234731-h3zkwm2":2,"20200924093441-ft2rhps":1,"20200924095938-a9p5450":2,"20200924100110-vcg96wy":1,"20200924100635-ms0p9lb":6,"20200924100717-yzwzn64":20,"20200924100744-br924ar":9,"20200924100808-j9sddk9":2,"20200924100906-0u4zfq3":4,"20200924100950-9op5xi1":17,"20200924101106-19z4kaa":1,"20200924101200-gss5vee":4,"20200924101225-k254i8g":2,"20200924101256-f8b1sbi":3,"20201004194026-s8h2cog":18,"20201117112518-dott91x":6,"20201121224345-rc27qvo":7,"20201204184532-3qm9l8n":10,"20201210233038-3xr19g5":5,"20201222100222-q47d64s":2,"20201222100339-i5hzcph":1,"20201227201128-m1wrouw":19,"20201227201751-gv0fpx2":21,"20210110181011-fbhoesf":5,"20210117215840-jcl17fx":3,"20210127203829-qe2mzof":11,"20210331201142-4g923es":13,"20210505164949-c085p1d":3,"20210613191509-cbkxcbz":7,"20210615213222-vs5tzbd":14,"20210721112159-9p645xm":1,"20210721112206-mhr9wxi":2,"20210721160238-yvhbh0h":4,"20210808180303-6yi0dv5":1,"20210808180303-axh6q1d":4,"20210808180303-h361q1i":2,"20210808180303-l3qg72k":3,"20210808180303-xaduj2o":5,"20210824202056-udkf7wg":7,"20211010212318-3wx2kqb":12,"20220105101227-n5zpr1a":6,"20220628204454-hhxohv5":2,"20220708103401-mgydrfg":3,"20221016204105-qx2aq0g":3,"20221223221636-ms2b4w9":15,"20230104152135-1iei0xa":22,"20230106104821-9nfphwm":1,"20230304000547-ibldj1z":16,"20230405172236-pg3l9eu":5,"20230429115711-ejbts4s":4,"20230506205948-yah52eb":8,"20230802114825-2jkkct7":5,"20230805231614-vqn28eh":7,"20230805231816-h1z9mpc":2,"20230805232018-hgrq0ju":1,"20230805232134-3d6mx2k":2} \ No newline at end of file +{"20200923234011-ieuun1p":1,"20200923234602-gy54e67":7,"20200923234731-h3zkwm2":3,"20200924093441-ft2rhps":1,"20200924095938-a9p5450":2,"20200924100110-vcg96wy":1,"20200924100635-ms0p9lb":6,"20200924100717-yzwzn64":20,"20200924100744-br924ar":9,"20200924100808-j9sddk9":2,"20200924100906-0u4zfq3":4,"20200924100950-9op5xi1":17,"20200924101106-19z4kaa":1,"20200924101200-gss5vee":4,"20200924101225-k254i8g":2,"20200924101256-f8b1sbi":3,"20201004194026-s8h2cog":18,"20201117112518-dott91x":6,"20201121224345-rc27qvo":8,"20201204184532-3qm9l8n":10,"20201210233038-3xr19g5":5,"20201222100222-q47d64s":2,"20201222100339-i5hzcph":1,"20201227201128-m1wrouw":19,"20201227201751-gv0fpx2":21,"20210110181011-fbhoesf":5,"20210117215840-jcl17fx":4,"20210127203829-qe2mzof":11,"20210331201142-4g923es":13,"20210505164949-c085p1d":3,"20210613191509-cbkxcbz":7,"20210615213222-vs5tzbd":14,"20210721112159-9p645xm":1,"20210721112206-mhr9wxi":2,"20210721160238-yvhbh0h":4,"20210808180303-6yi0dv5":1,"20210808180303-axh6q1d":4,"20210808180303-h361q1i":2,"20210808180303-l3qg72k":3,"20210808180303-xaduj2o":5,"20210824202056-udkf7wg":7,"20211010212318-3wx2kqb":12,"20220105101227-n5zpr1a":6,"20220628204454-hhxohv5":2,"20220708103401-mgydrfg":3,"20221016204105-qx2aq0g":3,"20221223221636-ms2b4w9":15,"20230104152135-1iei0xa":22,"20230106104821-9nfphwm":1,"20230304000547-ibldj1z":16,"20230405172236-pg3l9eu":6,"20230429115711-ejbts4s":5,"20230506205948-yah52eb":8,"20230802114825-2jkkct7":5,"20230805231614-vqn28eh":7,"20230805231816-h1z9mpc":2,"20230805232018-hgrq0ju":1,"20230805232134-3d6mx2k":2,"20240113110040-7sgw8kl":2} \ No newline at end of file diff --git a/app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy b/app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy new file mode 100644 index 00000000000..b8afaa589a8 --- /dev/null +++ b/app/guide/20210808180117-6v0mkxr/20240113110040-7sgw8kl.sy @@ -0,0 +1,520 @@ +{ + "ID": "20240113110040-7sgw8kl", + "Spec": "1", + "Type": "NodeDocument", + "Properties": { + "icon": "1f4f1", + "id": "20240113110040-7sgw8kl", + "title": "Mobile App", + "updated": "20240113110431" + }, + "Children": [ + { + "ID": "20240113110114-xav9o1n", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110114-xav9o1n", + "updated": "20240113110114" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Overview" + } + ] + }, + { + "ID": "20240113110114-j6okyut", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-j6okyut", + "updated": "20240113110129" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "SiYuan provides Android and iOS apps, which are already available in some mobile app stores. Please search for " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "SiYuan" + }, + { + "Type": "NodeText", + "Data": "​ in the app store." + } + ] + }, + { + "ID": "20240113110114-rugjxcf", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110114-rugjxcf", + "updated": "20240113110114" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Installation and updates" + } + ] + }, + { + "ID": "20240113110114-aqce9bb", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-aqce9bb", + "updated": "20240113110114" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Currently available on the app store:" + } + ] + }, + { + "ID": "20240113110114-2r0390j", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240113110114-2r0390j", + "updated": "20240113110151" + }, + "Children": [ + { + "ID": "20240113110114-vpn2w0q", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-vpn2w0q", + "updated": "20240113110114" + }, + "Children": [ + { + "ID": "20240113110114-xwxkfdw", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-xwxkfdw", + "updated": "20240113110136" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Mi" + } + ] + } + ] + }, + { + "ID": "20240113110114-o3ddwpp", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-o3ddwpp", + "updated": "20240113110114" + }, + "Children": [ + { + "ID": "20240113110114-aw8tod9", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-aw8tod9", + "updated": "20240113110114" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Huawei" + } + ] + } + ] + }, + { + "ID": "20240113110114-gpwaczm", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-gpwaczm", + "updated": "20240113110114" + }, + "Children": [ + { + "ID": "20240113110114-pnj3nky", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-pnj3nky", + "updated": "20240113110141" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "OPPO" + } + ] + } + ] + }, + { + "ID": "20240113110141-gyywbkd", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110141-gyywbkd", + "updated": "20240113110141" + }, + "Children": [ + { + "ID": "20240113110141-zlrxqnn", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110141-zlrxqnn", + "updated": "20240113110141" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "vivo" + } + ] + } + ] + }, + { + "ID": "20240113110114-s58cwy2", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-s58cwy2", + "updated": "20240113110144" + }, + "Children": [ + { + "ID": "20240113110114-cdqjctx", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-cdqjctx", + "updated": "20240113110144" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Apple" + } + ] + } + ] + }, + { + "ID": "20240113110114-v5x1rvc", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-v5x1rvc", + "updated": "20240113110151" + }, + "Children": [ + { + "ID": "20240113110114-in0jqwy", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-in0jqwy", + "updated": "20240113110151" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Kuan" + } + ] + } + ] + }, + { + "ID": "20240113110114-mhekema", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-mhekema", + "updated": "20240113110114" + }, + "Children": [ + { + "ID": "20240113110114-0ul416g", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-0ul416g", + "updated": "20240113110114" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Google Play" + } + ] + } + ] + } + ] + }, + { + "ID": "20240113110114-dixpfgf", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-dixpfgf", + "updated": "20240113110203" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "apk download: " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://b3log.org/siyuan/en/download.html", + "TextMarkTextContent": "https://b3log.org/siyuan/en/download.html" + } + ] + }, + { + "ID": "20240113110114-ekanw3f", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110114-ekanw3f", + "updated": "20240113110213" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Use the marketplace" + } + ] + }, + { + "ID": "20240113110114-54bc1f8", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-54bc1f8", + "updated": "20240113110224" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Due to App Store review reasons, the marketplace cannot be provided directly on the App at present." + } + ] + }, + { + "ID": "20240113110114-5cymxj6", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-5cymxj6", + "updated": "20240113110322" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "To use the marketplace, enable " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "About" + }, + { + "Type": "NodeText", + "Data": "​ - " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "Network serving" + }, + { + "Type": "NodeText", + "Data": "​ and access the configuration on your desktop browser." + } + ] + }, + { + "ID": "20240113110114-3h7r74i", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110114-3h7r74i", + "updated": "20240113110333" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "tag", + "TextMarkTextContent": "Note" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "ID": "20240113110114-7cvpqyg", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240113110114-7cvpqyg", + "updated": "20240113110431" + }, + "Children": [ + { + "ID": "20240113110114-erqy4o6", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-erqy4o6", + "updated": "20240113110114" + }, + "Children": [ + { + "ID": "20240113110114-eheouiq", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-eheouiq", + "updated": "20240113110114" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Uninstalling the App will cause local data to be completely deleted and cannot be recovered" + } + ] + } + ] + }, + { + "ID": "20240113110114-fn3cur4", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-fn3cur4", + "updated": "20240113110423" + }, + "Children": [ + { + "ID": "20240113110114-z7ij7u2", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-z7ij7u2", + "updated": "20240113110423" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "To exit the application, please use " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "Exit the application" + }, + { + "Type": "NodeText", + "Data": "​ in the right panel to exit normally. Swiping away directly will force the application to end, resulting in data synchronization not being executed" + } + ] + } + ] + }, + { + "ID": "20240113110114-7yqcofv", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-7yqcofv", + "updated": "20240113110425" + }, + "Children": [ + { + "ID": "20240113110114-mnulyqm", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-mnulyqm", + "updated": "20240113110425" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Switching apps on iOS will cause the connection to be interrupted. Please click the button in the prompt box to manually reconnect" + } + ] + } + ] + }, + { + "ID": "20240113110114-oz77ny6", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110114-oz77ny6", + "updated": "20240113110431" + }, + "Children": [ + { + "ID": "20240113110114-rqu8ptk", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110114-rqu8ptk", + "updated": "20240113110431" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Please do not switch applications and keep the screen on during data synchronization, otherwise data synchronization will fail" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/app/guide/20210808180117-czj9bvb/.siyuan/sort.json b/app/guide/20210808180117-czj9bvb/.siyuan/sort.json index 64eceb180e8..549015341bc 100644 --- a/app/guide/20210808180117-czj9bvb/.siyuan/sort.json +++ b/app/guide/20210808180117-czj9bvb/.siyuan/sort.json @@ -1 +1 @@ -{"20200812220555-lj3enxa":1,"20200813004551-gm0pbn1":17,"20200813004931-q4cu8na":1,"20200813013559-sgbzl5k":3,"20200813093015-u6bopdt":2,"20200813125307-pxsjela":2,"20200813131152-0wk5akh":4,"20200813163359-v04n73b":8,"20200822191536-rm6hwid":4,"20200825162036-4dx365o":1,"20200828105441-r76vmu5":20,"20200905090211-2vixtlf":2,"20200910201551-h4twhas":6,"20200915214115-42b8zma":9,"20200922102318-oz84yu3":2,"20201004184819-nj8ibyg":18,"20201117101902-2ewjjum":6,"20201121212605-9td1a62":9,"20201204181006-7bkppue":10,"20201210103036-1x3vm8t":5,"20201222093044-rx4zjoy":1,"20201222095049-hghafhe":2,"20201227173504-847cs1q":19,"20201227194925-7ipoiv6":21,"20210110175347-2xrwoiq":5,"20210117211155-56n4odu":3,"20210127202655-2334vvv":11,"20210331200042-94gs1hh":13,"20210505163537-oo97zov":3,"20210612224500-ywcms1m":7,"20210615211733-v6rzowm":14,"20210808180320-abz7w6k":2,"20210808180320-fqgskfj":1,"20210808180320-gyngv2x":3,"20210808180320-qgr0b3q":4,"20210808180321-hbvl5c2":5,"20210824201257-cy7icrc":7,"20211010211311-ffz0wbu":12,"20220628204444-9n0y9h2":2,"20221016213308-uz5af79":3,"20221223215557-o6gfsoy":15,"20230104144904-39br4c6":22,"20230106101434-e6g4av3":1,"20230303235619-ex5l63e":16,"20230405155631-leo4vc6":5,"20230428153709-hioyy5l":6,"20230429114837-70asb4j":4,"20230506210010-houyyvy":8,"20230519105228-hm0y74i":7,"20230805222417-2lj3dvk":6,"20230805225107-qm1m2f5":2,"20230805230131-sn7obzb":1,"20230805230218-aea8icj":2,"20230808120347-3cob0nb":2,"20230808120347-mw3qrwy":4,"20230808120347-pzvmkik":1,"20230808120348-hynr7og":5,"20230808120348-lgcp9zm":3,"20230808120348-vaxi6eq":6,"20230808120348-yut741f":7} \ No newline at end of file +{"20200812220555-lj3enxa":1,"20200813004551-gm0pbn1":17,"20200813004931-q4cu8na":1,"20200813013559-sgbzl5k":3,"20200813093015-u6bopdt":3,"20200813125307-pxsjela":2,"20200813131152-0wk5akh":4,"20200813163359-v04n73b":9,"20200822191536-rm6hwid":4,"20200825162036-4dx365o":1,"20200828105441-r76vmu5":20,"20200905090211-2vixtlf":2,"20200910201551-h4twhas":6,"20200915214115-42b8zma":9,"20200922102318-oz84yu3":2,"20201004184819-nj8ibyg":18,"20201117101902-2ewjjum":6,"20201121212605-9td1a62":10,"20201204181006-7bkppue":10,"20201210103036-1x3vm8t":5,"20201222093044-rx4zjoy":1,"20201222095049-hghafhe":2,"20201227173504-847cs1q":19,"20201227194925-7ipoiv6":21,"20210110175347-2xrwoiq":5,"20210117211155-56n4odu":4,"20210127202655-2334vvv":11,"20210331200042-94gs1hh":13,"20210505163537-oo97zov":3,"20210612224500-ywcms1m":7,"20210615211733-v6rzowm":14,"20210808180320-abz7w6k":2,"20210808180320-fqgskfj":1,"20210808180320-gyngv2x":3,"20210808180320-qgr0b3q":4,"20210808180321-hbvl5c2":5,"20210824201257-cy7icrc":7,"20211010211311-ffz0wbu":12,"20220628204444-9n0y9h2":2,"20221016213308-uz5af79":3,"20221223215557-o6gfsoy":15,"20230104144904-39br4c6":22,"20230106101434-e6g4av3":1,"20230303235619-ex5l63e":16,"20230405155631-leo4vc6":6,"20230428153709-hioyy5l":7,"20230429114837-70asb4j":5,"20230506210010-houyyvy":8,"20230519105228-hm0y74i":8,"20230805222417-2lj3dvk":6,"20230805225107-qm1m2f5":2,"20230805230131-sn7obzb":1,"20230805230218-aea8icj":2,"20230808120347-3cob0nb":2,"20230808120347-mw3qrwy":4,"20230808120347-pzvmkik":1,"20230808120348-hynr7og":5,"20230808120348-lgcp9zm":3,"20230808120348-vaxi6eq":6,"20230808120348-yut741f":7,"20240113102857-c63dmo5":2} \ No newline at end of file diff --git a/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy b/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy new file mode 100644 index 00000000000..342ab64718f --- /dev/null +++ b/app/guide/20210808180117-czj9bvb/20240113102857-c63dmo5.sy @@ -0,0 +1,522 @@ +{ + "ID": "20240113102857-c63dmo5", + "Spec": "1", + "Type": "NodeDocument", + "Properties": { + "icon": "1f4f1", + "id": "20240113102857-c63dmo5", + "title": "移动端 App", + "updated": "20240113105701" + }, + "Children": [ + { + "ID": "20240113102857-aof1w7f", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113102857-aof1w7f", + "updated": "20240113103019" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "概述" + } + ] + }, + { + "ID": "20240113103019-9qixtas", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103019-9qixtas", + "updated": "20240113105701" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "思源笔记提供了 Android 端和 iOS 端 App,已经上架部分手机应用商店,请在应用商店中搜索 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "思源笔记" + }, + { + "Type": "NodeText", + "Data": "​ 或者 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "SiYuan" + }, + { + "Type": "NodeText", + "Data": "​。" + } + ] + }, + { + "ID": "20240113103514-zn9zqby", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113103514-zn9zqby", + "updated": "20240113103527" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "安装和更新" + } + ] + }, + { + "ID": "20240113103522-9qmar6w", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103522-9qmar6w", + "updated": "20240113103715" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "目前已经上架应用商店:" + } + ] + }, + { + "ID": "20240113103626-ubxacja", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240113103626-ubxacja", + "updated": "20240113103627" + }, + "Children": [ + { + "ID": "20240113103627-3msi4nv", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113103627-3msi4nv", + "updated": "20240113103627" + }, + "Children": [ + { + "ID": "20240113103627-f8jrx6i", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103627-f8jrx6i", + "updated": "20240113103636" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "小米" + } + ] + } + ] + }, + { + "ID": "20240113103636-d16mhk2", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113103636-d16mhk2" + }, + "Children": [ + { + "ID": "20240113103636-sfd0an8", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103636-sfd0an8", + "updated": "20240113103639" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "华为" + } + ] + } + ] + }, + { + "ID": "20240113103639-l2ytma2", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113103639-l2ytma2" + }, + "Children": [ + { + "ID": "20240113103639-hb5o04j", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103639-hb5o04j", + "updated": "20240113103641" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "OPPO" + } + ] + } + ] + }, + { + "ID": "20240113103641-v5mcpqr", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113103641-v5mcpqr" + }, + "Children": [ + { + "ID": "20240113103641-3m0bnw0", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103641-3m0bnw0", + "updated": "20240113103644" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "vivo" + } + ] + } + ] + }, + { + "ID": "20240113103645-f24px3a", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113103645-f24px3a" + }, + "Children": [ + { + "ID": "20240113103645-bn397ic", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103645-bn397ic", + "updated": "20240113103659" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "苹果" + } + ] + } + ] + }, + { + "ID": "20240113103702-duvw7xt", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113103702-duvw7xt" + }, + "Children": [ + { + "ID": "20240113103702-4x92du8", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103702-4x92du8", + "updated": "20240113103704" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "酷安" + } + ] + } + ] + }, + { + "ID": "20240113103706-rvth88e", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113103706-rvth88e" + }, + "Children": [ + { + "ID": "20240113103706-re3ljge", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103706-re3ljge", + "updated": "20240113103709" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Google Play" + } + ] + } + ] + } + ] + }, + { + "ID": "20240113103718-csuv9qu", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113103718-csuv9qu", + "updated": "20240113103755" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "apk 下载: " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://b3log.org/siyuan/download.html", + "TextMarkTextContent": "https://b3log.org/siyuan/download.html" + } + ] + }, + { + "ID": "20240113104101-rz1z8en", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113104101-rz1z8en", + "updated": "20240113104140" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "使用集市" + } + ] + }, + { + "ID": "20240113104141-5jvccmj", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113104141-5jvccmj", + "updated": "20240113104506" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "因为应用商店审核原因,目前无法直接在 App 上提供集市。" + } + ] + }, + { + "ID": "20240113104506-ko5m727", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113104506-ko5m727", + "updated": "20240113104506" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "如需使用集市,请启用 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "关于" + }, + { + "Type": "NodeText", + "Data": "​ - " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "网络伺服" + }, + { + "Type": "NodeText", + "Data": "​,然后在桌面端浏览器上访问配置。" + } + ] + }, + { + "ID": "20240113103753-6tsixvt", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113103753-6tsixvt", + "updated": "20240113104524" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "tag", + "TextMarkTextContent": "注意" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "ID": "20240113104525-jtaztd5", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240113104525-jtaztd5", + "updated": "20240113105513" + }, + "Children": [ + { + "ID": "20240113104818-gc1i41e", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113104818-gc1i41e", + "updated": "20240113104818" + }, + "Children": [ + { + "ID": "20240113104818-pxt6yql", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113104818-pxt6yql", + "updated": "20240113104831" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "卸载 App 会导致本地数据被完全删除且无法恢复" + } + ] + } + ] + }, + { + "ID": "20240113104832-8e6vs9t", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113104832-8e6vs9t", + "updated": "20240113105513" + }, + "Children": [ + { + "ID": "20240113104832-2hvn950", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113104832-2hvn950", + "updated": "20240113105513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "退出应用请使用右侧面板中的 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "退出应用" + }, + { + "Type": "NodeText", + "Data": "​ 进行正常退出,直接划走会强制结束应用,导致数据同步未被执行" + } + ] + } + ] + }, + { + "ID": "20240113105240-owjwqqn", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113105240-owjwqqn" + }, + "Children": [ + { + "ID": "20240113105240-bkhdigy", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113105240-bkhdigy", + "updated": "20240113105348" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "iOS 端切换应用后会导致连接中断,请点击提示框中的按钮手动重连" + } + ] + } + ] + }, + { + "ID": "20240113105419-g8m50a5", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113105419-g8m50a5", + "updated": "20240113105504" + }, + "Children": [ + { + "ID": "20240113105419-pwwa9ym", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113105419-pwwa9ym", + "updated": "20240113105504" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "数据同步过程中请勿切换应用并保持亮屏,否则会导致数据同步失败" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/app/guide/20211226090932-5lcq56f/.siyuan/sort.json b/app/guide/20211226090932-5lcq56f/.siyuan/sort.json index 777af672f26..6a28f9becca 100644 --- a/app/guide/20211226090932-5lcq56f/.siyuan/sort.json +++ b/app/guide/20211226090932-5lcq56f/.siyuan/sort.json @@ -1 +1 @@ -{"20211226114339-dk0gtpr":6,"20211226114929-08ap1r0":7,"20211226115043-afhev0g":3,"20211226115227-r1rty9v":2,"20211226115423-d5z1joq":1,"20211226115825-mhcslw2":1,"20211226120055-9mityht":1,"20211226120147-ib6yy3i":2,"20211226120247-63nd8y5":3,"20211226120349-rbkmozu":4,"20211226120422-bkzsd2e":5,"20211226120508-yzh70eh":6,"20211226120802-77aj0is":7,"20211226120854-dr1jfx2":2,"20211226120933-vnjgwwh":3,"20211226121109-f060fkg":4,"20211226121203-rjjngpz":5,"20211226121319-emrk2yy":1,"20211226121329-c5v3dto":21,"20211226121332-irgblss":4,"20211226121438-xaafdo8":2,"20211226121503-k3jma6m":1,"20211226122358-hctqcn5":20,"20211226122459-08mi5cq":19,"20211226122523-rl8356a":18,"20211226122549-jktxego":17,"20211226122707-8cr09co":14,"20211226122728-cnqf7rz":13,"20211226122814-r1rdpcx":12,"20211226122943-st7fpcj":11,"20211226123004-dplpw0o":10,"20211226123038-4umgpxy":9,"20211226123101-qjw03ab":7,"20211226123130-jpeg5b2":6,"20211226123154-fd5e001":5,"20211226123216-tlxw66f":4,"20211226123241-51pujtr":3,"20211226123302-akitvb1":2,"20220105101348-corstqc":5,"20220628204420-ui79vkt":2,"20220708102441-u6wopo9":3,"20221016213639-1nag9jj":3,"20221223221501-mops33i":15,"20230104151953-48hwkwf":22,"20230106104645-o838uew":1,"20230304000829-9jwu3po":16,"20230405172131-yb16aax":5,"20230429115206-ob8nl8t":4,"20230506211210-1roopyo":8,"20230805232636-zh0adz2":6,"20230805232719-04mqbcx":2,"20230805232903-erdoerp":1,"20230805232920-5fdco36":2} \ No newline at end of file +{"20211226114339-dk0gtpr":7,"20211226114929-08ap1r0":8,"20211226115043-afhev0g":4,"20211226115227-r1rty9v":3,"20211226115423-d5z1joq":1,"20211226115825-mhcslw2":1,"20211226120055-9mityht":1,"20211226120147-ib6yy3i":2,"20211226120247-63nd8y5":3,"20211226120349-rbkmozu":4,"20211226120422-bkzsd2e":5,"20211226120508-yzh70eh":6,"20211226120802-77aj0is":7,"20211226120854-dr1jfx2":2,"20211226120933-vnjgwwh":3,"20211226121109-f060fkg":4,"20211226121203-rjjngpz":5,"20211226121319-emrk2yy":1,"20211226121329-c5v3dto":21,"20211226121332-irgblss":4,"20211226121438-xaafdo8":2,"20211226121503-k3jma6m":1,"20211226122358-hctqcn5":20,"20211226122459-08mi5cq":19,"20211226122523-rl8356a":18,"20211226122549-jktxego":17,"20211226122707-8cr09co":14,"20211226122728-cnqf7rz":13,"20211226122814-r1rdpcx":12,"20211226122943-st7fpcj":11,"20211226123004-dplpw0o":10,"20211226123038-4umgpxy":9,"20211226123101-qjw03ab":7,"20211226123130-jpeg5b2":6,"20211226123154-fd5e001":5,"20211226123216-tlxw66f":4,"20211226123241-51pujtr":3,"20211226123302-akitvb1":2,"20220105101348-corstqc":5,"20220628204420-ui79vkt":2,"20220708102441-u6wopo9":3,"20221016213639-1nag9jj":3,"20221223221501-mops33i":15,"20230104151953-48hwkwf":22,"20230106104645-o838uew":1,"20230304000829-9jwu3po":16,"20230405172131-yb16aax":6,"20230429115206-ob8nl8t":5,"20230506211210-1roopyo":8,"20230805232636-zh0adz2":6,"20230805232719-04mqbcx":2,"20230805232903-erdoerp":1,"20230805232920-5fdco36":2,"20240113110500-dz2ae4n":2} \ No newline at end of file diff --git a/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy new file mode 100644 index 00000000000..1bac1a89b34 --- /dev/null +++ b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy @@ -0,0 +1,520 @@ +{ + "ID": "20240113110500-dz2ae4n", + "Spec": "1", + "Type": "NodeDocument", + "Properties": { + "icon": "1f4f1", + "id": "20240113110500-dz2ae4n", + "title": "移动端 App", + "updated": "20240113110557" + }, + "Children": [ + { + "ID": "20240113110513-8s7tp6d", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110513-8s7tp6d", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "概述" + } + ] + }, + { + "ID": "20240113110513-7dv2nyk", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-7dv2nyk", + "updated": "20240113110531" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "思源筆記提供了 Android 端和 iOS 端 App,已經上架部分手機應用程式商店,請在應用程式商店中搜尋 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "SiYuan" + }, + { + "Type": "NodeText", + "Data": "​。" + } + ] + }, + { + "ID": "20240113110513-zvmefnd", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110513-zvmefnd", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "安裝和更新" + } + ] + }, + { + "ID": "20240113110513-f0yckci", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-f0yckci", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "目前已經上架應用程式商店:" + } + ] + }, + { + "ID": "20240113110513-s2ty09e", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240113110513-s2ty09e", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-zkcjaqy", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-zkcjaqy", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-orc8lc9", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-orc8lc9", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "小米" + } + ] + } + ] + }, + { + "ID": "20240113110513-iztzopq", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-iztzopq", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-wugi1za", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-wugi1za", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "華為" + } + ] + } + ] + }, + { + "ID": "20240113110513-cn7qzup", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-cn7qzup", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-g7vsmnv", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-g7vsmnv", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "OPPO" + } + ] + } + ] + }, + { + "ID": "20240113110513-qxnwszv", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-qxnwszv", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-hkyqb3y", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-hkyqb3y", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "vivo" + } + ] + } + ] + }, + { + "ID": "20240113110513-f3vaz7w", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-f3vaz7w", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-dc4b1v0", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-dc4b1v0", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "蘋果" + } + ] + } + ] + }, + { + "ID": "20240113110513-pa32ob5", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-pa32ob5", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-s2nbnca", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-s2nbnca", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "酷安" + } + ] + } + ] + }, + { + "ID": "20240113110513-ymrho6a", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-ymrho6a", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-izjg5e1", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-izjg5e1", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Google Play" + } + ] + } + ] + } + ] + }, + { + "ID": "20240113110513-8lwzed3", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-8lwzed3", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "apk 下載: " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://b3log.org/siyuan/download.html", + "TextMarkTextContent": "https://b3log.org/siyuan/download.html" + } + ] + }, + { + "ID": "20240113110513-f0ouee1", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110513-f0ouee1", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "使用集市" + } + ] + }, + { + "ID": "20240113110513-1zlx78j", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-1zlx78j", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "因為應用程式商店審核原因,目前無法直接在 App 上提供市集。" + } + ] + }, + { + "ID": "20240113110513-bta55b6", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-bta55b6", + "updated": "20240113110550" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "如需使用集市,請啟用 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "關於" + }, + { + "Type": "NodeText", + "Data": "​ - " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "網路伺服" + }, + { + "Type": "NodeText", + "Data": "​,然後在桌面端瀏覽器上存取配置。" + } + ] + }, + { + "ID": "20240113110513-pxc89dc", + "Type": "NodeHeading", + "HeadingLevel": 2, + "Properties": { + "id": "20240113110513-pxc89dc", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "tag", + "TextMarkTextContent": "注意" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "ID": "20240113110513-hrvrjsj", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240113110513-hrvrjsj", + "updated": "20240113110557" + }, + "Children": [ + { + "ID": "20240113110513-cvue0bs", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-cvue0bs", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-cfsoofb", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-cfsoofb", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "卸載 App 會導致本機資料完全刪除且無法復原" + } + ] + } + ] + }, + { + "ID": "20240113110513-2q984od", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-2q984od", + "updated": "20240113110557" + }, + "Children": [ + { + "ID": "20240113110513-4xcnhoh", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-4xcnhoh", + "updated": "20240113110557" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "退出應用程式請使用右側面板中的 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "退出應用" + }, + { + "Type": "NodeText", + "Data": "​ 進行正常退出,直接劃走會強制結束應用,導致資料同步未執行" + } + ] + } + ] + }, + { + "ID": "20240113110513-jqntg24", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-jqntg24", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-gw393oi", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-gw393oi", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "iOS 端切換應用程式後會導致連線中斷,請點選提示框中的按鈕手動重連" + } + ] + } + ] + }, + { + "ID": "20240113110513-99in2ac", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240113110513-99in2ac", + "updated": "20240113110513" + }, + "Children": [ + { + "ID": "20240113110513-213ok2i", + "Type": "NodeParagraph", + "Properties": { + "id": "20240113110513-213ok2i", + "updated": "20240113110513" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "資料同步過程中請勿切換應用程式並保持亮屏,否則會導致資料同步失敗" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file From 0d21e127dba8d2993134f28bc9f09c9fb801b5b5 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 11:10:31 +0800 Subject: [PATCH 005/109] :memo: Add user guide `Mobile App` https://github.com/siyuan-note/siyuan/issues/10162 --- app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy index 1bac1a89b34..625367071c1 100644 --- a/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy +++ b/app/guide/20211226090932-5lcq56f/20240113110500-dz2ae4n.sy @@ -5,8 +5,8 @@ "Properties": { "icon": "1f4f1", "id": "20240113110500-dz2ae4n", - "title": "移动端 App", - "updated": "20240113110557" + "title": "行動端 App", + "updated": "20240113111013" }, "Children": [ { From 43c6fabcdc316a01d966f575cb3c7bac44f572db Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 21:56:42 +0800 Subject: [PATCH 006/109] :art: Flashcards are not allowed to be modified during data sync to avoid data overwriting https://github.com/siyuan-note/siyuan/issues/10167 --- kernel/model/flashcard.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/model/flashcard.go b/kernel/model/flashcard.go index b7e7ba9fad3..bf1693aa192 100644 --- a/kernel/model/flashcard.go +++ b/kernel/model/flashcard.go @@ -641,7 +641,7 @@ func (tx *Transaction) doRemoveFlashcards(operation *Operation) (ret *TxErr) { deckLock.Lock() defer deckLock.Unlock() - if syncingStorages.Load() { + if isSyncing.Load() { ret = &TxErr{code: TxErrCodeDataIsSyncing} return } @@ -753,7 +753,7 @@ func (tx *Transaction) doAddFlashcards(operation *Operation) (ret *TxErr) { deckLock.Lock() defer deckLock.Unlock() - if syncingStorages.Load() { + if isSyncing.Load() { ret = &TxErr{code: TxErrCodeDataIsSyncing} return } From c3b4aa971d3269eb4595a9644ab6545a81ffcfad Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 22:14:26 +0800 Subject: [PATCH 007/109] :art: Flashcards are not allowed to be modified during data sync to avoid data overwriting https://github.com/siyuan-note/siyuan/issues/10167 --- app/appearance/langs/en_US.json | 3 ++- app/appearance/langs/es_ES.json | 3 ++- app/appearance/langs/fr_FR.json | 3 ++- app/appearance/langs/zh_CHT.json | 3 ++- app/appearance/langs/zh_CN.json | 3 ++- kernel/model/transaction.go | 2 +- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 2fab2934928..6d1164834c6 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1387,6 +1387,7 @@ "218": "Too many snapshots of the data repo have been detected, which slows down program startup and data sync. Please consider executing [Settings - About - Data repo purge]", "219": "The cloud storage service is unavailable, please try again later", "220": "Due to a defect in the previous version, the cloud data is corrupted. Please refer to the User Guide-FAQ-Lost Key steps to reset the local data repo and cloud directory", - "221": "The replacement operation is not supported after grouping by document. Please use ungrouping and then replace" + "221": "The replacement operation is not supported after grouping by document. Please use ungrouping and then replace", + "222": "Data sync is in progress, please wait until data sync is completed and try again" } } diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 41bce763507..1bb6aff9ee2 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1387,6 +1387,7 @@ "218": "Se han detectado demasiadas instantáneas del repositorio de datos, lo que ralentiza el inicio del programa y la sincronización de datos. Considere ejecutar [Configuración - Acerca de - Purga del repositorio de datos]", "219": "El servicio de almacenamiento en la nube no está disponible, inténtalo de nuevo más tarde", "220": "Debido a un defecto en la versión anterior, los datos de la nube están dañados. Consulte los pasos de la User Guide-FAQ-Lost Key para restablecer el repositorio de datos local y el directorio de la nube", - "221": "La operación de reemplazo no es compatible después de agrupar por documento. Utilice desagrupar y luego reemplazar" + "221": "La operación de reemplazo no es compatible después de agrupar por documento. Utilice desagrupar y luego reemplazar", + "222": "La sincronización de datos está en curso. Espere hasta que se complete la sincronización de datos e inténtelo de nuevo" } } diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 6099163b9b8..65c68d22d25 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1387,6 +1387,7 @@ "218": "Trop d'instantanés du référentiel de données ont été détectés, ce qui ralentit le démarrage du programme et la synchronisation des données. Veuillez envisager d'exécuter [Paramètres - À propos - Purge du référentiel de données]", "219": "Le service de stockage cloud n'est pas disponible, veuillez réessayer plus tard", "220": "En raison d'un défaut dans la version précédente, les données cloud sont corrompues. Veuillez vous référer aux étapes User Guide-FAQ-Lost Key pour réinitialiser le référentiel de données local et le répertoire cloud", - "221": "L'opération de remplacement n'est pas prise en charge après le regroupement par document. Veuillez utiliser le dissociation puis remplacer" + "221": "L'opération de remplacement n'est pas prise en charge après le regroupement par document. Veuillez utiliser le dissociation puis remplacer", + "222": "La synchronisation des données est en cours, veuillez attendre que la synchronisation des données soit terminée et réessayer" } } diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index f7f7da56709..e2f940089b7 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1387,6 +1387,7 @@ "218": "偵測到資料倉儲快照過多,降低了程式啟動和資料同步速度,請考慮執行 [設定 - 關於 - 資料倉儲清理]", "219": "雲端儲存服務不可用,請稍後再試", "220": "由於先前版本的缺陷導致了雲端資料損壞,請參考 用戶指南-常見問題-遺失密鑰 步驟來重置本地資料倉儲和雲端目錄", - "221": "按文檔分組後不支援替換操作,請使用取消分組後再進行替換" + "221": "按文檔分組後不支援替換操作,請使用取消分組後再進行替換", + "222": "資料同步中,請等待資料同步完成後再試" } } diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 2343e1383c3..cfd5c0b43d7 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1387,6 +1387,7 @@ "218": "检测到数据仓库快照过多,降低了程序启动和数据同步速度,请考虑执行 [设置 - 关于 - 数据仓库清理]", "219": "云端存储服务不可用,请稍后再试", "220": "由于之前版本的缺陷导致了云端数据损坏,请参考 用户指南-常见问题-遗失密钥 步骤来重置本地数据仓库和云端目录", - "221": "按文档分组后不支持替换操作,请使用取消分组后再进行替换" + "221": "按文档分组后不支持替换操作,请使用取消分组后再进行替换", + "222": "数据同步中,请等待数据同步完成后再试" } } diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go index 96560f96941..cf7367863cc 100644 --- a/kernel/model/transaction.go +++ b/kernel/model/transaction.go @@ -115,7 +115,7 @@ func flushTx(tx *Transaction) { util.PushTxErr("Transaction failed", txErr.code, nil) return case TxErrCodeDataIsSyncing: - util.PushErrMsg(Conf.Language(81), 5000) + util.PushMsg(Conf.Language(222), 5000) default: txData, _ := gulu.JSON.MarshalJSON(tx) logging.LogFatalf(logging.ExitCodeFatal, "transaction failed [%d]: %s\n tx [%s]", txErr.code, txErr.msg, txData) From 651f245662b299b4e23bfd980630185a6e0bbee4 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 22:30:57 +0800 Subject: [PATCH 008/109] :art: Flashcards are not allowed to be modified during data sync to avoid data overwriting https://github.com/siyuan-note/siyuan/issues/10167 --- kernel/model/flashcard.go | 4 ++-- kernel/model/repository.go | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/kernel/model/flashcard.go b/kernel/model/flashcard.go index bf1693aa192..711e155ae64 100644 --- a/kernel/model/flashcard.go +++ b/kernel/model/flashcard.go @@ -641,7 +641,7 @@ func (tx *Transaction) doRemoveFlashcards(operation *Operation) (ret *TxErr) { deckLock.Lock() defer deckLock.Unlock() - if isSyncing.Load() { + if isSyncingStorages() { ret = &TxErr{code: TxErrCodeDataIsSyncing} return } @@ -753,7 +753,7 @@ func (tx *Transaction) doAddFlashcards(operation *Operation) (ret *TxErr) { deckLock.Lock() defer deckLock.Unlock() - if isSyncing.Load() { + if isSyncingStorages() { ret = &TxErr{code: TxErrCodeDataIsSyncing} return } diff --git a/kernel/model/repository.go b/kernel/model/repository.go index 0c54bbc8679..ad0959d6209 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -955,11 +955,15 @@ var syncingFiles = sync.Map{} var syncingStorages = atomic.Bool{} func waitForSyncingStorages() { - for syncingStorages.Load() { + for isSyncingStorages() { time.Sleep(time.Second) } } +func isSyncingStorages() bool { + return syncingStorages.Load() || isBootSyncing.Load() +} + func IsSyncingFile(rootID string) (ret bool) { _, ret = syncingFiles.Load(rootID) return @@ -1105,6 +1109,8 @@ func syncRepoUpload() (err error) { return } +var isBootSyncing = atomic.Bool{} + func bootSyncRepo() (err error) { if 1 > len(Conf.Repo.Key) { autoSyncErrCount++ @@ -1129,11 +1135,14 @@ func bootSyncRepo() (err error) { return } + isBootSyncing.Store(true) + start := time.Now() _, _, err = indexRepoBeforeCloudSync(repo) if nil != err { autoSyncErrCount++ planSyncAfter(fixSyncInterval) + isBootSyncing.Store(false) return } @@ -1180,17 +1189,21 @@ func bootSyncRepo() (err error) { util.PushStatusBar(msg) util.PushErrMsg(msg, 0) BootSyncSucc = 1 + isBootSyncing.Store(false) return } if 0 < len(fetchedFiles) { go func() { _, syncErr := syncRepo(false, false) + isBootSyncing.Store(false) if nil != err { logging.LogErrorf("boot background sync repo failed: %s", syncErr) return } }() + } else { + isBootSyncing.Store(false) } return } From 19f377c31b6c1db550830d5492a05d5143392557 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 13 Jan 2024 22:34:46 +0800 Subject: [PATCH 009/109] :art: https://github.com/siyuan-note/siyuan/issues/9867 --- app/appearance/langs/en_US.json | 1 + app/appearance/langs/es_ES.json | 1 + app/appearance/langs/fr_FR.json | 1 + app/appearance/langs/zh_CHT.json | 1 + app/appearance/langs/zh_CN.json | 1 + app/src/assets/scss/business/_av.scss | 16 +++++++ app/src/menus/protyle.ts | 5 +- app/src/protyle/gutter/index.ts | 5 +- app/src/protyle/render/av/action.ts | 5 +- app/src/protyle/render/av/cell.ts | 18 +++++++ app/src/protyle/wysiwyg/index.ts | 69 +++++++++++++++++++++++++-- 11 files changed, 114 insertions(+), 9 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 2fab2934928..1628be966a4 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1,4 +1,5 @@ { + "dragFill": "Drag vertically to fill value", "switchReadonly": "Switch read-only mode", "original": "Original", "selectRelation": "Please select the related column first", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 41bce763507..697c7a8cc80 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1,4 +1,5 @@ { + "dragFill": "Arrastra verticalmente para rellenar el valor", "switchReadonly": "Cambiar modo de sólo lectura", "original": "Original", "selectRelation": "Seleccione primero la columna relacionada", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 6099163b9b8..e2e75d2754b 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1,4 +1,5 @@ { + "dragFill": "Arrastra verticalmente para rellenar el valor", "switchReadonly": "Changer de mode lecture seule", "original": "Originale", "selectRelation": "Veuillez d'abord sélectionner la colonne associée", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index f7f7da56709..d24e807743d 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1,4 +1,5 @@ { + "dragFill": "下拉填滿資料", "switchReadonly": "唯讀模式切換", "original": "原值", "selectRelation": "請先選擇關聯列", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 2343e1383c3..a179637346f 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1,4 +1,5 @@ { + "dragFill": "下拉填充数据", "switchReadonly": "只读模式切换", "original": "原值", "selectRelation": "请先选择关联列", diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss index 53b9772dd08..0eee48966ab 100644 --- a/app/src/assets/scss/business/_av.scss +++ b/app/src/assets/scss/business/_av.scss @@ -258,6 +258,10 @@ border-radius: var(--b3-border-radius); } + &--active { + background-color: var(--b3-menu-background); + } + .block__icon { position: absolute; right: 5px; @@ -275,6 +279,18 @@ } } + &__drag-fill { + position: absolute; + right: 0; + bottom: 0; + width: 9px; + height: 9px; + border: 2px solid var(--b3-theme-primary-lighter); + border-radius: 50%; + box-sizing: border-box; + cursor: ns-resize; + } + &__cellheader { padding: 5px; display: flex; diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 3cc474be797..f17ab800bdd 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -1880,13 +1880,14 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea focusBlock(nodeElement, undefined, false); } } - nodeElement.querySelectorAll(".img--select, .av__cell--select, .av__row--select").forEach((item: HTMLElement) => { + nodeElement.querySelectorAll(".img--select, .av__cell--select, .av__cell--active, .av__row--select").forEach((item: HTMLElement) => { if (item.classList.contains("av__row--select")) { item.classList.remove("av__row--select"); item.querySelector(".av__firstcol use").setAttribute("xlink:href", "#iconUncheck"); updateHeader(item); } else { - item.classList.remove("img--select", "av__cell--select"); + item.querySelector(".av__drag-fill")?.remove(); + item.classList.remove("img--select", "av__cell--select", "av__cell--active"); } }); } diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index eda8c159c78..a05a17c09ff 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -217,8 +217,9 @@ export class Gutter { return; } if (buttonElement.dataset.type === "NodeAttributeViewRow") { - blockElement.querySelectorAll(".av__cell--select").forEach((cellElement: HTMLElement) => { - cellElement.classList.remove("av__cell--select"); + blockElement.querySelectorAll(".av__cell--select, .av__cell--active").forEach((cellElement: HTMLElement) => { + cellElement.classList.remove("av__cell--select", "av__cell--active"); + cellElement.querySelector(".av__drag-fill")?.remove(); }); const avID = blockElement.getAttribute("data-av-id"); const srcIDs = [Lute.NewNodeID()]; diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 40791e4d74d..ab8b2fdc6b4 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -256,8 +256,9 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi if (!blockElement) { return false; } - blockElement.querySelectorAll(".av__cell--select").forEach(item => { - item.classList.remove("av__cell--select"); + blockElement.querySelectorAll(".av__cell--select, .av__cell--active").forEach(item => { + item.classList.remove("av__cell--select", "av__cell--active"); + item.querySelector(".av__drag-fill")?.remove(); }); if (!rowElement.classList.contains("av__row--select")) { blockElement.querySelectorAll(".av__row--select").forEach(item => { diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 1f53964a12b..0c5be5c5c38 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -647,3 +647,21 @@ export const updateHeaderCell = (cellElement: HTMLElement, headerValue: { } } }; + +export const getPositionByCellElement = (cellElement: HTMLElement) => { + let rowElement = hasClosestByClassName(cellElement, "av__row"); + if (!rowElement) { + return; + } + let rowIndex = -1; + while (rowElement) { + rowElement = rowElement.previousElementSibling as HTMLElement; + rowIndex++; + } + let celIndex = -2; + while (cellElement) { + cellElement = cellElement.previousElementSibling as HTMLElement; + celIndex++; + } + return {rowIndex, celIndex}; +} diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 966e76c85ae..0b5d24f47b8 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -81,7 +81,7 @@ import {showColMenu} from "../render/av/col"; import {openViewMenu} from "../render/av/view"; import {avRender} from "../render/av/render"; import {checkFold} from "../../util/noRelyPCFunction"; -import {getCellText, updateCellsValue} from "../render/av/cell"; +import {getCellText, getPositionByCellElement, updateCellsValue} from "../render/av/cell"; export class WYSIWYG { public lastHTMLs: { [key: string]: string } = {}; @@ -89,6 +89,7 @@ export class WYSIWYG { public preventKeyup: boolean; private shiftStartElement: HTMLElement; + private preventClick: boolean; constructor(protyle: IProtyle) { this.element = document.createElement("div"); @@ -191,13 +192,14 @@ export class WYSIWYG { private setEmptyOutline(protyle: IProtyle, element: HTMLElement) { // 图片移除选择状态应放在前面,否则 https://github.com/siyuan-note/siyuan/issues/4173 - protyle.wysiwyg.element.querySelectorAll(".img--select, .av__cell--select, .av__row--select").forEach((item: HTMLElement) => { + protyle.wysiwyg.element.querySelectorAll(".img--select, .av__cell--select, .av__cell--active, .av__row--select").forEach((item: HTMLElement) => { if (item.classList.contains("av__row--select") && !hasClosestByClassName(element, "av")) { item.classList.remove("av__row--select"); item.querySelector(".av__firstcol use").setAttribute("xlink:href", "#iconUncheck"); updateHeader(item); } else { - item.classList.remove("img--select", "av__cell--select"); + item.classList.remove("img--select", "av__cell--select", "av__cell--active"); + item.querySelector(".av__drag-fill")?.remove(); } }); @@ -432,10 +434,67 @@ export class WYSIWYG { data: oldWidth + "px" }]); }; + this.preventClick = true; event.stopPropagation(); event.preventDefault(); return; } + // av cell select + const avCellElement = hasClosestByClassName(target, "av__cell"); + if (!protyle.disabled && avCellElement && avCellElement.dataset.id) { + const nodeElement = hasClosestBlock(avCellElement); + if (!nodeElement) { + return; + } + nodeElement.querySelectorAll(".av__cell--select").forEach(item => { + item.classList.remove("av__cell--select"); + }) + nodeElement.querySelectorAll(".av__drag-fill").forEach(item => { + item.remove(); + }) + avCellElement.classList.add("av__cell--select"); + const originIndex = getPositionByCellElement(avCellElement); + let moveCellElement: HTMLElement; + let lastCellElement: HTMLElement; + documentSelf.onmousemove = (moveEvent: MouseEvent) => { + const tempCellElement = hasClosestByClassName(moveEvent.target as HTMLElement, "av__cell") as HTMLElement; + if (moveCellElement && tempCellElement && tempCellElement.isSameNode(moveCellElement)) { + return; + } + moveCellElement = tempCellElement; + if (moveCellElement && moveCellElement.dataset.id && !avCellElement.isSameNode(moveCellElement)) { + const newIndex = getPositionByCellElement(moveCellElement); + nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement) => { + item.classList.remove("av__cell--active"); + }) + nodeElement.querySelectorAll(".av__row").forEach((rowElement: HTMLElement, index: number) => { + if (index >= Math.min(originIndex.rowIndex, newIndex.rowIndex) && index <= Math.max(originIndex.rowIndex, newIndex.rowIndex)) { + rowElement.querySelectorAll(".av__cell").forEach((cellElement: HTMLElement, cellIndex: number) => { + if (cellIndex >= Math.min(originIndex.celIndex, newIndex.celIndex) && cellIndex <= Math.max(originIndex.celIndex, newIndex.celIndex)) { + cellElement.classList.add("av__cell--active"); + lastCellElement = cellElement; + } + }); + } + }) + } + }; + + documentSelf.onmouseup = () => { + documentSelf.onmousemove = null; + documentSelf.onmouseup = null; + documentSelf.ondragstart = null; + documentSelf.onselectstart = null; + documentSelf.onselect = null; + focusBlock(nodeElement); + lastCellElement.insertAdjacentHTML("beforeend", `
`) + return false; + }; + this.preventClick = true; + event.stopPropagation(); + event.preventDefault(); + return false; + } // 图片、iframe、video 缩放 if (!protyle.disabled && target.classList.contains("protyle-action__drag")) { const nodeElement = hasClosestBlock(target); @@ -1695,6 +1754,10 @@ export class WYSIWYG { }); this.element.addEventListener("click", (event: MouseEvent & { target: HTMLElement }) => { + if (this.preventClick) { + this.preventClick = false; + return; + } protyle.app.plugins.forEach(item => { item.eventBus.emit("click-editorcontent", { protyle, From 78497c40d0e4a760217148ffee4e59b08e6783e7 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 13 Jan 2024 22:36:58 +0800 Subject: [PATCH 010/109] :art: https://github.com/siyuan-note/siyuan/issues/9867 --- app/src/protyle/wysiwyg/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 0b5d24f47b8..33add30796c 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -486,11 +486,13 @@ export class WYSIWYG { documentSelf.ondragstart = null; documentSelf.onselectstart = null; documentSelf.onselect = null; - focusBlock(nodeElement); - lastCellElement.insertAdjacentHTML("beforeend", `
`) + if (lastCellElement) { + focusBlock(nodeElement); + lastCellElement.insertAdjacentHTML("beforeend", `
`) + this.preventClick = true; + } return false; }; - this.preventClick = true; event.stopPropagation(); event.preventDefault(); return false; From 784b10e0fa51c7ea629107005fa4304934f9bfc3 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 13 Jan 2024 22:45:02 +0800 Subject: [PATCH 011/109] :art: Improve account info https://ld246.com/article/1705079465195 --- app/appearance/langs/en_US.json | 2 +- app/appearance/langs/es_ES.json | 2 +- app/appearance/langs/fr_FR.json | 2 +- app/appearance/langs/zh_CHT.json | 2 +- app/appearance/langs/zh_CN.json | 2 +- app/src/config/account.ts | 4 ++-- app/src/config/util/about.ts | 5 +++++ 7 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index e3a01809239..80d6967549e 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -850,7 +850,7 @@ "refreshUser": "User information refreshed", "insertBottom": "Open Below the Tab", "insertRight": "Open Right the Tab", - "account1": "Click to subscribe", + "account1": "Become a paid member", "account2": "End-to-end encrypted data sync and backup", "account3": "Trial Subscription", "account5": "Cloud assets hosting", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 296fc397c46..4e628760a35 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -850,7 +850,7 @@ "refreshUser": "Información del usuario actualizada", "insertBottom": "Abrir debajo de la pestaña", "insertRight": "Abrir a la derecha la pestaña", - "account1": "Haga clic para suscribirse", + "account1": "Conviértete en miembro pago", "account2": "Copia de seguridad y sincronización de datos cifrados de extremo a extremo", "account3": "Suscripción de prueba", "account5": "Alojamiento de activos en la nube", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 79560cebca0..7df0e3dd811 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -850,7 +850,7 @@ "refreshUser": "Les informations sur l'utilisateur ont été actualisées", "insertBottom": "Ouvrir en bas de l'onglet", "insertRight": "Ouvrir en droit de l'onglet", - "account1": "Cliquez pour vous abonner", + "account1": "Devenez membre payant", "account2": "Synchronisation et sauvegarde des données cryptées de bout en bout", "account3": "Abonnement d'essai", "account5": "Hébergement d'actifs cloud", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index 7a15fc44e2b..a40d371ffb2 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -850,7 +850,7 @@ "refreshUser": "使用者資訊更新完畢", "insertBottom": "在分頁下側打開", "insertRight": "在分頁右側打開", - "account1": "點擊前往訂閱", + "account1": "成為付費會員", "account2": "端到端加密資料同步和備份", "account3": "試用訂閱", "account5": "雲端圖床服務", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 22922015c92..c5aadf55e72 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -850,7 +850,7 @@ "refreshUser": "用户信息刷新完毕", "insertBottom": "在页签下侧打开", "insertRight": "在页签右侧打开", - "account1": "点击前往订阅", + "account1": "成为付费会员", "account2": "端到端加密数据同步和备份", "account3": "试用订阅", "account5": "云端图床服务", diff --git a/app/src/config/account.ts b/app/src/config/account.ts index b44faa79628..3070125c771 100644 --- a/app/src/config/account.ts +++ b/app/src/config/account.ts @@ -10,7 +10,7 @@ import {processSync} from "../dialog/processSystem"; import {needSubscribe} from "../util/needSubscribe"; import {syncGuide} from "../sync/syncGuide"; import {hideElements} from "../protyle/ui/hideElements"; -import {getCloudURL} from "./util/about"; +import {getCloudURL, getIndexURL} from "./util/about"; const genSVGBG = () => { let html = ""; @@ -30,7 +30,7 @@ export const account = { element: undefined as Element, genHTML: (onlyPayHTML = false) => { const payHTML = ` - + ${window.siyuan.languages.account1}
diff --git a/app/src/config/util/about.ts b/app/src/config/util/about.ts index cd8be1c747b..09f22645dc0 100644 --- a/app/src/config/util/about.ts +++ b/app/src/config/util/about.ts @@ -35,3 +35,8 @@ export const getCloudURL = (key: string) => { const origin = window.siyuan.config.cloudRegion === 0 ? "https://ld246.com" : "https://liuyun.io"; return `${origin}/${key}`; }; + +export const getIndexURL = (key: string) => { + const lang = 'zh_CN' === window.siyuan.config.lang ? "" : "/en"; + return 'https://b3log.org/siyuan' + `${lang}/${key}`; +} From d04fc77a984f2b91264c430528f845b493ad10cf Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 13 Jan 2024 22:46:51 +0800 Subject: [PATCH 012/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10168 --- app/src/editor/util.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/editor/util.ts b/app/src/editor/util.ts index 3286fa26b3d..fda90999e72 100644 --- a/app/src/editor/util.ts +++ b/app/src/editor/util.ts @@ -82,6 +82,10 @@ export const openFile = async (options: IOpenFileOptions) => { if (typeof options.removeCurrentTab === "undefined") { options.removeCurrentTab = true; } + // https://github.com/siyuan-note/siyuan/issues/10168 + document.querySelectorAll(".av__panel, .av__mask").forEach(item => { + item.remove(); + }); const allModels = getAllModels(); // 文档已打开 if (options.assetPath) { From 728110161d1d815c5559eb3a067ece57ba28663c Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 14 Jan 2024 11:42:28 +0800 Subject: [PATCH 013/109] :art: Search and replace supports space characters https://github.com/siyuan-note/siyuan/issues/10175 --- kernel/model/asset_content.go | 10 +++++----- kernel/model/search.go | 34 +++++++++++++++++++++++++++------- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/kernel/model/asset_content.go b/kernel/model/asset_content.go index fafbb76a3f5..df71d37c8f9 100644 --- a/kernel/model/asset_content.go +++ b/kernel/model/asset_content.go @@ -113,18 +113,18 @@ func FullTextSearchAssetContent(query string, types map[string]bool, method, ord } func fullTextSearchAssetContentByQuerySyntax(query, typeFilter, orderBy string, beforeLen, page, pageSize int) (ret []*AssetContent, matchedAssetCount int) { - query = gulu.Str.RemoveInvisible(query) + query = filterQueryInvisibleChars(query) return fullTextSearchAssetContentByFTS(query, typeFilter, orderBy, beforeLen, page, pageSize) } func fullTextSearchAssetContentByKeyword(query, typeFilter string, orderBy string, beforeLen, page, pageSize int) (ret []*AssetContent, matchedAssetCount int) { - query = gulu.Str.RemoveInvisible(query) + query = filterQueryInvisibleChars(query) query = stringQuery(query) return fullTextSearchAssetContentByFTS(query, typeFilter, orderBy, beforeLen, page, pageSize) } func fullTextSearchAssetContentByRegexp(exp, typeFilter, orderBy string, beforeLen, page, pageSize int) (ret []*AssetContent, matchedAssetCount int) { - exp = gulu.Str.RemoveInvisible(exp) + exp = filterQueryInvisibleChars(exp) fieldFilter := assetContentFieldRegexp(exp) stmt := "SELECT * FROM `asset_contents_fts_case_insensitive` WHERE " + fieldFilter + " AND ext IN " + typeFilter stmt += " " + orderBy @@ -180,7 +180,7 @@ func fullTextSearchAssetContentByFTS(query, typeFilter, orderBy string, beforeLe } func searchAssetContentBySQL(stmt string, beforeLen, page, pageSize int) (ret []*AssetContent, matchedAssetCount int) { - stmt = gulu.Str.RemoveInvisible(stmt) + stmt = filterQueryInvisibleChars(stmt) stmt = strings.TrimSpace(stmt) assetContents := sql.SelectAssetContentsRawStmt(stmt, page, pageSize) ret = fromSQLAssetContents(&assetContents, beforeLen) @@ -202,7 +202,7 @@ func searchAssetContentBySQL(stmt string, beforeLen, page, pageSize int) (ret [] } func fullTextSearchAssetContentCount(query, typeFilter string) (matchedAssetCount int) { - query = gulu.Str.RemoveInvisible(query) + query = filterQueryInvisibleChars(query) table := "asset_contents_fts_case_insensitive" stmt := "SELECT COUNT(path) AS `assets` FROM `" + table + "` WHERE (`" + table + "` MATCH '" + buildAssetContentColumnFilter() + ":(" + query + ")'" diff --git a/kernel/model/search.go b/kernel/model/search.go index 4b52662e001..328f8259066 100644 --- a/kernel/model/search.go +++ b/kernel/model/search.go @@ -636,7 +636,16 @@ func replaceNodeTokens(n *ast.Node, method int, keyword string, replacement stri // orderBy: 0:按块类型(默认),1:按创建时间升序,2:按创建时间降序,3:按更新时间升序,4:按更新时间降序,5:按内容顺序(仅在按文档分组时),6:按相关度升序,7:按相关度降序 // groupBy:0:不分组,1:按文档分组 func FullTextSearchBlock(query string, boxes, paths []string, types map[string]bool, method, orderBy, groupBy, page, pageSize int) (ret []*Block, matchedBlockCount, matchedRootCount, pageCount int) { - query = strings.TrimSpace(query) + ret = []*Block{} + if "" == query { + return + } + + trimQuery := strings.TrimSpace(query) + if "" != trimQuery { + query = trimQuery + } + beforeLen := 36 var blocks []*Block orderByClause := buildOrderBy(method, orderBy) @@ -842,7 +851,7 @@ func buildTypeFilter(types map[string]bool) string { } func searchBySQL(stmt string, beforeLen, page, pageSize int) (ret []*Block, matchedBlockCount, matchedRootCount int) { - stmt = gulu.Str.RemoveInvisible(stmt) + stmt = filterQueryInvisibleChars(stmt) stmt = strings.TrimSpace(stmt) blocks := sql.SelectBlocksRawStmt(stmt, page, pageSize) ret = fromSQLBlocks(&blocks, "", beforeLen) @@ -886,7 +895,7 @@ func removeLimitClause(stmt string) string { } func fullTextSearchRefBlock(keyword string, beforeLen int, onlyDoc bool) (ret []*Block) { - keyword = gulu.Str.RemoveInvisible(keyword) + keyword = filterQueryInvisibleChars(keyword) if ast.IsNodeIDPattern(keyword) { ret, _, _ = searchBySQL("SELECT * FROM `blocks` WHERE `id` = '"+keyword+"'", 36, 1, 32) @@ -950,7 +959,7 @@ func fullTextSearchRefBlock(keyword string, beforeLen int, onlyDoc bool) (ret [] } func fullTextSearchByQuerySyntax(query, boxFilter, pathFilter, typeFilter, orderBy string, beforeLen, page, pageSize int) (ret []*Block, matchedBlockCount, matchedRootCount int) { - query = gulu.Str.RemoveInvisible(query) + query = filterQueryInvisibleChars(query) if ast.IsNodeIDPattern(query) { ret, matchedBlockCount, matchedRootCount = searchBySQL("SELECT * FROM `blocks` WHERE `id` = '"+query+"'", beforeLen, page, pageSize) return @@ -959,7 +968,7 @@ func fullTextSearchByQuerySyntax(query, boxFilter, pathFilter, typeFilter, order } func fullTextSearchByKeyword(query, boxFilter, pathFilter, typeFilter string, orderBy string, beforeLen, page, pageSize int) (ret []*Block, matchedBlockCount, matchedRootCount int) { - query = gulu.Str.RemoveInvisible(query) + query = filterQueryInvisibleChars(query) if ast.IsNodeIDPattern(query) { ret, matchedBlockCount, matchedRootCount = searchBySQL("SELECT * FROM `blocks` WHERE `id` = '"+query+"'", beforeLen, page, pageSize) return @@ -969,7 +978,7 @@ func fullTextSearchByKeyword(query, boxFilter, pathFilter, typeFilter string, or } func fullTextSearchByRegexp(exp, boxFilter, pathFilter, typeFilter, orderBy string, beforeLen, page, pageSize int) (ret []*Block, matchedBlockCount, matchedRootCount int) { - exp = gulu.Str.RemoveInvisible(exp) + exp = filterQueryInvisibleChars(exp) fieldFilter := fieldRegexp(exp) stmt := "SELECT * FROM `blocks` WHERE " + fieldFilter + " AND type IN " + typeFilter @@ -1069,7 +1078,7 @@ func highlightByQuery(query, typeFilter, id string) (ret []string) { } func fullTextSearchCount(query, boxFilter, pathFilter, typeFilter string) (matchedBlockCount, matchedRootCount int) { - query = gulu.Str.RemoveInvisible(query) + query = filterQueryInvisibleChars(query) if ast.IsNodeIDPattern(query) { ret, _ := sql.QueryNoLimit("SELECT COUNT(id) AS `matches`, COUNT(DISTINCT(root_id)) AS `docs` FROM `blocks` WHERE `id` = '" + query + "'") if 1 > len(ret) { @@ -1267,6 +1276,10 @@ func columnFilter() string { } func stringQuery(query string) string { + if "" == strings.TrimSpace(query) { + return "\"" + query + "\"" + } + query = strings.ReplaceAll(query, "\"", "\"\"") query = strings.ReplaceAll(query, "'", "''") @@ -1487,3 +1500,10 @@ func getRefSearchIgnoreLines() (ret []string) { } return } + +func filterQueryInvisibleChars(query string) string { + query = strings.ReplaceAll(query, " ", "_@full_width_space@_") + query = gulu.Str.RemoveInvisible(query) + query = strings.ReplaceAll(query, "_@full_width_space@_", " ") + return query +} From 88dba92cd06916f73849eadfe0aef246b3667927 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 12:09:42 +0800 Subject: [PATCH 014/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10170 --- app/src/assets/scss/business/_av.scss | 60 ++++++++++++----------- app/src/block/popover.ts | 26 ++++++---- app/src/protyle/render/av/action.ts | 4 +- app/src/protyle/render/av/cell.ts | 28 +++++------ app/src/protyle/render/av/col.ts | 8 ++- app/src/protyle/render/av/render.ts | 11 ++--- app/src/protyle/render/av/row.ts | 4 +- app/src/protyle/util/editorCommonEvent.ts | 8 +-- app/src/protyle/wysiwyg/index.ts | 9 ++-- 9 files changed, 82 insertions(+), 76 deletions(-) diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss index 0eee48966ab..eaea3ef4545 100644 --- a/app/src/assets/scss/business/_av.scss +++ b/app/src/assets/scss/business/_av.scss @@ -116,17 +116,6 @@ &--header { z-index: 3; - - .av__cell { - padding: 0; - transition: background 20ms ease-in 0s; - display: flex; - overflow: inherit; // 保证列宽和顺序调整的拖拽点样式 - - &:hover { - background-color: var(--b3-av-hover); - } - } } &--header, @@ -262,6 +251,37 @@ background-color: var(--b3-menu-background); } + &--header { + padding: 5px; + display: flex; + align-items: center; + transition: background 20ms ease-in 0s; + overflow: inherit; // 保证列宽和顺序调整的拖拽点样式 + + &:hover { + background-color: var(--b3-av-hover); + } + + .av__celltext { + white-space: nowrap; + text-overflow: ellipsis; + } + + .av__cellheadericon { + height: 1em; + width: 1em; + color: var(--b3-theme-on-surface); + margin: 0 5px 0 0; + flex-shrink: 0; + line-height: 1em; + font-size: inherit; + + &--pin { + margin: 0 0 0 5px; + } + } + } + .block__icon { position: absolute; right: 5px; @@ -291,24 +311,6 @@ cursor: ns-resize; } - &__cellheader { - padding: 5px; - display: flex; - align-items: center; - flex: 1; - overflow: hidden; - - .av__cellheadericon { - height: 1em; - width: 1em; - color: var(--b3-theme-on-surface); - margin: 0 5px 0 0; - flex-shrink: 0; - line-height: 1em; - font-size: inherit; - } - } - &__celltext { overflow: hidden; diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts index 75af593cc48..581b325fe4c 100644 --- a/app/src/block/popover.ts +++ b/app/src/block/popover.ts @@ -5,6 +5,7 @@ import {hideTooltip, showTooltip} from "../dialog/tooltip"; import {getIdFromSYProtocol} from "../util/pathName"; import {App} from "../index"; import {Constants} from "../constants"; +import {getCellText} from "../protyle/render/av/cell"; let popoverTargetElement: HTMLElement; export const initBlockPopover = (app: App) => { @@ -17,19 +18,26 @@ export const initBlockPopover = (app: App) => { } const aElement = hasClosestByAttribute(event.target, "data-type", "a", true) || hasClosestByAttribute(event.target, "data-type", "tab-header") || - hasClosestByClassName(event.target, "av__celltext") || + hasClosestByClassName(event.target, "av__cell") || hasClosestByClassName(event.target, "ariaLabel") || hasClosestByAttribute(event.target, "data-type", "inline-memo"); if (aElement) { let tip = aElement.getAttribute("aria-label") || aElement.getAttribute("data-inline-memo-content"); - if (aElement.classList.contains("av__celltext")) { - if (aElement.offsetWidth > aElement.parentElement.clientWidth - (aElement.classList.contains("fn__flex-shrink") ? 24 : 5)) { // 只能减左边 padding,换行时字体会穿透到右侧 padding - if (aElement.querySelector(".av__cellicon")) { - tip = `${aElement.firstChild.textContent} → ${aElement.lastChild.textContent}`; - } else { - tip = aElement.textContent; + if (aElement.classList.contains("av__cell")) { + if (aElement.classList.contains("av__cell--header")) { + const textElement = aElement.querySelector(".av__celltext"); + if (textElement.scrollWidth > textElement.clientWidth + 2) { + tip = getCellText(aElement) } - } else { + } else if (aElement.dataset.wrap !== "true") { + aElement.style.overflow = "auto"; + if (aElement.scrollWidth > aElement.clientWidth + 2) { + tip = getCellText(aElement) + } + aElement.style.overflow = ""; + } + if (!tip) { + hideTooltip(); return; } } @@ -206,7 +214,7 @@ const getTarget = (event: MouseEvent & { target: HTMLElement }, aElement: false } if (!popoverTargetElement && aElement && ( (aElement.getAttribute("data-href")?.startsWith("siyuan://blocks") && aElement.getAttribute("prevent-popover") !== "true") || - (aElement.classList.contains("av__celltext") && aElement.dataset.type === "url"))) { + (aElement.classList.contains("av__cell") && aElement.firstElementChild?.getAttribute("data-type") === "url"))) { popoverTargetElement = aElement; } if (!popoverTargetElement || window.siyuan.altIsPressed || diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index ab8b2fdc6b4..2d79966b256 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -197,8 +197,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle event.preventDefault(); event.stopPropagation(); return true; - } else if (target.classList.contains("av__cellheader")) { - showColMenu(protyle, blockElement, target.parentElement); + } else if (target.classList.contains("av__cell--header")) { + showColMenu(protyle, blockElement, target); event.preventDefault(); event.stopPropagation(); return true; diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 0c5be5c5c38..d62206189f3 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -18,13 +18,16 @@ export const getCellText = (cellElement: HTMLElement | false) => { return ""; } let cellText = ""; - const textElement = cellElement.querySelector(".av__celltext"); - if (textElement) { - if (textElement.querySelector(".av__cellicon")) { - cellText = `${textElement.firstChild.textContent} → ${textElement.lastChild.textContent}`; - } else { - cellText = textElement.textContent; - } + const textElements = cellElement.querySelectorAll(".b3-chip, .av__celltext--ref, .av__celltext"); + if (textElements.length > 0) { + textElements.forEach(item => { + if (item.querySelector(".av__cellicon")) { + cellText += `${item.firstChild.textContent} → ${item.lastChild.textContent}, `; + } else if (item.getAttribute("data-type") !== "block-more") { + cellText += item.textContent + ", "; + } + }) + cellText = cellText.substring(0, cellText.length - 2); } else { cellText = cellElement.textContent; } @@ -531,7 +534,7 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => { ${window.siyuan.languages.update}`; } } else if (cellValue.type === "number") { - text = `${cellValue?.number.formattedContent || cellValue?.number.content || ""}`; + text = `${cellValue?.number.formattedContent || cellValue?.number.content || ""}`; } else if (cellValue.type === "mSelect" || cellValue.type === "select") { cellValue?.mSelect?.forEach((item) => { text += `${item.content}`; @@ -636,14 +639,11 @@ export const updateHeaderCell = (cellElement: HTMLElement, headerValue: { if (typeof headerValue.pin !== "undefined") { const textElement = cellElement.querySelector(".av__celltext"); if (headerValue.pin) { - if (!textElement.nextElementSibling) { - textElement.insertAdjacentHTML("afterend", '
'); + if (!cellElement.querySelector(".av__cellheadericon--pin")) { + textElement.insertAdjacentHTML("afterend", ''); } } else { - if (textElement.nextElementSibling) { - textElement.nextElementSibling.nextElementSibling.remove(); - textElement.nextElementSibling.remove(); - } + cellElement.querySelector(".av__cellheadericon--pin")?.remove() } } }; diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index 432d329dd31..f5fb09df2b6 100644 --- a/app/src/protyle/render/av/col.ts +++ b/app/src/protyle/render/av/col.ts @@ -439,11 +439,9 @@ const addAttrViewColAnimation = (options: { } let html = ""; if (index === 0) { - html = `
-
- ${options.icon ? unicode2Emoji(options.icon, "av__cellheadericon", true) : ``} - ${options.name} -
+ html = `
+ ${options.icon ? unicode2Emoji(options.icon, "av__cellheadericon", true) : ``} + ${options.name}
`; } else { diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts index 4a8cbfc9807..6f6a3cd5ea6 100644 --- a/app/src/protyle/render/av/render.ts +++ b/app/src/protyle/render/av/render.ts @@ -93,14 +93,12 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v if (column.hidden) { return; } - tableHTML += `
-
- ${column.icon ? unicode2Emoji(column.icon, "av__cellheadericon", true) : ``} - ${column.name} - ${column.pin ? '
' : ""} -
+ ${column.icon ? unicode2Emoji(column.icon, "av__cellheadericon", true) : ``} + ${column.name} + ${column.pin ? '' : ""}
`; if (pinIndex === index) { @@ -135,6 +133,7 @@ style="width: ${column.width || "200px"}">${getCalcValue(column) || '${renderCell(cell.value, data.columns[index].wrap)}
`; diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts index 24d69246bcd..f3d3a786fc7 100644 --- a/app/src/protyle/render/av/row.ts +++ b/app/src/protyle/render/av/row.ts @@ -87,7 +87,9 @@ export const insertAttrViewBlockAnimation = (protyle: IProtyle, blockElement: El colHTML = '
'; } previousElement.querySelectorAll(".av__cell").forEach((item: HTMLElement, index) => { - colHTML += `
`; + colHTML += `
`; if (pinIndex === index) { colHTML += "
"; } diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index f0487f38aea..49f3f7da322 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -721,10 +721,10 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => { event.dataTransfer.setData(`${Constants.SIYUAN_DROP_GUTTER}NodeListItem${Constants.ZWSP}${target.parentElement.getAttribute("data-subtype")}${Constants.ZWSP}${[target.parentElement.getAttribute("data-node-id")]}`, protyle.wysiwyg.element.innerHTML); return; - } else if (target.classList.contains("av__cellheader")) { - window.siyuan.dragElement = target.parentElement; - event.dataTransfer.setData(`${Constants.SIYUAN_DROP_GUTTER}NodeAttributeView${Constants.ZWSP}Col${Constants.ZWSP}${[target.parentElement.getAttribute("data-col-id")]}`, - target.innerHTML); + } else if (target.classList.contains("av__cell--header")) { + window.siyuan.dragElement = target; + event.dataTransfer.setData(`${Constants.SIYUAN_DROP_GUTTER}NodeAttributeView${Constants.ZWSP}Col${Constants.ZWSP}${[target.getAttribute("data-col-id")]}`, + target.outerHTML); return; } } diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 33add30796c..5a564bf12fa 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -381,7 +381,7 @@ export class WYSIWYG { } const target = event.target as HTMLElement; if (hasClosestByClassName(target, "protyle-action") || - hasClosestByClassName(target, "av__cellheader")) { + (hasClosestByClassName(target, "av__cell--header") && !hasClosestByClassName(target, "av__widthdrag"))) { return; } const documentSelf = document; @@ -435,7 +435,6 @@ export class WYSIWYG { }]); }; this.preventClick = true; - event.stopPropagation(); event.preventDefault(); return; } @@ -493,8 +492,6 @@ export class WYSIWYG { } return false; }; - event.stopPropagation(); - event.preventDefault(); return false; } // 图片、iframe、video 缩放 @@ -1449,9 +1446,9 @@ export class WYSIWYG { if (!nodeElement) { return false; } - const avCellHeaderElement = hasClosestByClassName(target, "av__cellheader"); + const avCellHeaderElement = hasClosestByClassName(target, "av__cell--header"); if (avCellHeaderElement) { - showColMenu(protyle, nodeElement, avCellHeaderElement.parentElement); + showColMenu(protyle, nodeElement, avCellHeaderElement); event.stopPropagation(); event.preventDefault(); return; From ca7bb898dd3004b4cc612ee3f263bd69815cec8c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 15:31:54 +0800 Subject: [PATCH 015/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10170 --- app/src/block/popover.ts | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts index 581b325fe4c..91673d9793a 100644 --- a/app/src/block/popover.ts +++ b/app/src/block/popover.ts @@ -17,10 +17,10 @@ export const initBlockPopover = (app: App) => { return; } const aElement = hasClosestByAttribute(event.target, "data-type", "a", true) || - hasClosestByAttribute(event.target, "data-type", "tab-header") || - hasClosestByClassName(event.target, "av__cell") || hasClosestByClassName(event.target, "ariaLabel") || - hasClosestByAttribute(event.target, "data-type", "inline-memo"); + hasClosestByAttribute(event.target, "data-type", "tab-header") || + hasClosestByAttribute(event.target, "data-type", "inline-memo") || + hasClosestByClassName(event.target, "av__cell"); if (aElement) { let tip = aElement.getAttribute("aria-label") || aElement.getAttribute("data-inline-memo-content"); if (aElement.classList.contains("av__cell")) { @@ -29,17 +29,13 @@ export const initBlockPopover = (app: App) => { if (textElement.scrollWidth > textElement.clientWidth + 2) { tip = getCellText(aElement) } - } else if (aElement.dataset.wrap !== "true") { + } else if (aElement.dataset.wrap !== "true" && event.target.dataset.type !== "block-more" && !hasClosestByClassName(event.target, "block__icon")) { aElement.style.overflow = "auto"; if (aElement.scrollWidth > aElement.clientWidth + 2) { tip = getCellText(aElement) } aElement.style.overflow = ""; } - if (!tip) { - hideTooltip(); - return; - } } if (!tip) { tip = aElement.getAttribute("data-href")?.substring(0, Constants.SIZE_TITLE) || ""; @@ -48,10 +44,11 @@ export const initBlockPopover = (app: App) => { tip += "
" + title; } } - if (tip && !tip.startsWith("siyuan://blocks") && !aElement.classList.contains("b3-tooltips")) { + if (tip && !aElement.classList.contains("b3-tooltips")) { showTooltip(tip, aElement); event.stopPropagation(); - return; + } else { + hideTooltip(); } } else if (!aElement) { const tipElement = hasClosestByAttribute(event.target, "id", "tooltip", true); @@ -212,10 +209,15 @@ const getTarget = (event: MouseEvent & { target: HTMLElement }, aElement: false if (!popoverTargetElement) { popoverTargetElement = hasClosestByClassName(event.target, "popover__block") as HTMLElement; } - if (!popoverTargetElement && aElement && ( - (aElement.getAttribute("data-href")?.startsWith("siyuan://blocks") && aElement.getAttribute("prevent-popover") !== "true") || - (aElement.classList.contains("av__cell") && aElement.firstElementChild?.getAttribute("data-type") === "url"))) { - popoverTargetElement = aElement; + if (!popoverTargetElement && aElement) { + if (aElement.getAttribute("data-href")?.startsWith("siyuan://blocks") && aElement.getAttribute("prevent-popover") !== "true") { + popoverTargetElement = aElement; + } else if (aElement.classList.contains("av__cell")) { + const textElement = aElement.querySelector(".av__celltext--url") as HTMLElement + if (textElement && textElement.dataset.type === "url" && textElement.dataset.href?.startsWith("siyuan://blocks")) { + popoverTargetElement = textElement; + } + } } if (!popoverTargetElement || window.siyuan.altIsPressed || (window.siyuan.config.editor.floatWindowMode === 0 && window.siyuan.ctrlIsPressed) || From b399b5e87757caeae0c228cfbd45182f47b4a906 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 15:57:18 +0800 Subject: [PATCH 016/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10171 --- app/src/protyle/export/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 3cacab10217..bc70e04b312 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -163,7 +163,7 @@ const renderPDF = (id: string) => { ${getSnippetCSS()} - +
From eb18429d6e4323715f14ffdfccbe6ceffd698d5b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 16:38:45 +0800 Subject: [PATCH 017/109] :rotating_light: --- app/src/block/popover.ts | 10 +++++----- app/src/boot/onGetConfig.ts | 1 - app/src/config/util/about.ts | 6 +++--- app/src/protyle/breadcrumb/action.ts | 2 +- app/src/protyle/breadcrumb/index.ts | 2 +- app/src/protyle/render/av/cell.ts | 6 +++--- app/src/protyle/util/onGet.ts | 2 +- app/src/protyle/wysiwyg/index.ts | 10 +++++----- app/src/protyle/wysiwyg/keydown.ts | 2 +- 9 files changed, 20 insertions(+), 21 deletions(-) diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts index 91673d9793a..6fc5fd46f70 100644 --- a/app/src/block/popover.ts +++ b/app/src/block/popover.ts @@ -27,12 +27,12 @@ export const initBlockPopover = (app: App) => { if (aElement.classList.contains("av__cell--header")) { const textElement = aElement.querySelector(".av__celltext"); if (textElement.scrollWidth > textElement.clientWidth + 2) { - tip = getCellText(aElement) + tip = getCellText(aElement); } } else if (aElement.dataset.wrap !== "true" && event.target.dataset.type !== "block-more" && !hasClosestByClassName(event.target, "block__icon")) { aElement.style.overflow = "auto"; if (aElement.scrollWidth > aElement.clientWidth + 2) { - tip = getCellText(aElement) + tip = getCellText(aElement); } aElement.style.overflow = ""; } @@ -115,7 +115,7 @@ const hidePopover = (event: MouseEvent & { path: HTMLElement[] }) => { return false; } - const avPanelElement = hasClosestByClassName(target, "av__panel") + const avPanelElement = hasClosestByClassName(target, "av__panel"); if (avPanelElement) { // 浮窗上点击 av 操作,浮窗不能消失 const blockPanel = window.siyuan.blockPanels.find((item) => { @@ -128,7 +128,7 @@ const hidePopover = (event: MouseEvent & { path: HTMLElement[] }) => { } } else { // 浮窗上点击菜单,浮窗不能消失 https://ld246.com/article/1632668091023 - const menuElement = hasClosestByClassName(target, "b3-menu") + const menuElement = hasClosestByClassName(target, "b3-menu"); if (menuElement) { const blockPanel = window.siyuan.blockPanels.find((item) => { if (item.element.style.zIndex < menuElement.style.zIndex) { @@ -213,7 +213,7 @@ const getTarget = (event: MouseEvent & { target: HTMLElement }, aElement: false if (aElement.getAttribute("data-href")?.startsWith("siyuan://blocks") && aElement.getAttribute("prevent-popover") !== "true") { popoverTargetElement = aElement; } else if (aElement.classList.contains("av__cell")) { - const textElement = aElement.querySelector(".av__celltext--url") as HTMLElement + const textElement = aElement.querySelector(".av__celltext--url") as HTMLElement; if (textElement && textElement.dataset.type === "url" && textElement.dataset.href?.startsWith("siyuan://blocks")) { popoverTargetElement = textElement; } diff --git a/app/src/boot/onGetConfig.ts b/app/src/boot/onGetConfig.ts index 36be70ac09d..734da944eae 100644 --- a/app/src/boot/onGetConfig.ts +++ b/app/src/boot/onGetConfig.ts @@ -14,7 +14,6 @@ import {fetchPost, fetchSyncPost} from "../util/fetch"; import {addGA, initAssets, setInlineStyle} from "../util/assets"; import {renderSnippet} from "../config/util/snippets"; import {openFile, openFileById} from "../editor/util"; -import {focusByRange} from "../protyle/util/selection"; import {exitSiYuan} from "../dialog/processSystem"; import {isWindow} from "../util/functions"; import {initStatus} from "../layout/status"; diff --git a/app/src/config/util/about.ts b/app/src/config/util/about.ts index 09f22645dc0..d8b54ea6dc5 100644 --- a/app/src/config/util/about.ts +++ b/app/src/config/util/about.ts @@ -37,6 +37,6 @@ export const getCloudURL = (key: string) => { }; export const getIndexURL = (key: string) => { - const lang = 'zh_CN' === window.siyuan.config.lang ? "" : "/en"; - return 'https://b3log.org/siyuan' + `${lang}/${key}`; -} + const lang = "zh_CN" === window.siyuan.config.lang ? "" : "/en"; + return "https://b3log.org/siyuan" + `${lang}/${key}`; +}; diff --git a/app/src/protyle/breadcrumb/action.ts b/app/src/protyle/breadcrumb/action.ts index 7e77e06fe27..68d8e6ef46f 100644 --- a/app/src/protyle/breadcrumb/action.ts +++ b/app/src/protyle/breadcrumb/action.ts @@ -101,4 +101,4 @@ export const updateReadonly = (target: Element, protyle: IProtyle) => { }); } } -} +}; diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts index 78ea8923a16..0a1ce869372 100644 --- a/app/src/protyle/breadcrumb/index.ts +++ b/app/src/protyle/breadcrumb/index.ts @@ -20,7 +20,7 @@ import {saveLayout, setPanelFocus} from "../../layout/util"; /// #if !BROWSER import {ipcRenderer} from "electron"; /// #endif -import {disabledProtyle, enableProtyle, onGet} from "../util/onGet"; +import {onGet} from "../util/onGet"; import {hideElements} from "../ui/hideElements"; import {confirmDialog} from "../../dialog/confirmDialog"; import {reloadProtyle} from "../util/reload"; diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index d62206189f3..c39ca85a236 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -26,7 +26,7 @@ export const getCellText = (cellElement: HTMLElement | false) => { } else if (item.getAttribute("data-type") !== "block-more") { cellText += item.textContent + ", "; } - }) + }); cellText = cellText.substring(0, cellText.length - 2); } else { cellText = cellElement.textContent; @@ -643,7 +643,7 @@ export const updateHeaderCell = (cellElement: HTMLElement, headerValue: { textElement.insertAdjacentHTML("afterend", ''); } } else { - cellElement.querySelector(".av__cellheadericon--pin")?.remove() + cellElement.querySelector(".av__cellheadericon--pin")?.remove(); } } }; @@ -664,4 +664,4 @@ export const getPositionByCellElement = (cellElement: HTMLElement) => { celIndex++; } return {rowIndex, celIndex}; -} +}; diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts index 5bb2551f07f..082ffd91b99 100644 --- a/app/src/protyle/util/onGet.ts +++ b/app/src/protyle/util/onGet.ts @@ -124,7 +124,7 @@ const setHTML = (options: { } protyle.block.showAll = options.action.includes(Constants.CB_GET_ALL); const REMOVED_OVER_HEIGHT = protyle.contentElement.clientHeight * 8; - const isUpdate = protyle.wysiwyg.element.innerHTML !== "" + const isUpdate = protyle.wysiwyg.element.innerHTML !== ""; if (options.action.includes(Constants.CB_GET_APPEND)) { // 动态加载移除 if (!protyle.wysiwyg.element.querySelector(".protyle-wysiwyg--select") && !protyle.scroll.keepLazyLoad && protyle.contentElement.scrollHeight > REMOVED_OVER_HEIGHT) { diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 5a564bf12fa..8805fd083fa 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -447,10 +447,10 @@ export class WYSIWYG { } nodeElement.querySelectorAll(".av__cell--select").forEach(item => { item.classList.remove("av__cell--select"); - }) + }); nodeElement.querySelectorAll(".av__drag-fill").forEach(item => { item.remove(); - }) + }); avCellElement.classList.add("av__cell--select"); const originIndex = getPositionByCellElement(avCellElement); let moveCellElement: HTMLElement; @@ -465,7 +465,7 @@ export class WYSIWYG { const newIndex = getPositionByCellElement(moveCellElement); nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement) => { item.classList.remove("av__cell--active"); - }) + }); nodeElement.querySelectorAll(".av__row").forEach((rowElement: HTMLElement, index: number) => { if (index >= Math.min(originIndex.rowIndex, newIndex.rowIndex) && index <= Math.max(originIndex.rowIndex, newIndex.rowIndex)) { rowElement.querySelectorAll(".av__cell").forEach((cellElement: HTMLElement, cellIndex: number) => { @@ -475,7 +475,7 @@ export class WYSIWYG { } }); } - }) + }); } }; @@ -487,7 +487,7 @@ export class WYSIWYG { documentSelf.onselect = null; if (lastCellElement) { focusBlock(nodeElement); - lastCellElement.insertAdjacentHTML("beforeend", `
`) + lastCellElement.insertAdjacentHTML("beforeend", `
`); this.preventClick = true; } return false; diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index 66992d6ff73..b3ab2c81567 100644 --- a/app/src/protyle/wysiwyg/keydown.ts +++ b/app/src/protyle/wysiwyg/keydown.ts @@ -37,7 +37,7 @@ import {fontEvent} from "../toolbar/Font"; import {listIndent, listOutdent} from "./list"; import {newFileContentBySelect, rename, replaceFileName} from "../../editor/rename"; import {insertEmptyBlock, jumpToParentNext} from "../../block/util"; -import {isLocalPath, pathPosix} from "../../util/pathName"; +import {isLocalPath} from "../../util/pathName"; /// #if !MOBILE import {openBy, openFileById} from "../../editor/util"; /// #endif From 1544786bb644d9edaf8fc158b409ac2105347e2a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 18:02:14 +0800 Subject: [PATCH 018/109] :art: https://github.com/siyuan-note/siyuan/issues/9867 --- app/src/assets/scss/business/_av.scss | 10 ++-- app/src/protyle/render/av/cell.ts | 3 + app/src/protyle/render/av/keydown.ts | 4 ++ app/src/protyle/render/av/row.ts | 2 +- app/src/protyle/wysiwyg/index.ts | 85 ++++++++++++++++++++++++++- 5 files changed, 96 insertions(+), 8 deletions(-) diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss index eaea3ef4545..99a3abd5def 100644 --- a/app/src/assets/scss/business/_av.scss +++ b/app/src/assets/scss/business/_av.scss @@ -106,7 +106,7 @@ &--hl { &:not(.av__row--header) .av__cell, &:not(.av__row--header) .av__firstcol { - background-color: var(--b3-av-background-hl); + background-color: var(--b3-av-background-hl) !important; } .av__firstcol svg { @@ -242,7 +242,7 @@ } &--select { - background-color: var(--b3-theme-primary-lightest); + background-color: var(--b3-menu-background); box-shadow: 2px 2px 0 var(--b3-theme-primary-lighter) inset, -2px -2px 0px var(--b3-theme-primary-lighter) inset; border-radius: var(--b3-border-radius); } @@ -358,7 +358,7 @@ display: flex; &.av__firstcol, - & > div { + & > div:not(.av__cell--select):not(.av__cell--active) { background-color: var(--av-background); } } @@ -450,8 +450,10 @@ .av__row--select .av__cell, .av__colsticky.av__firstcol, .av__colsticky > div, + .av__cell--select, + .av__cell--active, .av__counter { - background-color: var(--b3-av-background-hl); + background-color: var(--b3-av-background-hl) !important; } } diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index c39ca85a236..54348707ec6 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -661,6 +661,9 @@ export const getPositionByCellElement = (cellElement: HTMLElement) => { let celIndex = -2; while (cellElement) { cellElement = cellElement.previousElementSibling as HTMLElement; + if (cellElement && cellElement.classList.contains("av__colsticky")) { + cellElement = cellElement.lastElementChild as HTMLElement; + } celIndex++; } return {rowIndex, celIndex}; diff --git a/app/src/protyle/render/av/keydown.ts b/app/src/protyle/render/av/keydown.ts index 36210041567..debd607ac16 100644 --- a/app/src/protyle/render/av/keydown.ts +++ b/app/src/protyle/render/av/keydown.ts @@ -23,6 +23,10 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl if (!rowElement) { return false; } + nodeElement.querySelectorAll(".av__cell--active").forEach(item => { + item.classList.remove("av__cell--active"); + item.querySelector(".av__drag-fill")?.remove(); + }) if (event.key === "Escape") { selectCellElement.classList.remove("av__cell--select"); selectRow(rowElement.querySelector(".av__firstcol"), "select"); diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts index f3d3a786fc7..89ca8f154df 100644 --- a/app/src/protyle/render/av/row.ts +++ b/app/src/protyle/render/av/row.ts @@ -12,7 +12,7 @@ export const selectRow = (checkElement: Element, type: "toggle" | "select" | "un } const useElement = checkElement.querySelector("use"); if (rowElement.classList.contains("av__row--header") || type === "unselectAll") { - if ("#iconCheck" === useElement.getAttribute("xlink:href")) { + if ("#iconCheck" === useElement.getAttribute("xlink:href") || type === "unselectAll") { rowElement.parentElement.querySelectorAll(".av__firstcol").forEach(item => { item.querySelector("use").setAttribute("xlink:href", "#iconUncheck"); const rowItemElement = hasClosestByClassName(item, "av__row"); diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 8805fd083fa..96d0a2866a3 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -76,12 +76,18 @@ import {removeSearchMark} from "../toolbar/util"; import {activeBlur, hideKeyboardToolbar} from "../../mobile/util/keyboardToolbar"; import {commonClick} from "./commonClick"; import {avClick, avContextmenu, updateAVName} from "../render/av/action"; -import {stickyRow, updateHeader} from "../render/av/row"; +import {selectRow, stickyRow, updateHeader} from "../render/av/row"; import {showColMenu} from "../render/av/col"; import {openViewMenu} from "../render/av/view"; import {avRender} from "../render/av/render"; import {checkFold} from "../../util/noRelyPCFunction"; -import {getCellText, getPositionByCellElement, updateCellsValue} from "../render/av/cell"; +import { + genCellValueByElement, + getCellText, + getPositionByCellElement, + getTypeByCellElement, + updateCellsValue +} from "../render/av/cell"; export class WYSIWYG { public lastHTMLs: { [key: string]: string } = {}; @@ -438,6 +444,78 @@ export class WYSIWYG { event.preventDefault(); return; } + // av drag fill + const avDragFillElement = hasClosestByClassName(target, "av__drag-fill"); + if (!protyle.disabled && avDragFillElement) { + const nodeElement = hasClosestBlock(avDragFillElement); + if (!nodeElement) { + return; + } + const originData: { [key: string]: IAVCellValue[] } = {} + let lastOriginCellElement + const lastOriginCellId: string[] = [] + nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement, index: number) => { + const rowElement = hasClosestByClassName(item, "av__row"); + if (rowElement) { + if (!originData[rowElement.dataset.id]) { + originData[rowElement.dataset.id] = []; + } + originData[rowElement.dataset.id].push(genCellValueByElement(getTypeByCellElement(item), item)); + lastOriginCellElement = item + lastOriginCellId.push(item.dataset.id) + } + }); + const dragFillCellIndex = getPositionByCellElement(lastOriginCellElement); + const firstCellIndex = getPositionByCellElement(nodeElement.querySelector(".av__cell--active")); + let moveCellElement: HTMLElement; + let lastCellElement: HTMLElement; + documentSelf.onmousemove = (moveEvent: MouseEvent) => { + const tempCellElement = hasClosestByClassName(moveEvent.target as HTMLElement, "av__cell") as HTMLElement; + if (moveCellElement && tempCellElement && tempCellElement.isSameNode(moveCellElement)) { + return; + } + moveCellElement = tempCellElement; + if (moveCellElement && moveCellElement.dataset.id) { + const newIndex = getPositionByCellElement(moveCellElement); + nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement) => { + if (!lastOriginCellId.includes(item.dataset.id)) { + item.classList.remove("av__cell--active"); + } + }); + if (newIndex.celIndex !== dragFillCellIndex.celIndex || dragFillCellIndex.rowIndex >= newIndex.rowIndex) { + lastCellElement = undefined + return; + } + nodeElement.querySelectorAll(".av__row").forEach((rowElement: HTMLElement, index: number) => { + if (index >= dragFillCellIndex.rowIndex && index <= newIndex.rowIndex) { + rowElement.querySelectorAll(".av__cell").forEach((cellElement: HTMLElement, cellIndex: number) => { + if (cellIndex >= firstCellIndex.celIndex && cellIndex <= newIndex.celIndex) { + cellElement.classList.add("av__cell--active"); + lastCellElement = cellElement; + } + }); + } + }); + } + }; + + documentSelf.onmouseup = () => { + documentSelf.onmousemove = null; + documentSelf.onmouseup = null; + documentSelf.ondragstart = null; + documentSelf.onselectstart = null; + documentSelf.onselect = null; + if (lastCellElement) { + nodeElement.querySelector(".av__drag-fill")?.remove(); + selectRow(nodeElement.querySelector(".av__firstcol"), "unselectAll"); + focusBlock(nodeElement); + lastCellElement.insertAdjacentHTML("beforeend", `
`); + this.preventClick = true; + } + return false; + }; + return false; + } // av cell select const avCellElement = hasClosestByClassName(target, "av__cell"); if (!protyle.disabled && avCellElement && avCellElement.dataset.id) { @@ -461,7 +539,7 @@ export class WYSIWYG { return; } moveCellElement = tempCellElement; - if (moveCellElement && moveCellElement.dataset.id && !avCellElement.isSameNode(moveCellElement)) { + if (moveCellElement && moveCellElement.dataset.id) { const newIndex = getPositionByCellElement(moveCellElement); nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement) => { item.classList.remove("av__cell--active"); @@ -486,6 +564,7 @@ export class WYSIWYG { documentSelf.onselectstart = null; documentSelf.onselect = null; if (lastCellElement) { + selectRow(nodeElement.querySelector(".av__firstcol"), "unselectAll"); focusBlock(nodeElement); lastCellElement.insertAdjacentHTML("beforeend", `
`); this.preventClick = true; From 52498a5287b9bb49476f7ac14dd273df7dca872b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 22:06:03 +0800 Subject: [PATCH 019/109] :art: https://github.com/siyuan-note/siyuan/issues/9867 --- app/src/mobile/util/MobileBackFoward.ts | 2 +- app/src/protyle/index.ts | 2 +- app/src/protyle/render/av/action.ts | 2 +- app/src/protyle/render/av/cell.ts | 67 +++++++++++++++++++++++-- app/src/protyle/render/av/render.ts | 2 +- app/src/protyle/render/av/row.ts | 4 +- app/src/protyle/wysiwyg/index.ts | 13 +++-- 7 files changed, 76 insertions(+), 16 deletions(-) diff --git a/app/src/mobile/util/MobileBackFoward.ts b/app/src/mobile/util/MobileBackFoward.ts index 3b3bcad986c..4bb1e5d3921 100644 --- a/app/src/mobile/util/MobileBackFoward.ts +++ b/app/src/mobile/util/MobileBackFoward.ts @@ -92,7 +92,7 @@ const focusStack = (backStack: IBackStack) => { if (getResponse.data.isSyncing) { disabledForeverProtyle(protyle); } else { - setReadonlyByConfig(protyle); + setReadonlyByConfig(protyle, true); } protyle.contentElement.scrollTop = backStack.scrollTop; }); diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index 014172ad7d9..e9224ba497e 100644 --- a/app/src/protyle/index.ts +++ b/app/src/protyle/index.ts @@ -139,7 +139,7 @@ export class Protyle { break; case "readonly": window.siyuan.config.editor.readOnly = data.data; - setReadonlyByConfig(this.protyle); + setReadonlyByConfig(this.protyle, true); break; case "heading2doc": case "li2doc": diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 2d79966b256..3c844a327d9 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -399,7 +399,7 @@ export const updateAttrViewCellAnimation = (cellElement: HTMLElement, value: IAV if (headerValue) { updateHeaderCell(cellElement, headerValue); } else { - cellElement.innerHTML = renderCell(value, cellElement.dataset.wrap === "true"); + cellElement.innerHTML = renderCell(value); } }; diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 54348707ec6..00b531928f2 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -46,9 +46,13 @@ export const genCellValueByElement = (colType: TAVCol, cellElement: HTMLElement) isNotEmpty: !!value }; } else if (["text", "block", "url", "phone", "email", "template"].includes(colType)) { + const textElement = cellElement.querySelector(".av__celltext") as HTMLElement; cellValue[colType as "text"] = { - content: cellElement.querySelector(".av__celltext").textContent + content: textElement.textContent }; + if (colType === "block" && textElement.dataset.id) { + cellValue.block.id = textElement.dataset.id; + } } else if (colType === "mSelect" || colType === "select") { const mSelect: IAVCellSelectValue[] = []; cellElement.querySelectorAll(".b3-chip").forEach((item: HTMLElement) => { @@ -513,7 +517,7 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va return text; }; -export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => { +export const renderCell = (cellValue: IAVCellValue) => { let text = ""; if (["text", "template"].includes(cellValue.type)) { text = `${cellValue ? (cellValue[cellValue.type as "text"].content || "") : ""}`; @@ -568,7 +572,7 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => { text += ``; } else if (cellValue.type === "rollup") { cellValue?.rollup?.contents?.forEach((item) => { - const rollupText = ["select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? renderCell(item, wrap) : renderRollup(item); + const rollupText = ["select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? renderCell(item) : renderRollup(item); if (rollupText) { text += rollupText + ", "; } @@ -668,3 +672,60 @@ export const getPositionByCellElement = (cellElement: HTMLElement) => { } return {rowIndex, celIndex}; }; + +export const dragFillCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, originData: { + [key: string]: IAVCellValue[] +}, originCellIds: string[]) => { + nodeElement.querySelector(".av__drag-fill")?.remove(); + const newData: { [key: string]: Array } = {}; + nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement) => { + if (originCellIds.includes(item.dataset.id)) { + return; + } + const rowElement = hasClosestByClassName(item, "av__row"); + if (!rowElement) { + return; + } + if (!newData[rowElement.dataset.id]) { + newData[rowElement.dataset.id] = []; + } + const value: IAVCellValue & { + colId?: string, + element?: HTMLElement + } = genCellValueByElement(getTypeByCellElement(item), item) + value.colId = item.dataset.colId; + value.element = item; + newData[rowElement.dataset.id].push(value); + }) + const doOperations: IOperation[] = []; + const undoOperations: IOperation[] = []; + const avID = nodeElement.dataset.avId + const originKeys = Object.keys(originData); + Object.keys(newData).forEach((rowID, index) => { + newData[rowID].forEach((item, cellIndex) => { + if (["rollup", "template", "created", "updated"].includes(item.type)) { + return; + } + const data = originData[originKeys[index % originKeys.length]][cellIndex] + doOperations.push({ + action: "updateAttrViewCell", + id: item.id, + avID, + keyID: item.colId, + rowID, + data + }); + undoOperations.push({ + action: "updateAttrViewCell", + id: item.id, + avID, + keyID: item.colId, + rowID, + data: item + }); + item.element.innerHTML = renderCell(data); + }) + }); + focusBlock(nodeElement); + transaction(protyle, doOperations, undoOperations); +} diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts index 6f6a3cd5ea6..2c79830ee14 100644 --- a/app/src/protyle/render/av/render.ts +++ b/app/src/protyle/render/av/render.ts @@ -135,7 +135,7 @@ ${cell.value?.isDetached ? ' data-detached="true"' : ""} style="width: ${data.columns[index].width || "200px"}; ${cell.valueType === "number" ? "text-align: right;" : ""} ${cell.bgColor ? `background-color:${cell.bgColor};` : ""} -${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value, data.columns[index].wrap)}
`; +${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value)}
`; if (pinIndex === index) { tableHTML += "
"; diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts index 89ca8f154df..3aa126f5cf5 100644 --- a/app/src/protyle/render/av/row.ts +++ b/app/src/protyle/render/av/row.ts @@ -109,12 +109,12 @@ ${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' dat response.data.filters.forEach((item: IAVFilter) => { const sideRowCellElement = sideRow.querySelector(`.av__cell[data-col-id="${item.column}"]`) as HTMLElement; currentRow.querySelector(`.av__cell[data-col-id="${item.column}"]`).innerHTML = - renderCell(genCellValueByElement(getTypeByCellElement(sideRowCellElement), sideRowCellElement), sideRowCellElement.dataset.wrap === "true"); + renderCell(genCellValueByElement(getTypeByCellElement(sideRowCellElement), sideRowCellElement)); }); response.data.sorts.forEach((item: IAVSort) => { const sideRowCellElement = sideRow.querySelector(`.av__cell[data-col-id="${item.column}"]`) as HTMLElement; currentRow.querySelector(`.av__cell[data-col-id="${item.column}"]`).innerHTML = - renderCell(genCellValueByElement(getTypeByCellElement(sideRowCellElement), sideRowCellElement), sideRowCellElement.dataset.wrap === "true"); + renderCell(genCellValueByElement(getTypeByCellElement(sideRowCellElement), sideRowCellElement)); }); popTextCell(protyle, [currentRow.querySelector('.av__cell[data-detached="true"]')], "block"); }); diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 96d0a2866a3..8cf74d8b66c 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -82,6 +82,7 @@ import {openViewMenu} from "../render/av/view"; import {avRender} from "../render/av/render"; import {checkFold} from "../../util/noRelyPCFunction"; import { + dragFillCellsValue, genCellValueByElement, getCellText, getPositionByCellElement, @@ -453,7 +454,7 @@ export class WYSIWYG { } const originData: { [key: string]: IAVCellValue[] } = {} let lastOriginCellElement - const lastOriginCellId: string[] = [] + const originCellIds: string[] = [] nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement, index: number) => { const rowElement = hasClosestByClassName(item, "av__row"); if (rowElement) { @@ -462,7 +463,7 @@ export class WYSIWYG { } originData[rowElement.dataset.id].push(genCellValueByElement(getTypeByCellElement(item), item)); lastOriginCellElement = item - lastOriginCellId.push(item.dataset.id) + originCellIds.push(item.dataset.id) } }); const dragFillCellIndex = getPositionByCellElement(lastOriginCellElement); @@ -478,7 +479,7 @@ export class WYSIWYG { if (moveCellElement && moveCellElement.dataset.id) { const newIndex = getPositionByCellElement(moveCellElement); nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement) => { - if (!lastOriginCellId.includes(item.dataset.id)) { + if (!originCellIds.includes(item.dataset.id)) { item.classList.remove("av__cell--active"); } }); @@ -506,14 +507,12 @@ export class WYSIWYG { documentSelf.onselectstart = null; documentSelf.onselect = null; if (lastCellElement) { - nodeElement.querySelector(".av__drag-fill")?.remove(); - selectRow(nodeElement.querySelector(".av__firstcol"), "unselectAll"); - focusBlock(nodeElement); + dragFillCellsValue(protyle, nodeElement, originData, originCellIds); lastCellElement.insertAdjacentHTML("beforeend", `
`); - this.preventClick = true; } return false; }; + this.preventClick = true; return false; } // av cell select From a46e9833c5083ffef294939166198e89abc4b9b1 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 22:34:24 +0800 Subject: [PATCH 020/109] :art: https://github.com/siyuan-note/siyuan/issues/9867 --- app/src/protyle/render/av/cell.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 00b531928f2..5bf34b8213e 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -707,23 +707,31 @@ export const dragFillCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, return; } const data = originData[originKeys[index % originKeys.length]][cellIndex] + data.id = item.id; + const keyID = item.colId + if (data.type === "block") { + data.isDetached = true; + delete data.block.id; + } doOperations.push({ action: "updateAttrViewCell", id: item.id, avID, - keyID: item.colId, + keyID, rowID, data }); + item.element.innerHTML = renderCell(data); + delete item.colId; + delete item.element; undoOperations.push({ action: "updateAttrViewCell", id: item.id, avID, - keyID: item.colId, + keyID, rowID, data: item }); - item.element.innerHTML = renderCell(data); }) }); focusBlock(nodeElement); From f40529c3626b4d74daebd50c6eb366092869196f Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 14 Jan 2024 22:42:11 +0800 Subject: [PATCH 021/109] :art: https://github.com/siyuan-note/siyuan/issues/9867 --- app/src/protyle/render/av/cell.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index 5bf34b8213e..cfe008db1d0 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -735,5 +735,7 @@ export const dragFillCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, }) }); focusBlock(nodeElement); - transaction(protyle, doOperations, undoOperations); + if (doOperations.length > 0) { + transaction(protyle, doOperations, undoOperations); + } } From 94d013d05b7d742e76273aa14493899a4b26b1c2 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 14 Jan 2024 12:23:29 +0800 Subject: [PATCH 022/109] :arrow_up: Upgrade kernel deps --- kernel/go.mod | 12 ++++++------ kernel/go.sum | 12 ++++++++++++ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/kernel/go.mod b/kernel/go.mod index 3f4edfedfae..9aee2ac9b4c 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -51,7 +51,7 @@ require ( github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 github.com/sashabaranov/go-openai v1.17.11 github.com/shirou/gopsutil/v3 v3.23.12 - github.com/siyuan-note/dejavu v0.0.0-20240111141110-01248e7cc4f0 + github.com/siyuan-note/dejavu v0.0.0-20240114035445-cb46035821cb github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 github.com/siyuan-note/eventbus v0.0.0-20231210025112-82fdedd8e374 github.com/siyuan-note/filelock v0.0.0-20231211015131-3b3dfabdce9c @@ -77,10 +77,10 @@ require ( github.com/Masterminds/semver/v3 v3.2.1 // indirect github.com/advancedlogic/GoOse v0.0.0-20231203033844-ae6b36caf275 // indirect github.com/alecthomas/chroma v0.10.0 // indirect - github.com/andybalholm/brotli v1.0.6 // indirect + github.com/andybalholm/brotli v1.1.0 // indirect github.com/andybalholm/cascadia v1.3.2 // indirect github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef // indirect - github.com/aws/aws-sdk-go v1.49.18 // indirect + github.com/aws/aws-sdk-go v1.49.20 // indirect github.com/bytedance/sonic v1.10.2 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect @@ -127,7 +127,7 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/onsi/ginkgo/v2 v2.13.2 // indirect + github.com/onsi/ginkgo/v2 v2.14.0 // indirect github.com/otiai10/gosseract/v2 v2.4.1 // indirect github.com/pelletier/go-toml/v2 v2.1.1 // indirect github.com/pkg/errors v0.9.1 // indirect @@ -157,11 +157,11 @@ require ( go.uber.org/mock v0.4.0 // indirect golang.org/x/arch v0.7.0 // indirect golang.org/x/crypto v0.18.0 // indirect - golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e // indirect + golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 // indirect golang.org/x/net v0.20.0 // indirect golang.org/x/sync v0.6.0 // indirect golang.org/x/sys v0.16.0 // indirect - golang.org/x/tools v0.16.1 // indirect + golang.org/x/tools v0.17.0 // indirect google.golang.org/protobuf v1.32.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/kernel/go.sum b/kernel/go.sum index 71b01b38f66..e2803a7c51a 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -40,6 +40,8 @@ github.com/alecthomas/chroma v0.10.0 h1:7XDcGkCQopCNKjZHfYrNLraA+M7e0fMiJ/Mfikbf github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI= github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= +github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M= +github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY= github.com/andybalholm/cascadia v1.0.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= github.com/andybalholm/cascadia v1.3.1/go.mod h1:R4bJ1UQfqADjvDa4P6HZHLh/3OxWWEqc0Sk8XGwHqvA= github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss= @@ -51,6 +53,8 @@ github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef h1:2JGTg6JapxP github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef/go.mod h1:JS7hed4L1fj0hXcyEejnW57/7LCetXggd+vwrRnYeII= github.com/aws/aws-sdk-go v1.49.18 h1:g/iMXkfXeJQ7MvnLwroxWsTTNkHtdVJGxIgrAIEG62M= github.com/aws/aws-sdk-go v1.49.18/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.49.20 h1:VgEUq2/ZbUkLbqPyDcxrirfXB+PgiZUUF5XbsgWe2S0= +github.com/aws/aws-sdk-go v1.49.20/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM= github.com/bytedance/sonic v1.10.2 h1:GQebETVBxYB7JGWJtLBi07OVzWwt+8dWA00gEVW2ZFE= @@ -280,6 +284,8 @@ github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo/v2 v2.13.2 h1:Bi2gGVkfn6gQcjNjZJVO8Gf0FHzMPf2phUei9tejVMs= github.com/onsi/ginkgo/v2 v2.13.2/go.mod h1:XStQ8QcGwLyF4HdfcZB8SFOS/MWCgDuXMSBe6zrvLgM= +github.com/onsi/ginkgo/v2 v2.14.0 h1:vSmGj2Z5YPb9JwCWT6z6ihcUvDhuXLc3sJiqd3jMKAY= +github.com/onsi/ginkgo/v2 v2.14.0/go.mod h1:JkUdW7JkN0V6rFvsHcJ478egV3XH9NxpD27Hal/PhZw= github.com/onsi/gomega v1.30.0 h1:hvMK7xYz4D3HapigLTeGdId/NcfQx1VHMJc60ew99+8= github.com/onsi/gomega v1.30.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= github.com/open-spaced-repetition/go-fsrs v1.1.0 h1:0oqIRdLrfuI/PkXr6NikcIrNqnPxFzObJK6mZpuSfIs= @@ -356,6 +362,8 @@ github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05Ut github.com/simplereach/timeutils v1.2.0/go.mod h1:VVbQDfN/FHRZa1LSqcwo4kNZ62OOyqLLGQKYB3pB0Q8= github.com/siyuan-note/dejavu v0.0.0-20240111141110-01248e7cc4f0 h1:JzdZxhJ7M6Pd35Z/HkWW8DP7TqMrBurRXsK2fjN1Obg= github.com/siyuan-note/dejavu v0.0.0-20240111141110-01248e7cc4f0/go.mod h1:oXMdsH817hquMrFUar0pT+lZxneawAI4u/3cghzvGrw= +github.com/siyuan-note/dejavu v0.0.0-20240114035445-cb46035821cb h1:TRnnJSV0DPWTsYskUhIAF0wC5zwb0dNlqS6CUxhgWvI= +github.com/siyuan-note/dejavu v0.0.0-20240114035445-cb46035821cb/go.mod h1:eCbmgVcApV+S7zmiOeiqCqOLb5HIJaFi4Af8hhEjfYA= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 h1:kJaw5L/evyW6LcB9IQT8PR4ppx8JVqOFP9Ix3rfwSrc= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4/go.mod h1:UYcCCY+0wh+GmUoDOaO63j1sV5lgy7laLAk1XhEiUis= github.com/siyuan-note/eventbus v0.0.0-20231210025112-82fdedd8e374 h1:haPIOZBOAEQaXsUPUpyZeOeMgw6g/9O7RBbS3d39Ta8= @@ -448,6 +456,8 @@ golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e h1:723BNChdd0c2Wk6WOE320qGBiPtYx0F0Bbm1kriShfE= golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI= +golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 h1:hNQpMuAJe5CtcUqCXaWga3FHu+kQvCqcsoVaQgSV60o= +golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/image v0.11.0/go.mod h1:bglhjqbqVuEb9e9+eNR45Jfu7D+T4Qan+NhQk8Ck2P8= golang.org/x/image v0.15.0 h1:kOELfmgrmJlw4Cdb7g/QGuB3CvDrXbqEIww/pNtNBm8= @@ -538,6 +548,8 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= +golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= +golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= From 94ffa49435319772f8eaf9cb77d71e689c02eefb Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 15 Jan 2024 00:19:39 +0800 Subject: [PATCH 023/109] :art: Support manual purge of unreferenced data snapshots in the S3/WebDAV cloud storage https://github.com/siyuan-note/siyuan/issues/10081 --- app/appearance/langs/en_US.json | 3 ++- app/appearance/langs/es_ES.json | 3 ++- app/appearance/langs/fr_FR.json | 3 ++- app/appearance/langs/zh_CHT.json | 3 ++- app/appearance/langs/zh_CN.json | 3 ++- kernel/go.mod | 4 ++-- kernel/go.sum | 20 ++++---------------- kernel/model/repository.go | 24 ++++++++++++++++++++++++ kernel/util/websocket.go | 2 ++ 9 files changed, 42 insertions(+), 23 deletions(-) diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 80d6967549e..0757c5f6704 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1389,6 +1389,7 @@ "219": "The cloud storage service is unavailable, please try again later", "220": "Due to a defect in the previous version, the cloud data is corrupted. Please refer to the User Guide-FAQ-Lost Key steps to reset the local data repo and cloud directory", "221": "The replacement operation is not supported after grouping by document. Please use ungrouping and then replace", - "222": "Data sync is in progress, please wait until data sync is completed and try again" + "222": "Data sync is in progress, please wait until data sync is completed and try again", + "223": "Cleaning cloud storage..." } } diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 4e628760a35..b406593041c 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1389,6 +1389,7 @@ "219": "El servicio de almacenamiento en la nube no está disponible, inténtalo de nuevo más tarde", "220": "Debido a un defecto en la versión anterior, los datos de la nube están dañados. Consulte los pasos de la User Guide-FAQ-Lost Key para restablecer el repositorio de datos local y el directorio de la nube", "221": "La operación de reemplazo no es compatible después de agrupar por documento. Utilice desagrupar y luego reemplazar", - "222": "La sincronización de datos está en curso. Espere hasta que se complete la sincronización de datos e inténtelo de nuevo" + "222": "La sincronización de datos está en curso. Espere hasta que se complete la sincronización de datos e inténtelo de nuevo", + "223": "Limpiando el almacenamiento en la nube..." } } diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 7df0e3dd811..997388abbce 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1389,6 +1389,7 @@ "219": "Le service de stockage cloud n'est pas disponible, veuillez réessayer plus tard", "220": "En raison d'un défaut dans la version précédente, les données cloud sont corrompues. Veuillez vous référer aux étapes User Guide-FAQ-Lost Key pour réinitialiser le référentiel de données local et le répertoire cloud", "221": "L'opération de remplacement n'est pas prise en charge après le regroupement par document. Veuillez utiliser le dissociation puis remplacer", - "222": "La synchronisation des données est en cours, veuillez attendre que la synchronisation des données soit terminée et réessayer" + "222": "La synchronisation des données est en cours, veuillez attendre que la synchronisation des données soit terminée et réessayer", + "223": "Nettoyage du stockage cloud..." } } diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index a40d371ffb2..994c0db8020 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1389,6 +1389,7 @@ "219": "雲端儲存服務不可用,請稍後再試", "220": "由於先前版本的缺陷導致了雲端資料損壞,請參考 用戶指南-常見問題-遺失密鑰 步驟來重置本地資料倉儲和雲端目錄", "221": "按文檔分組後不支援替換操作,請使用取消分組後再進行替換", - "222": "資料同步中,請等待資料同步完成後再試" + "222": "資料同步中,請等待資料同步完成後再試", + "223": "正在清理雲端儲存..." } } diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index c5aadf55e72..c20a65bf201 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1389,6 +1389,7 @@ "219": "云端存储服务不可用,请稍后再试", "220": "由于之前版本的缺陷导致了云端数据损坏,请参考 用户指南-常见问题-遗失密钥 步骤来重置本地数据仓库和云端目录", "221": "按文档分组后不支持替换操作,请使用取消分组后再进行替换", - "222": "数据同步中,请等待数据同步完成后再试" + "222": "数据同步中,请等待数据同步完成后再试", + "223": "正在清理云端存储..." } } diff --git a/kernel/go.mod b/kernel/go.mod index 9aee2ac9b4c..6c51e8ba97d 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -51,9 +51,9 @@ require ( github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 github.com/sashabaranov/go-openai v1.17.11 github.com/shirou/gopsutil/v3 v3.23.12 - github.com/siyuan-note/dejavu v0.0.0-20240114035445-cb46035821cb + github.com/siyuan-note/dejavu v0.0.0-20240114161747-36bb80f2521a github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 - github.com/siyuan-note/eventbus v0.0.0-20231210025112-82fdedd8e374 + github.com/siyuan-note/eventbus v0.0.0-20240114153055-cf4c124ddf6d github.com/siyuan-note/filelock v0.0.0-20231211015131-3b3dfabdce9c github.com/siyuan-note/httpclient v0.0.0-20240105083729-70d0557bc690 github.com/siyuan-note/logging v0.0.0-20231208035918-61f884c854f0 diff --git a/kernel/go.sum b/kernel/go.sum index e2803a7c51a..ba208d4bb6b 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -38,8 +38,6 @@ github.com/advancedlogic/GoOse v0.0.0-20231203033844-ae6b36caf275 h1:Kuhf+w+ilOG github.com/advancedlogic/GoOse v0.0.0-20231203033844-ae6b36caf275/go.mod h1:98NztIIMIntZGtQVIs8H85Q5b88fTbwWFbLz/lM9/xU= github.com/alecthomas/chroma v0.10.0 h1:7XDcGkCQopCNKjZHfYrNLraA+M7e0fMiJ/Mfikbfjek= github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= -github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI= -github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M= github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY= github.com/andybalholm/cascadia v1.0.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= @@ -51,8 +49,6 @@ github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de h1:FxWPpzIjnTlhP github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de/go.mod h1:DCaWoUhZrYW9p1lxo/cm8EmUOOzAPSEZNGF2DK1dJgw= github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef h1:2JGTg6JapxP9/R33ZaagQtAM4EkkSYnIAlOG5EI8gkM= github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef/go.mod h1:JS7hed4L1fj0hXcyEejnW57/7LCetXggd+vwrRnYeII= -github.com/aws/aws-sdk-go v1.49.18 h1:g/iMXkfXeJQ7MvnLwroxWsTTNkHtdVJGxIgrAIEG62M= -github.com/aws/aws-sdk-go v1.49.18/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go v1.49.20 h1:VgEUq2/ZbUkLbqPyDcxrirfXB+PgiZUUF5XbsgWe2S0= github.com/aws/aws-sdk-go v1.49.20/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= @@ -282,8 +278,6 @@ github.com/olahol/melody v1.1.4/go.mod h1:GgkTl6Y7yWj/HtfD48Q5vLKPVoZOH+Qqgfa7Cv github.com/olekukonko/tablewriter v0.0.0-20180506121414-d4647c9c7a84/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onsi/ginkgo/v2 v2.13.2 h1:Bi2gGVkfn6gQcjNjZJVO8Gf0FHzMPf2phUei9tejVMs= -github.com/onsi/ginkgo/v2 v2.13.2/go.mod h1:XStQ8QcGwLyF4HdfcZB8SFOS/MWCgDuXMSBe6zrvLgM= github.com/onsi/ginkgo/v2 v2.14.0 h1:vSmGj2Z5YPb9JwCWT6z6ihcUvDhuXLc3sJiqd3jMKAY= github.com/onsi/ginkgo/v2 v2.14.0/go.mod h1:JkUdW7JkN0V6rFvsHcJ478egV3XH9NxpD27Hal/PhZw= github.com/onsi/gomega v1.30.0 h1:hvMK7xYz4D3HapigLTeGdId/NcfQx1VHMJc60ew99+8= @@ -360,14 +354,12 @@ github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFR github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d h1:lvCTyBbr36+tqMccdGMwuEU+hjux/zL6xSmf5S9ITaA= github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw= github.com/simplereach/timeutils v1.2.0/go.mod h1:VVbQDfN/FHRZa1LSqcwo4kNZ62OOyqLLGQKYB3pB0Q8= -github.com/siyuan-note/dejavu v0.0.0-20240111141110-01248e7cc4f0 h1:JzdZxhJ7M6Pd35Z/HkWW8DP7TqMrBurRXsK2fjN1Obg= -github.com/siyuan-note/dejavu v0.0.0-20240111141110-01248e7cc4f0/go.mod h1:oXMdsH817hquMrFUar0pT+lZxneawAI4u/3cghzvGrw= -github.com/siyuan-note/dejavu v0.0.0-20240114035445-cb46035821cb h1:TRnnJSV0DPWTsYskUhIAF0wC5zwb0dNlqS6CUxhgWvI= -github.com/siyuan-note/dejavu v0.0.0-20240114035445-cb46035821cb/go.mod h1:eCbmgVcApV+S7zmiOeiqCqOLb5HIJaFi4Af8hhEjfYA= +github.com/siyuan-note/dejavu v0.0.0-20240114161747-36bb80f2521a h1:09URTA1Oj04bmMH3qOYUR7qKcHF2IAZsO7n1SmDxj3Y= +github.com/siyuan-note/dejavu v0.0.0-20240114161747-36bb80f2521a/go.mod h1:yuc6UPkBkb0KvaZzkXGnKYzxQDOLAXfNwgs5HwnjuNU= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 h1:kJaw5L/evyW6LcB9IQT8PR4ppx8JVqOFP9Ix3rfwSrc= github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4/go.mod h1:UYcCCY+0wh+GmUoDOaO63j1sV5lgy7laLAk1XhEiUis= -github.com/siyuan-note/eventbus v0.0.0-20231210025112-82fdedd8e374 h1:haPIOZBOAEQaXsUPUpyZeOeMgw6g/9O7RBbS3d39Ta8= -github.com/siyuan-note/eventbus v0.0.0-20231210025112-82fdedd8e374/go.mod h1:Sqo4FYX5lAXu7gWkbEdJF0e6P57tNNVV4WDKYDctokI= +github.com/siyuan-note/eventbus v0.0.0-20240114153055-cf4c124ddf6d h1:ZFhIq+gy5w+FJNX3D4yIp5Aj1H/dM0rrkEdRtk3Ia44= +github.com/siyuan-note/eventbus v0.0.0-20240114153055-cf4c124ddf6d/go.mod h1:1/nGgthl89FPA7GzAcEWKl6zRRnfgyTjzLZj9bW7kuw= github.com/siyuan-note/filelock v0.0.0-20231211015131-3b3dfabdce9c h1:ljGWxKi4zT+cl7NkuNahTGOko9nw+Ed0xqsKgZiExyg= github.com/siyuan-note/filelock v0.0.0-20231211015131-3b3dfabdce9c/go.mod h1:++qrlYXSLss5AtNrHm3MNtDAQSI2gT8m3m15zLPjWJg= github.com/siyuan-note/httpclient v0.0.0-20240105083729-70d0557bc690 h1:r7qWSaYQhomCAdQl/dZe4NdAn1zadytb4jcOeopdHw4= @@ -454,8 +446,6 @@ golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= -golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e h1:723BNChdd0c2Wk6WOE320qGBiPtYx0F0Bbm1kriShfE= -golang.org/x/exp v0.0.0-20240110193028-0dcbfd608b1e/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI= golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 h1:hNQpMuAJe5CtcUqCXaWga3FHu+kQvCqcsoVaQgSV60o= golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= @@ -546,8 +536,6 @@ golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= -golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/kernel/model/repository.go b/kernel/model/repository.go index ad0959d6209..8f987d44215 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -483,6 +483,30 @@ func ResetRepo() (err error) { return } +func PurgeCloud() (err error) { + // TODO https://github.com/siyuan-note/siyuan/issues/10081 + msg := Conf.Language(223) + util.PushEndlessProgress(msg) + defer util.PushClearProgress() + + repo, err := newRepository() + if nil != err { + return + } + + stat, err := repo.PurgeCloud() + if nil != err { + return + } + + deletedIndexes := stat.Indexes + deletedObjects := stat.Objects + deletedSize := humanize.Bytes(uint64(stat.Size)) + msg = fmt.Sprintf(Conf.Language(203), deletedIndexes, deletedObjects, deletedSize) + util.PushMsg(msg, 5000) + return +} + func PurgeRepo() (err error) { msg := Conf.Language(202) util.PushEndlessProgress(msg) diff --git a/kernel/util/websocket.go b/kernel/util/websocket.go index 541f4f74969..370c819a69a 100644 --- a/kernel/util/websocket.go +++ b/kernel/util/websocket.go @@ -168,6 +168,8 @@ type BlockStatResult struct { func ContextPushMsg(context map[string]interface{}, msg string) { switch context[eventbus.CtxPushMsg].(int) { + case eventbus.CtxPushMsgToNone: + break case eventbus.CtxPushMsgToProgress: PushEndlessProgress(msg) case eventbus.CtxPushMsgToStatusBar: From 9831a3d2c67c648701ba73ea98a4e48273548ce3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 15 Jan 2024 00:20:15 +0800 Subject: [PATCH 024/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10173 --- app/src/protyle/util/insertHTML.ts | 36 ++++-------------------------- app/src/protyle/util/selection.ts | 5 +++++ 2 files changed, 9 insertions(+), 32 deletions(-) diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts index 060412111f8..e336857f580 100644 --- a/app/src/protyle/util/insertHTML.ts +++ b/app/src/protyle/util/insertHTML.ts @@ -1,14 +1,14 @@ import {hasClosestBlock, hasClosestByAttribute, hasClosestByClassName, hasClosestByMatchTag} from "./hasClosest"; import * as dayjs from "dayjs"; import {transaction, updateTransaction} from "../wysiwyg/transaction"; -import {getContenteditableElement, hasNextSibling, hasPreviousSibling} from "../wysiwyg/getBlock"; +import {getContenteditableElement} from "../wysiwyg/getBlock"; import {fixTableRange, focusBlock, focusByWbr, getEditorRange} from "./selection"; -import {mathRender} from "../render/mathRender"; import {Constants} from "../../constants"; import {highlightRender} from "../render/highlightRender"; import {scrollCenter} from "../../util/highlightById"; import {updateAVName} from "../render/av/action"; import {updateCellsValue} from "../render/av/cell"; +import {input} from "../wysiwyg/input"; const processAV = (range: Range, html: string, protyle: IProtyle, blockElement: Element) => { const text = protyle.lute.BlockDOM2EscapeMarkerContent(html); @@ -145,36 +145,8 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false, } range.insertNode(tempElement.content.cloneNode(true)); range.collapse(false); - blockElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss")); - // 使用 innerHTML,避免行内元素为代码块 - const trimStartText = editableElement ? editableElement.innerHTML.trimStart() : ""; - if (editableElement && (trimStartText.startsWith("```") || trimStartText.startsWith("~~~") || trimStartText.startsWith("···") || - trimStartText.indexOf("\n```") > -1 || trimStartText.indexOf("\n~~~") > -1 || trimStartText.indexOf("\n···") > -1)) { - if (trimStartText.indexOf("\n") === -1 && trimStartText.replace(/·|~/g, "`").replace(/^`{3,}/g, "").indexOf("`") > -1) { - // ```test` 不处理 - } else { - let replaceInnerHTML = editableElement.innerHTML.replace(/^(~|·|`){3,}/g, "```").replace(/\n(~|·|`){3,}/g, "\n```").trim(); - if (!replaceInnerHTML.endsWith("\n```")) { - replaceInnerHTML += "\n```"; - } - const languageIndex = replaceInnerHTML.indexOf("```") + 3; - replaceInnerHTML = replaceInnerHTML.substring(0, languageIndex) + (localStorage["local-codelang"] || "") + replaceInnerHTML.substring(languageIndex); - - editableElement.innerHTML = replaceInnerHTML; - } - } - const editWbrElement = editableElement.querySelector("wbr"); - if (editWbrElement && editableElement && !trimStartText.endsWith("\n")) { - // 数学公式后无换行,后期渲染后添加导致 rang 错误,中文输入错误 https://github.com/siyuan-note/siyuan/issues/9054 - const previousElement = hasPreviousSibling(editWbrElement) as HTMLElement; - if (previousElement && previousElement.nodeType !== 3 && (previousElement.dataset.type || "").indexOf("inline-math") > -1 && - !hasNextSibling(editWbrElement)) { - editWbrElement.insertAdjacentText("afterend", "\n"); - } - } - mathRender(blockElement); - updateTransaction(protyle, id, blockElement.outerHTML, oldHTML); - focusByWbr(protyle.wysiwyg.element, range); + blockElement.querySelector("wbr")?.remove(); + input(protyle, blockElement as HTMLElement, range); return; } } diff --git a/app/src/protyle/util/selection.ts b/app/src/protyle/util/selection.ts index a4bd198c0dc..396200fcac1 100644 --- a/app/src/protyle/util/selection.ts +++ b/app/src/protyle/util/selection.ts @@ -582,6 +582,11 @@ export const focusBlock = (element: Element, parentElement?: HTMLElement, toStar if (cursorElement.classList.contains("hljs")) { // 代码块末尾定位需在 /n 之前 https://github.com/siyuan-note/siyuan/issues/9141,https://github.com/siyuan-note/siyuan/issues/9189 let lastNode = cursorElement.lastChild; + if (!lastNode) { + // 粘贴 ``` 报错 + cursorElement.innerHTML = "\n"; + lastNode = cursorElement.lastChild; + } if (lastNode.textContent === "" && lastNode.nodeType === 3) { lastNode = hasPreviousSibling(cursorElement.lastChild) as HTMLElement; } From 7d57bd07e7cabd4acb598890b29420d9e5401838 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 15 Jan 2024 22:06:46 +0800 Subject: [PATCH 025/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10188 --- app/src/protyle/wysiwyg/keydown.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index b3ab2c81567..27708c3c586 100644 --- a/app/src/protyle/wysiwyg/keydown.ts +++ b/app/src/protyle/wysiwyg/keydown.ts @@ -1375,7 +1375,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => { event.preventDefault(); event.stopPropagation(); const selectsElement: HTMLElement[] = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select")); - if (selectsElement.length < 2) { + if (selectsElement.length < 2 || selectsElement[0]?.classList.contains("li")) { return; } turnsIntoOneTransaction({ @@ -1390,7 +1390,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => { event.preventDefault(); event.stopPropagation(); const selectsElement: HTMLElement[] = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select")); - if (selectsElement.length < 2) { + if (selectsElement.length < 2 || selectsElement[0]?.classList.contains("li")) { return; } turnsIntoOneTransaction({ From e0fb872cbf28cfe59c60c36714be09ef3a55e771 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 15 Jan 2024 22:15:34 +0800 Subject: [PATCH 026/109] :bug: Focus block does not add the title when exporting as an image https://github.com/siyuan-note/siyuan/issues/10177 --- kernel/model/export.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/model/export.go b/kernel/model/export.go index c0a821b0914..492ff938d43 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -865,11 +865,13 @@ func prepareExportTree(bt *treenode.BlockTree) (ret *parse.Tree) { } } + oldRoot := ret.Root ret = parse.Parse("", []byte(""), luteEngine.ParseOptions) first := ret.Root.FirstChild for _, node := range nodes { first.InsertBefore(node) } + ret.Root.KramdownIAL = oldRoot.KramdownIAL } ret.Path = bt.Path ret.HPath = bt.HPath From 0e720f8d36efe84101cfc2757b78fb0d6e9613fd Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 15 Jan 2024 22:52:22 +0800 Subject: [PATCH 027/109] :art: Block ref elements support font styles when exporting https://github.com/siyuan-note/siyuan/issues/10179 --- app/stage/protyle/js/lute/lute.min.js | 2 +- kernel/go.mod | 2 +- kernel/go.sum | 4 ++-- kernel/model/export.go | 14 ++++++-------- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/app/stage/protyle/js/lute/lute.min.js b/app/stage/protyle/js/lute/lute.min.js index e67b7f9852b..9c8eae5baf9 100644 --- a/app/stage/protyle/js/lute/lute.min.js +++ b/app/stage/protyle/js/lute/lute.min.js @@ -57,7 +57,7 @@ $packages["encoding/binary"]=(function(){var $pkg={},$init,A,B,C,D,E,O,Z,J;A=$pa $packages["encoding/base64"]=(function(){var $pkg={},$init,A,B,C,D,F,H,N,O,P,Q,R,S,T,V,E,G,J,K;A=$packages["encoding/binary"];B=$packages["io"];C=$packages["strconv"];D=$pkg.Encoding=$newType(0,$kindStruct,"base64.Encoding",true,"encoding/base64",true,function(encode_,decodeMap_,padChar_,strict_){this.$val=this;if(arguments.length===0){this.encode=N.zero();this.decodeMap=O.zero();this.padChar=0;this.strict=false;return;}this.encode=encode_;this.decodeMap=decodeMap_;this.padChar=padChar_;this.strict=strict_;});F=$pkg.encoder=$newType(0,$kindStruct,"base64.encoder",true,"encoding/base64",false,function(err_,enc_,w_,buf_,nbuf_,out_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;this.enc=Q.nil;this.w=$ifaceNil;this.buf=R.zero();this.nbuf=0;this.out=S.zero();return;}this.err=err_;this.enc=enc_;this.w=w_;this.buf=buf_;this.nbuf=nbuf_;this.out=out_;});H=$pkg.CorruptInputError=$newType(8,$kindInt64,"base64.CorruptInputError",true,"encoding/base64",true,null);N=$arrayType($Uint8,64);O=$arrayType($Uint8,256);P=$sliceType($Uint8);Q=$ptrType(D);R=$arrayType($Uint8,3);S=$arrayType($Uint8,1024);T=$arrayType($Uint8,4);V=$ptrType(F);E=function(a){var a,b,c,d,e,f,g,h;if(!((a.length===64))){$panic(new $String("encoding alphabet is not 64-bytes long"));}b=0;while(true){if(!(b>0;}c=new D.ptr(N.zero(),O.zero(),0,false);c.padChar=61;$copyString(new P(c.encode),a);d=0;while(true){if(!(d<256)){break;}(e=c.decodeMap,((d<0||d>=e.length)?($throwRuntimeError("index out of range"),undefined):e[d]=255));d=d+(1)>>0;}f=0;while(true){if(!(f=g.length)?($throwRuntimeError("index out of range"),undefined):g[h]=((f<<24>>>24))));f=f+(1)>>0;}return c;};$pkg.NewEncoding=E;D.ptr.prototype.WithPadding=function(a){var a,b,c,d;b=this;if((a===13)||(a===10)||a>255){$panic(new $String("invalid padding"));}c=0;while(true){if(!(c<64)){break;}if((((d=b.encode,((c<0||c>=d.length)?($throwRuntimeError("index out of range"),undefined):d[c]))>>0))===a){$panic(new $String("padding contained in alphabet"));}c=c+(1)>>0;}b.padChar=a;return b;};D.prototype.WithPadding=function(a){return this.$val.WithPadding(a);};D.ptr.prototype.Strict=function(){var a;a=this;a.strict=true;return a;};D.prototype.Strict=function(){return this.$val.Strict();};D.ptr.prototype.Encode=function(a,b){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if(b.$length===0){return;}$unused(c.encode);d=0;e=0;f=d;g=e;i=$imul(((h=b.$length/3,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))),3);while(true){if(!(g>0,((j<0||j>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j]))>>>0))<<16>>>0)|((((k=g+1>>0,((k<0||k>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+k]))>>>0))<<8>>>0))>>>0)|(((l=g+2>>0,((l<0||l>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+l]))>>>0)))>>>0;(p=f+0>>0,((p<0||p>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+p]=(n=c.encode,o=((m>>>18>>>0)&63)>>>0,((o<0||o>=n.length)?($throwRuntimeError("index out of range"),undefined):n[o]))));(s=f+1>>0,((s<0||s>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+s]=(q=c.encode,r=((m>>>12>>>0)&63)>>>0,((r<0||r>=q.length)?($throwRuntimeError("index out of range"),undefined):q[r]))));(v=f+2>>0,((v<0||v>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+v]=(t=c.encode,u=((m>>>6>>>0)&63)>>>0,((u<0||u>=t.length)?($throwRuntimeError("index out of range"),undefined):t[u]))));(y=f+3>>0,((y<0||y>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+y]=(w=c.encode,x=(m&63)>>>0,((x<0||x>=w.length)?($throwRuntimeError("index out of range"),undefined):w[x]))));g=g+(3)>>0;f=f+(4)>>0;}z=b.$length-g>>0;if(z===0){return;}ab=(((aa=g+0>>0,((aa<0||aa>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+aa]))>>>0))<<16>>>0;if(z===2){ab=(ab|(((((ac=g+1>>0,((ac<0||ac>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+ac]))>>>0))<<8>>>0)))>>>0;}(af=f+0>>0,((af<0||af>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+af]=(ad=c.encode,ae=((ab>>>18>>>0)&63)>>>0,((ae<0||ae>=ad.length)?($throwRuntimeError("index out of range"),undefined):ad[ae]))));(ai=f+1>>0,((ai<0||ai>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+ai]=(ag=c.encode,ah=((ab>>>12>>>0)&63)>>>0,((ah<0||ah>=ag.length)?($throwRuntimeError("index out of range"),undefined):ag[ah]))));aj=z;if(aj===(2)){(am=f+2>>0,((am<0||am>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+am]=(ak=c.encode,al=((ab>>>6>>>0)&63)>>>0,((al<0||al>=ak.length)?($throwRuntimeError("index out of range"),undefined):ak[al]))));if(!((c.padChar===-1))){(an=f+3>>0,((an<0||an>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+an]=((c.padChar<<24>>>24))));}}else if(aj===(1)){if(!((c.padChar===-1))){(ao=f+2>>0,((ao<0||ao>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+ao]=((c.padChar<<24>>>24))));(ap=f+3>>0,((ap<0||ap>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+ap]=((c.padChar<<24>>>24))));}}};D.prototype.Encode=function(a,b){return this.$val.Encode(a,b);};D.ptr.prototype.EncodeToString=function(a){var a,b,c;b=this;c=$makeSlice(P,b.EncodedLen(a.$length));b.Encode(c,a);return($bytesToString(c));};D.prototype.EncodeToString=function(a){return this.$val.EncodeToString(a);};F.ptr.prototype.Write=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){e=0;f=d.err;b=e;c=f;$s=-1;return[b,c];}if(d.nbuf>0){$s=1;continue;}$s=2;continue;case 1:g=0;g=0;while(true){if(!(g=h.length)?($throwRuntimeError("index out of range"),undefined):h[i]=((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g])));d.nbuf=d.nbuf+(1)>>0;g=g+(1)>>0;}b=b+(g)>>0;a=$subslice(a,g);if(d.nbuf<3){$s=-1;return[b,c];}d.enc.Encode(new P(d.out),new P(d.buf));k=d.w.Write($subslice(new P(d.out),0,4));$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;d.err=j[1];if(!($interfaceIsEqual(d.err,$ifaceNil))){l=b;m=d.err;b=l;c=m;$s=-1;return[b,c];}d.nbuf=0;case 2:case 4:if(!(a.$length>=3)){$s=5;continue;}n=768;if(n>a.$length){n=a.$length;n=n-((o=n%3,o===o?o:$throwRuntimeError("integer divide by zero")))>>0;}d.enc.Encode(new P(d.out),$subslice(a,0,n));r=d.w.Write($subslice(new P(d.out),0,($imul((q=n/3,(q===q&&q!==1/0&&q!==-1/0)?q>>0:$throwRuntimeError("integer divide by zero")),4))));$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}p=r;d.err=p[1];if(!($interfaceIsEqual(d.err,$ifaceNil))){s=b;t=d.err;b=s;c=t;$s=-1;return[b,c];}b=b+(n)>>0;a=$subslice(a,n);$s=4;continue;case 5:$copySlice(new P(d.buf),a);d.nbuf=a.$length;b=b+(a.$length)>>0;$s=-1;return[b,c];}return;}var $f={$blk:F.ptr.prototype.Write,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};F.prototype.Write=function(a){return this.$val.Write(a);};F.ptr.prototype.Close=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if($interfaceIsEqual(a.err,$ifaceNil)&&a.nbuf>0){$s=1;continue;}$s=2;continue;case 1:a.enc.Encode(new P(a.out),$subslice(new P(a.buf),0,a.nbuf));c=a.w.Write($subslice(new P(a.out),0,a.enc.EncodedLen(a.nbuf)));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;a.err=b[1];a.nbuf=0;case 2:$s=-1;return a.err;}return;}var $f={$blk:F.ptr.prototype.Close,$c:true,$r,a,b,c,$s};return $f;};F.prototype.Close=function(){return this.$val.Close();};G=function(a,b){var a,b;return new F.ptr($ifaceNil,a,b,R.zero(),0,S.zero());};$pkg.NewEncoder=G;D.ptr.prototype.EncodedLen=function(a){var a,b,c,d;b=this;if(b.padChar===-1){return(c=((($imul(a,8))+5>>0))/6,(c===c&&c!==1/0&&c!==-1/0)?c>>0:$throwRuntimeError("integer divide by zero"));}return $imul((d=((a+2>>0))/3,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError("integer divide by zero")),4);};D.prototype.EncodedLen=function(a){return this.$val.EncodedLen(a);};H.prototype.Error=function(){var a;a=this;return"illegal base64 data at input byte "+C.FormatInt((new $Int64(a.$high,a.$low)),10);};$ptrType(H).prototype.Error=function(){return this.$get().Error();};D.ptr.prototype.decodeQuantum=function(a,b,c){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=0;e=0;f=$ifaceNil;g=this;h=T.zero();i=4;$unused(g.decodeMap);j=0;while(true){if(!(j<4)){break;}if(b.$length===c){if((j===0)){k=c;l=0;m=$ifaceNil;d=k;e=l;f=m;return[d,e,f];}else if(((j===1))||(!((g.padChar===-1)))){n=c;o=0;p=(new H(0,(c-j>>0)));d=n;e=o;f=p;return[d,e,f];}i=j;break;}q=((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);c=c+(1)>>0;s=(r=g.decodeMap,((q<0||q>=r.length)?($throwRuntimeError("index out of range"),undefined):r[q]));if(!((s===255))){((j<0||j>=h.length)?($throwRuntimeError("index out of range"),undefined):h[j]=s);j=j+(1)>>0;continue;}if((q===10)||(q===13)){j=j-(1)>>0;j=j+(1)>>0;continue;}if(!((((q>>0))===g.padChar))){t=c;u=0;v=(new H(0,(c-1>>0)));d=t;e=u;f=v;return[d,e,f];}w=j;if((w===(0))||(w===(1))){x=c;y=0;z=(new H(0,(c-1>>0)));d=x;e=y;f=z;return[d,e,f];}else if(w===(2)){while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c])===10)||(((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c])===13)))){break;}c=c+(1)>>0;}if(c===b.$length){aa=c;ab=0;ac=(new H(0,b.$length));d=aa;e=ab;f=ac;return[d,e,f];}if(!((((((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c])>>0))===g.padChar))){ad=c;ae=0;af=(new H(0,(c-1>>0)));d=ad;e=ae;f=af;return[d,e,f];}c=c+(1)>>0;}while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c])===10)||(((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c])===13)))){break;}c=c+(1)>>0;}if(c>>0))<<18>>>0)|(((h[1]>>>0))<<12>>>0))>>>0)|(((h[2]>>>0))<<6>>>0))>>>0)|((h[3]>>>0)))>>>0;ah=(((ag>>>0>>>0)<<24>>>24));ai=(((ag>>>8>>>0)<<24>>>24));aj=(((ag>>>16>>>0)<<24>>>24));h[2]=ah;h[1]=ai;h[0]=aj;ak=i;if(ak===(4)){(2>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+2]=h[2]);h[2]=0;(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=h[1]);if(g.strict&&!((h[2]===0))){al=c;am=0;an=(new H(0,(c-1>>0)));d=al;e=am;f=an;return[d,e,f];}h[1]=0;(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=h[0]);if(g.strict&&(!((h[1]===0))||!((h[2]===0)))){ao=c;ap=0;aq=(new H(0,(c-2>>0)));d=ao;e=ap;f=aq;return[d,e,f];}}else if(ak===(3)){(1>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+1]=h[1]);if(g.strict&&!((h[2]===0))){ar=c;as=0;at=(new H(0,(c-1>>0)));d=ar;e=as;f=at;return[d,e,f];}h[1]=0;(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=h[0]);if(g.strict&&(!((h[1]===0))||!((h[2]===0)))){au=c;av=0;aw=(new H(0,(c-2>>0)));d=au;e=av;f=aw;return[d,e,f];}}else if(ak===(2)){(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0]=h[0]);if(g.strict&&(!((h[1]===0))||!((h[2]===0)))){ax=c;ay=0;az=(new H(0,(c-2>>0)));d=ax;e=ay;f=az;return[d,e,f];}}ba=c;bb=i-1>>0;bc=f;d=ba;e=bb;f=bc;return[d,e,f];};D.prototype.decodeQuantum=function(a,b,c){return this.$val.decodeQuantum(a,b,c);};D.ptr.prototype.DecodeString=function(a){var a,b,c,d,e,f;b=this;c=$makeSlice(P,b.DecodedLen(a.length));d=b.Decode(c,(new P($stringToBytes(a))));e=d[0];f=d[1];return[$subslice(c,0,e),f];};D.prototype.DecodeString=function(a){return this.$val.DecodeString(a);};D.ptr.prototype.Decode=function(a,b){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=$ifaceNil;e=this;if(b.$length===0){f=0;g=$ifaceNil;c=f;d=g;return[c,d];}$unused(e.decodeMap);h=0;while(true){if(!(false&&(b.$length-h>>0)>=8&&(a.$length-c>>0)>=8)){break;}i=$subslice(b,h,(h+8>>0));j=K((k=e.decodeMap,l=(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0]),((l<0||l>=k.length)?($throwRuntimeError("index out of range"),undefined):k[l])),(m=e.decodeMap,n=(1>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+1]),((n<0||n>=m.length)?($throwRuntimeError("index out of range"),undefined):m[n])),(o=e.decodeMap,p=(2>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+2]),((p<0||p>=o.length)?($throwRuntimeError("index out of range"),undefined):o[p])),(q=e.decodeMap,r=(3>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+3]),((r<0||r>=q.length)?($throwRuntimeError("index out of range"),undefined):q[r])),(s=e.decodeMap,t=(4>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+4]),((t<0||t>=s.length)?($throwRuntimeError("index out of range"),undefined):s[t])),(u=e.decodeMap,v=(5>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+5]),((v<0||v>=u.length)?($throwRuntimeError("index out of range"),undefined):u[v])),(w=e.decodeMap,x=(6>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+6]),((x<0||x>=w.length)?($throwRuntimeError("index out of range"),undefined):w[x])),(y=e.decodeMap,z=(7>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+7]),((z<0||z>=y.length)?($throwRuntimeError("index out of range"),undefined):y[z])));aa=j[0];ab=j[1];if(ab){$clone(A.BigEndian,A.bigEndian).PutUint64($subslice(a,c),aa);c=c+(6)>>0;h=h+(8)>>0;}else{ac=0;ad=e.decodeQuantum($subslice(a,c),b,h);h=ad[0];ac=ad[1];d=ad[2];c=c+(ac)>>0;if(!($interfaceIsEqual(d,$ifaceNil))){ae=c;af=d;c=ae;d=af;return[c,d];}}}while(true){if(!((b.$length-h>>0)>=4&&(a.$length-c>>0)>=4)){break;}ag=$subslice(b,h,(h+4>>0));ah=J((ai=e.decodeMap,aj=(0>=ag.$length?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+0]),((aj<0||aj>=ai.length)?($throwRuntimeError("index out of range"),undefined):ai[aj])),(ak=e.decodeMap,al=(1>=ag.$length?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+1]),((al<0||al>=ak.length)?($throwRuntimeError("index out of range"),undefined):ak[al])),(am=e.decodeMap,an=(2>=ag.$length?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+2]),((an<0||an>=am.length)?($throwRuntimeError("index out of range"),undefined):am[an])),(ao=e.decodeMap,ap=(3>=ag.$length?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+3]),((ap<0||ap>=ao.length)?($throwRuntimeError("index out of range"),undefined):ao[ap])));aq=ah[0];ar=ah[1];if(ar){$clone(A.BigEndian,A.bigEndian).PutUint32($subslice(a,c),aq);c=c+(3)>>0;h=h+(4)>>0;}else{as=0;at=e.decodeQuantum($subslice(a,c),b,h);h=at[0];as=at[1];d=at[2];c=c+(as)>>0;if(!($interfaceIsEqual(d,$ifaceNil))){au=c;av=d;c=au;d=av;return[c,d];}}}while(true){if(!(h>0;if(!($interfaceIsEqual(d,$ifaceNil))){ay=c;az=d;c=ay;d=az;return[c,d];}}ba=c;bb=d;c=ba;d=bb;return[c,d];};D.prototype.Decode=function(a,b){return this.$val.Decode(a,b);};J=function(a,b,c,d){var a,b,c,d,e,f,g,h,i,j;e=0;f=false;if(((((((a|b)>>>0)|c)>>>0)|d)>>>0)===255){g=0;h=false;e=g;f=h;return[e,f];}i=((((((((a>>>0))<<26>>>0)|(((b>>>0))<<20>>>0))>>>0)|(((c>>>0))<<14>>>0))>>>0)|(((d>>>0))<<8>>>0))>>>0;j=true;e=i;f=j;return[e,f];};K=function(a,b,c,d,e,f,g,h){var a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;i=new $Uint64(0,0);j=false;if(((((((((((((((a|b)>>>0)|c)>>>0)|d)>>>0)|e)>>>0)|f)>>>0)|g)>>>0)|h)>>>0)===255){k=new $Uint64(0,0);l=false;i=k;j=l;return[i,j];}m=(n=(o=(p=(q=(r=(s=(t=$shiftLeft64((new $Uint64(0,a)),58),u=$shiftLeft64((new $Uint64(0,b)),52),new $Uint64(t.$high|u.$high,(t.$low|u.$low)>>>0)),v=$shiftLeft64((new $Uint64(0,c)),46),new $Uint64(s.$high|v.$high,(s.$low|v.$low)>>>0)),w=$shiftLeft64((new $Uint64(0,d)),40),new $Uint64(r.$high|w.$high,(r.$low|w.$low)>>>0)),x=$shiftLeft64((new $Uint64(0,e)),34),new $Uint64(q.$high|x.$high,(q.$low|x.$low)>>>0)),y=$shiftLeft64((new $Uint64(0,f)),28),new $Uint64(p.$high|y.$high,(p.$low|y.$low)>>>0)),z=$shiftLeft64((new $Uint64(0,g)),22),new $Uint64(o.$high|z.$high,(o.$low|z.$low)>>>0)),aa=$shiftLeft64((new $Uint64(0,h)),16),new $Uint64(n.$high|aa.$high,(n.$low|aa.$low)>>>0));ab=true;i=m;j=ab;return[i,j];};D.ptr.prototype.DecodedLen=function(a){var a,b,c,d;b=this;if(b.padChar===-1){return(c=($imul(a,6))/8,(c===c&&c!==1/0&&c!==-1/0)?c>>0:$throwRuntimeError("integer divide by zero"));}return $imul((d=a/4,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError("integer divide by zero")),3);};D.prototype.DecodedLen=function(a){return this.$val.DecodedLen(a);};D.methods=[{prop:"WithPadding",name:"WithPadding",pkg:"",typ:$funcType([$Int32],[Q],false)},{prop:"Strict",name:"Strict",pkg:"",typ:$funcType([],[Q],false)}];Q.methods=[{prop:"Encode",name:"Encode",pkg:"",typ:$funcType([P,P],[],false)},{prop:"EncodeToString",name:"EncodeToString",pkg:"",typ:$funcType([P],[$String],false)},{prop:"EncodedLen",name:"EncodedLen",pkg:"",typ:$funcType([$Int],[$Int],false)},{prop:"decodeQuantum",name:"decodeQuantum",pkg:"encoding/base64",typ:$funcType([P,P,$Int],[$Int,$Int,$error],false)},{prop:"DecodeString",name:"DecodeString",pkg:"",typ:$funcType([$String],[P,$error],false)},{prop:"Decode",name:"Decode",pkg:"",typ:$funcType([P,P],[$Int,$error],false)},{prop:"DecodedLen",name:"DecodedLen",pkg:"",typ:$funcType([$Int],[$Int],false)}];V.methods=[{prop:"Write",name:"Write",pkg:"",typ:$funcType([P],[$Int,$error],false)},{prop:"Close",name:"Close",pkg:"",typ:$funcType([],[$error],false)}];H.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];D.init("encoding/base64",[{prop:"encode",name:"encode",embedded:false,exported:false,typ:N,tag:""},{prop:"decodeMap",name:"decodeMap",embedded:false,exported:false,typ:O,tag:""},{prop:"padChar",name:"padChar",embedded:false,exported:false,typ:$Int32,tag:""},{prop:"strict",name:"strict",embedded:false,exported:false,typ:$Bool,tag:""}]);F.init("encoding/base64",[{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""},{prop:"enc",name:"enc",embedded:false,exported:false,typ:Q,tag:""},{prop:"w",name:"w",embedded:false,exported:false,typ:B.Writer,tag:""},{prop:"buf",name:"buf",embedded:false,exported:false,typ:R,tag:""},{prop:"nbuf",name:"nbuf",embedded:false,exported:false,typ:$Int,tag:""},{prop:"out",name:"out",embedded:false,exported:false,typ:S,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.StdEncoding=E("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");$pkg.URLEncoding=E("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_");$pkg.RawStdEncoding=$clone($pkg.StdEncoding,D).WithPadding(-1);$pkg.RawURLEncoding=$clone($pkg.URLEncoding,D).WithPadding(-1);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["unicode/utf16"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["encoding/json"]=(function(){var $pkg={},$init,C,H,I,D,J,G,E,K,L,M,F,A,N,O,B,P,AD,AE,CA,CB,CC,CE,CG,CJ,CL,CM,DB,DI,DJ,DL,DO,DQ,DS,DU,DY,DZ,EA,EK,EV,EX,EY,EZ,FA,FB,FG,FH,FI,FJ,FK,FL,FM,FO,FU,FV,FW,FX,FZ,GA,GB,GC,GD,R,S,AF,CF,CH,CN,CQ,CR,DC,DD,ED,EQ,ER,a,b,c,Q,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BQ,BT,BU,BV,BW,BX,BZ,CI,CK,CO,CP,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DE,DF,DG,DH,DK,DM,DN,DP,DR,DT,DV,DW,DX,EB,EC,EE;C=$packages["bytes"];H=$packages["encoding"];I=$packages["encoding/base64"];D=$packages["errors"];J=$packages["fmt"];G=$packages["github.com/gopherjs/gopherjs/nosync"];E=$packages["io"];K=$packages["math"];L=$packages["reflect"];M=$packages["sort"];F=$packages["strconv"];A=$packages["strings"];N=$packages["unicode"];O=$packages["unicode/utf16"];B=$packages["unicode/utf8"];P=$pkg.tagOptions=$newType(8,$kindString,"json.tagOptions",true,"encoding/json",false,null);AD=$pkg.SyntaxError=$newType(0,$kindStruct,"json.SyntaxError",true,"encoding/json",true,function(msg_,Offset_){this.$val=this;if(arguments.length===0){this.msg="";this.Offset=new $Int64(0,0);return;}this.msg=msg_;this.Offset=Offset_;});AE=$pkg.scanner=$newType(0,$kindStruct,"json.scanner",true,"encoding/json",false,function(step_,endTop_,parseState_,err_,bytes_){this.$val=this;if(arguments.length===0){this.step=$throwNilPointerError;this.endTop=false;this.parseState=EX.nil;this.err=$ifaceNil;this.bytes=new $Int64(0,0);return;}this.step=step_;this.endTop=endTop_;this.parseState=parseState_;this.err=err_;this.bytes=bytes_;});CA=$pkg.Marshaler=$newType(8,$kindInterface,"json.Marshaler",true,"encoding/json",true,null);CB=$pkg.UnsupportedTypeError=$newType(0,$kindStruct,"json.UnsupportedTypeError",true,"encoding/json",true,function(Type_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;return;}this.Type=Type_;});CC=$pkg.UnsupportedValueError=$newType(0,$kindStruct,"json.UnsupportedValueError",true,"encoding/json",true,function(Value_,Str_){this.$val=this;if(arguments.length===0){this.Value=new L.Value.ptr(FO.nil,0,0);this.Str="";return;}this.Value=Value_;this.Str=Str_;});CE=$pkg.MarshalerError=$newType(0,$kindStruct,"json.MarshalerError",true,"encoding/json",true,function(Type_,Err_,sourceFunc_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;this.Err=$ifaceNil;this.sourceFunc="";return;}this.Type=Type_;this.Err=Err_;this.sourceFunc=sourceFunc_;});CG=$pkg.encodeState=$newType(0,$kindStruct,"json.encodeState",true,"encoding/json",false,function(Buffer_,scratch_,ptrLevel_,ptrSeen_){this.$val=this;if(arguments.length===0){this.Buffer=new C.Buffer.ptr(FA.nil,0,0);this.scratch=FI.zero();this.ptrLevel=0;this.ptrSeen=false;return;}this.Buffer=Buffer_;this.scratch=scratch_;this.ptrLevel=ptrLevel_;this.ptrSeen=ptrSeen_;});CJ=$pkg.jsonError=$newType(0,$kindStruct,"json.jsonError",true,"encoding/json",false,function(error_){this.$val=this;if(arguments.length===0){this.error=$ifaceNil;return;}this.error=error_;});CL=$pkg.encOpts=$newType(0,$kindStruct,"json.encOpts",true,"encoding/json",false,function(quoted_,escapeHTML_){this.$val=this;if(arguments.length===0){this.quoted=false;this.escapeHTML=false;return;}this.quoted=quoted_;this.escapeHTML=escapeHTML_;});CM=$pkg.encoderFunc=$newType(4,$kindFunc,"json.encoderFunc",true,"encoding/json",false,null);DB=$pkg.floatEncoder=$newType(4,$kindInt,"json.floatEncoder",true,"encoding/json",false,null);DI=$pkg.structEncoder=$newType(0,$kindStruct,"json.structEncoder",true,"encoding/json",false,function(fields_){this.$val=this;if(arguments.length===0){this.fields=new DJ.ptr(FJ.nil,false);return;}this.fields=fields_;});DJ=$pkg.structFields=$newType(0,$kindStruct,"json.structFields",true,"encoding/json",false,function(list_,nameIndex_){this.$val=this;if(arguments.length===0){this.list=FJ.nil;this.nameIndex=false;return;}this.list=list_;this.nameIndex=nameIndex_;});DL=$pkg.mapEncoder=$newType(0,$kindStruct,"json.mapEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DO=$pkg.sliceEncoder=$newType(0,$kindStruct,"json.sliceEncoder",true,"encoding/json",false,function(arrayEnc_){this.$val=this;if(arguments.length===0){this.arrayEnc=$throwNilPointerError;return;}this.arrayEnc=arrayEnc_;});DQ=$pkg.arrayEncoder=$newType(0,$kindStruct,"json.arrayEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DS=$pkg.ptrEncoder=$newType(0,$kindStruct,"json.ptrEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DU=$pkg.condAddrEncoder=$newType(0,$kindStruct,"json.condAddrEncoder",true,"encoding/json",false,function(canAddrEnc_,elseEnc_){this.$val=this;if(arguments.length===0){this.canAddrEnc=$throwNilPointerError;this.elseEnc=$throwNilPointerError;return;}this.canAddrEnc=canAddrEnc_;this.elseEnc=elseEnc_;});DY=$pkg.reflectWithString=$newType(0,$kindStruct,"json.reflectWithString",true,"encoding/json",false,function(k_,v_,ks_){this.$val=this;if(arguments.length===0){this.k=new L.Value.ptr(FO.nil,0,0);this.v=new L.Value.ptr(FO.nil,0,0);this.ks="";return;}this.k=k_;this.v=v_;this.ks=ks_;});DZ=$pkg.field=$newType(0,$kindStruct,"json.field",true,"encoding/json",false,function(name_,nameBytes_,equalFold_,nameNonEsc_,nameEscHTML_,tag_,index_,typ_,omitEmpty_,quoted_,encoder_){this.$val=this;if(arguments.length===0){this.name="";this.nameBytes=FA.nil;this.equalFold=$throwNilPointerError;this.nameNonEsc="";this.nameEscHTML="";this.tag=false;this.index=EX.nil;this.typ=$ifaceNil;this.omitEmpty=false;this.quoted=false;this.encoder=$throwNilPointerError;return;}this.name=name_;this.nameBytes=nameBytes_;this.equalFold=equalFold_;this.nameNonEsc=nameNonEsc_;this.nameEscHTML=nameEscHTML_;this.tag=tag_;this.index=index_;this.typ=typ_;this.omitEmpty=omitEmpty_;this.quoted=quoted_;this.encoder=encoder_;});EA=$pkg.byIndex=$newType(12,$kindSlice,"json.byIndex",true,"encoding/json",false,null);EK=$pkg.Number=$newType(8,$kindString,"json.Number",true,"encoding/json",true,null);EV=$sliceType($emptyInterface);EX=$sliceType($Int);EY=$ptrType(CA);EZ=$ptrType(H.TextMarshaler);FA=$sliceType($Uint8);FB=$ptrType(H.TextUnmarshaler);FG=$ptrType(AE);FH=$ptrType(CG);FI=$arrayType($Uint8,64);FJ=$sliceType(DZ);FK=$structType("",[]);FL=$sliceType(DY);FM=$structType("encoding/json",[{prop:"ptr",name:"ptr",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"len",name:"len",embedded:false,exported:false,typ:$Int,tag:""}]);FO=$ptrType(L.rtype);FU=$ptrType(AD);FV=$funcType([FG,$Uint8],[$Int],false);FW=$ptrType(CB);FX=$ptrType(CC);FZ=$ptrType(CE);GA=$mapType($emptyInterface,FK);GB=$mapType($String,$Int);GC=$ptrType(DY);GD=$funcType([FA,FA],[$Bool],false);Q=function(d){var d,e,f;e=A.Cut(d,",");d=e[0];f=e[1];return[d,(f)];};P.prototype.Contains=function(d){var d,e,f,g,h;e=this.$val;if(e.length===0){return false;}f=(e);while(true){if(!(!(f===""))){break;}g="";h=A.Cut(f,",");g=h[0];f=h[1];if(g===d){return true;}}return false;};$ptrType(P).prototype.Contains=function(d){return new P(this.$get()).Contains(d);};AD.ptr.prototype.Error=function(){var d;d=this;return d.msg;};AD.prototype.Error=function(){return this.$val.Error();};AG=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=AF.Get();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$assertType(d,FG);e.bytes=new $Int64(0,0);e.reset();$s=-1;return e;}return;}var $f={$blk:AG,$c:true,$r,d,e,$s};return $f;};AH=function(d){var d;if(d.parseState.$length>1024){d.parseState=EX.nil;}AF.Put(d);};AE.ptr.prototype.reset=function(){var d;d=this;d.step=AK;d.parseState=$subslice(d.parseState,0,0);d.err=$ifaceNil;d.endTop=false;};AE.prototype.reset=function(){return this.$val.reset();};AE.ptr.prototype.eof=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){$s=-1;return 11;}if(d.endTop){$s=-1;return 10;}e=d.step(d,32);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;if(d.endTop){$s=-1;return 10;}if($interfaceIsEqual(d.err,$ifaceNil)){d.err=new AD.ptr("unexpected end of JSON input",d.bytes);}$s=-1;return 11;}return;}var $f={$blk:AE.ptr.prototype.eof,$c:true,$r,d,e,$s};return $f;};AE.prototype.eof=function(){return this.$val.eof();};AE.ptr.prototype.pushParseState=function(d,e,f){var d,e,f,g;g=this;g.parseState=$append(g.parseState,e);if(g.parseState.$length<=10000){return f;}return g.error(d,"exceeded max depth");};AE.prototype.pushParseState=function(d,e,f){return this.$val.pushParseState(d,e,f);};AE.ptr.prototype.popParseState=function(){var d,e;d=this;e=d.parseState.$length-1>>0;d.parseState=$subslice(d.parseState,0,e);if(e===0){d.step=AO;d.endTop=true;}else{d.step=AN;}};AE.prototype.popParseState=function(){return this.$val.popParseState();};AI=function(d){var d;return d<=32&&((d===32)||(d===9)||(d===13)||(d===10));};AJ=function(d,e){var d,e;if(AI(e)){return 9;}if(e===93){return AN(d,e);}return AK(d,e);};AK=function(d,e){var d,e,f;if(AI(e)){return 9;}f=e;if(f===(123)){d.step=AL;return d.pushParseState(e,0,2);}else if(f===(91)){d.step=AJ;return d.pushParseState(e,2,6);}else if(f===(34)){d.step=AP;return 1;}else if(f===(45)){d.step=AV;return 1;}else if(f===(48)){d.step=AX;return 1;}else if(f===(116)){d.step=BD;return 1;}else if(f===(102)){d.step=BG;return 1;}else if(f===(110)){d.step=BK;return 1;}if(49<=e&&e<=57){d.step=AW;return 1;}return d.error(e,"looking for beginning of value");};AL=function(d,e){var d,e,f,g,h;if(AI(e)){return 9;}if(e===125){f=d.parseState.$length;(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]=1));return AN(d,e);}return AM(d,e);};AM=function(d,e){var d,e;if(AI(e)){return 9;}if(e===34){d.step=AP;return 1;}return d.error(e,"looking for beginning of object key string");};AN=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d.parseState.$length;if(f===0){d.step=AO;d.endTop=true;return AO(d,e);}if(AI(e)){d.step=AN;return 9;}i=(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));j=i;if(j===(0)){if(e===58){(k=d.parseState,l=f-1>>0,((l<0||l>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]=1));d.step=AK;return 3;}return d.error(e,"after object key");}else if(j===(1)){if(e===44){(m=d.parseState,n=f-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]=0));d.step=AM;return 4;}if(e===125){d.popParseState();return 5;}return d.error(e,"after object key:value pair");}else if(j===(2)){if(e===44){d.step=AK;return 7;}if(e===93){d.popParseState();return 8;}return d.error(e,"after array element");}return d.error(e,"");};AO=function(d,e){var d,e;if(!AI(e)){d.error(e,"after top-level value");}return 10;};AP=function(d,e){var d,e;if(e===34){d.step=AN;return 0;}if(e===92){d.step=AQ;return 0;}if(e<32){return d.error(e,"in string literal");}return 0;};AQ=function(d,e){var d,e,f;f=e;if((f===(98))||(f===(102))||(f===(110))||(f===(114))||(f===(116))||(f===(92))||(f===(47))||(f===(34))){d.step=AP;return 0;}else if(f===(117)){d.step=AR;return 0;}return d.error(e,"in string escape code");};AR=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AS;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AS=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AT;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AT=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AU;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AU=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AP;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AV=function(d,e){var d,e;if(e===48){d.step=AX;return 0;}if(49<=e&&e<=57){d.step=AW;return 0;}return d.error(e,"in numeric literal");};AW=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AW;return 0;}return AX(d,e);};AX=function(d,e){var d,e;if(e===46){d.step=AY;return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};AY=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AZ;return 0;}return d.error(e,"after decimal point in numeric literal");};AZ=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};BA=function(d,e){var d,e;if((e===43)||(e===45)){d.step=BB;return 0;}return BB(d,e);};BB=function(d,e){var d,e;if(48<=e&&e<=57){d.step=BC;return 0;}return d.error(e,"in exponent of numeric literal");};BC=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}return AN(d,e);};BD=function(d,e){var d,e;if(e===114){d.step=BE;return 0;}return d.error(e,"in literal true (expecting 'r')");};BE=function(d,e){var d,e;if(e===117){d.step=BF;return 0;}return d.error(e,"in literal true (expecting 'u')");};BF=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal true (expecting 'e')");};BG=function(d,e){var d,e;if(e===97){d.step=BH;return 0;}return d.error(e,"in literal false (expecting 'a')");};BH=function(d,e){var d,e;if(e===108){d.step=BI;return 0;}return d.error(e,"in literal false (expecting 'l')");};BI=function(d,e){var d,e;if(e===115){d.step=BJ;return 0;}return d.error(e,"in literal false (expecting 's')");};BJ=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal false (expecting 'e')");};BK=function(d,e){var d,e;if(e===117){d.step=BL;return 0;}return d.error(e,"in literal null (expecting 'u')");};BL=function(d,e){var d,e;if(e===108){d.step=BM;return 0;}return d.error(e,"in literal null (expecting 'l')");};BM=function(d,e){var d,e;if(e===108){d.step=AN;return 0;}return d.error(e,"in literal null (expecting 'l')");};BN=function(d,e){var d,e;return 11;};AE.ptr.prototype.error=function(d,e){var d,e,f;f=this;f.step=BN;f.err=new AD.ptr("invalid character "+BO(d)+" "+e,f.bytes);return 11;};AE.prototype.error=function(d,e){return this.$val.error(d,e);};BO=function(d){var d,e;if(d===39){return"'\\''";}if(d===34){return"'\"'";}e=F.Quote(($encodeRune(d)));return"'"+$substring(e,1,(e.length-1>>0))+"'";};BQ=function(d,e,f){var{aa,ab,ac,ad,ae,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=d.Len();h=AG();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$deferred.push([AH,[i]]);j=0;k=e;l=0;case 2:if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if(f&&((n===60)||(n===62)||(n===38))){$s=4;continue;}$s=5;continue;case 4:if(j>>4<<24>>>24)));$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=d.WriteByte(CF.charCodeAt(((n&15)>>>0)));$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;j=m+1>>0;case 5:if(f&&(n===226)&&(m+2>>0)>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))===128)&&((((t=m+2>>0,((t<0||t>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+t]))&~1)<<24>>>24)===168)){$s=12;continue;}$s=13;continue;case 12:if(j>0,((w<0||w>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+w]))&15)>>>0)));$s=18;case 18:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;j=m+3>>0;case 13:y=i.step(i,n);$s=19;case 19:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(z>=9){$s=20;continue;}$s=21;continue;case 20:if(z===11){$s=3;continue;}if(j>0;case 21:l++;$s=2;continue;case 3:ab=i.eof();$s=27;case 27:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(ab===11){$s=25;continue;}$s=26;continue;case 25:d.Truncate(g);ac=i.err;$s=28;case 28:return ac;case 26:if(j=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=128){return C.EqualFold;}j=(i&223)>>>0;if(j<65||j>90){e=true;}else if((j===75)||(j===83)){f=true;}h++;}if(f){return BU;}if(e){return BV;}return BW;};BU=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(e.$length===0){return false;}i=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if(i<128){if(!((h===i))){j=(h&223)>>>0;if(65<=j&&j<=90){if(!((j===((i&223)>>>0)))){return false;}}else{return false;}}e=$subslice(e,1);g++;continue;}k=B.DecodeRune(e);l=k[0];m=k[1];n=h;if((n===(115))||(n===(83))){if(!((l===383))){return false;}}else if((n===(107))||(n===(75))){if(!((l===8490))){return false;}}else{return false;}e=$subslice(e,m);g++;}if(e.$length>0){return false;}return true;};BV=function(d,e){var d,e,f,g,h,i,j;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h]);if(i===j){g++;continue;}if((97<=i&&i<=122)||(65<=i&&i<=90)){if(!((((i&223)>>>0)===((j&223)>>>0)))){return false;}}else{return false;}g++;}return true;};BW=function(d,e){var d,e,f,g,h,i;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!((((i&223)>>>0)===((((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h])&223)>>>0)))){return false;}g++;}return true;};BX=function(d){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=CI();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=f.marshal(d,new CL.ptr(false,true));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[FA.nil,h];}i=$appendSlice((FA.nil),f.Buffer.Bytes());CH.Put(f);$s=-1;return[i,$ifaceNil];}return;}var $f={$blk:BX,$c:true,$r,d,e,f,g,h,i,$s};return $f;};$pkg.Marshal=BX;BZ=function(d,e){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=0;g=e;h=0;case 1:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if((j===60)||(j===62)||(j===38)){$s=3;continue;}$s=4;continue;case 3:if(f>>4<<24>>>24)));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=d.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;f=i+1>>0;case 4:if((j===226)&&(i+2>>0)>0,((o<0||o>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+o]))===128)&&((((p=i+2>>0,((p<0||p>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+p]))&~1)<<24>>>24)===168)){$s=11;continue;}$s=12;continue;case 11:if(f>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))&15)>>>0)));$s=17;case 17:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;f=i+3>>0;case 12:h++;$s=1;continue;case 2:if(f0){$panic(new $String("ptrEncoder.encode should have emptied ptrSeen via defers"));}f.ptrLevel=0;$s=-1;return f;}$s=-1;return new CG.ptr(new C.Buffer.ptr(FA.nil,0,0),FI.zero(),0,new $global.Map());}return;}var $f={$blk:CI,$c:true,$r,d,e,f,$s};return $f;};CG.ptr.prototype.marshal=function(d,e){var{d,e,f,g,h,i,$s,$deferred,$r,$c}=$restore(this,{d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=[f];f[0]=$ifaceNil;g=this;$deferred.push([(function(f){return function(){var h,i,j,k;h=$recover();if(!($interfaceIsEqual(h,$ifaceNil))){i=$assertType(h,CJ,true);j=$clone(i[0],CJ);k=i[1];if(k){f[0]=j.error;}else{$panic(h);}}};})(f),[]]);h=L.ValueOf(d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=g.reflectValue($clone(h,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f[0]=$ifaceNil;i=f[0];$s=3;case 3:return i;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return f[0];}if($curGoroutine.asleep){var $f={$blk:CG.ptr.prototype.marshal,$c:true,$r,d,e,f,g,h,i,$s,$deferred};return $f;}}};CG.prototype.marshal=function(d,e){return this.$val.marshal(d,e);};CG.ptr.prototype.error=function(d){var d,e,f;e=this;$panic((f=new CJ.ptr(d),new f.constructor.elem(f)));};CG.prototype.error=function(d){return this.$val.error(d);};CK=function(d){var d,e,f,g;e=$clone(d,L.Value).Kind();if((e===(17))||(e===(21))||(e===(23))||(e===(24))){return $clone(d,L.Value).Len()===0;}else if(e===(1)){return!$clone(d,L.Value).Bool();}else if((e===(2))||(e===(3))||(e===(4))||(e===(5))||(e===(6))){return(f=$clone(d,L.Value).Int(),(f.$high===0&&f.$low===0));}else if((e===(7))||(e===(8))||(e===(9))||(e===(10))||(e===(11))||(e===(12))){return(g=$clone(d,L.Value).Uint(),(g.$high===0&&g.$low===0));}else if((e===(13))||(e===(14))){return $clone(d,L.Value).Float()===0;}else if((e===(20))||(e===(22))){return $clone(d,L.Value).IsNil();}return false;};CG.ptr.prototype.reflectValue=function(d,e){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=CO($clone(d,L.Value));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=g(f,$clone(d,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.reflectValue,$c:true,$r,d,e,f,g,$s};return $f;};CG.prototype.reflectValue=function(d,e){return this.$val.reflectValue(d,e);};CO=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:if(!$clone(d,L.Value).IsValid()){$s=-1;return CT;}e=CP($clone(d,L.Value).Type());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:CO,$c:true,$r,d,e,f,$s};return $f;};CP=function(d){var{d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=CN.Load(d);h=g[0];i=g[1];if(i){$s=-1;return $assertType(h,CM);}f[0]=new G.WaitGroup.ptr(0);e[0]=$throwNilPointerError;f[0].Add(1);j=CN.LoadOrStore(d,new CM(((function(e,f){return function $b(k,l,m){var{k,l,m,$s,$r,$c}=$restore(this,{k,l,m});$s=$s||0;s:while(true){switch($s){case 0:f[0].Wait();$r=e[0](k,$clone(l,L.Value),$clone(m,CL));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:$b,$c:true,$r,k,l,m,$s};return $f;};})(e,f))));k=j[0];l=j[1];if(l){$s=-1;return $assertType(k,CM);}m=CS(d,true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}e[0]=m;f[0].Done();CN.Store(d,new CM(e[0]));$s=-1;return e[0];}return;}var $f={$blk:CP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CS=function(d,e){var{aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:g=d.Kind();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!(!((g===22))&&e)){f=false;$s=3;continue s;}h=L.PointerTo(d).Implements(CQ);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 3:if(f){$s=1;continue;}$s=2;continue;case 1:i=CV;j=CS(d,false);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=DV(i,k);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=8;case 8:return m;case 2:n=d.Implements(CQ);$s=11;case 11:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}if(n){$s=9;continue;}$s=10;continue;case 9:$s=-1;return CU;case 10:p=d.Kind();$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(!(!((p===22))&&e)){o=false;$s=14;continue s;}q=L.PointerTo(d).Implements(CR);$s=16;case 16:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;case 14:if(o){$s=12;continue;}$s=13;continue;case 12:r=CX;s=CS(d,false);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=DV(r,t);$s=18;case 18:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;$s=19;case 19:return v;case 13:w=d.Implements(CR);$s=22;case 22:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(w){$s=20;continue;}$s=21;continue;case 20:$s=-1;return CW;case 21:x=d.Kind();$s=24;case 24:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(y===(1)){$s=25;continue;}if((y===(2))||(y===(3))||(y===(4))||(y===(5))||(y===(6))){$s=26;continue;}if((y===(7))||(y===(8))||(y===(9))||(y===(10))||(y===(11))||(y===(12))){$s=27;continue;}if(y===(13)){$s=28;continue;}if(y===(14)){$s=29;continue;}if(y===(24)){$s=30;continue;}if(y===(20)){$s=31;continue;}if(y===(25)){$s=32;continue;}if(y===(21)){$s=33;continue;}if(y===(23)){$s=34;continue;}if(y===(17)){$s=35;continue;}if(y===(22)){$s=36;continue;}$s=37;continue;case 25:$s=-1;return CY;case 26:$s=-1;return CZ;case 27:$s=-1;return DA;case 28:$s=-1;return DC;case 29:$s=-1;return DD;case 30:$s=-1;return DE;case 31:$s=-1;return DG;case 32:z=DK(d);$s=39;case 39:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;$s=40;case 40:return aa;case 33:ab=DM(d);$s=41;case 41:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;$s=42;case 42:return ac;case 34:ad=DP(d);$s=43;case 43:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;$s=44;case 44:return ae;case 35:af=DR(d);$s=45;case 45:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;$s=46;case 46:return ag;case 36:ah=DT(d);$s=47;case 47:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=ah;$s=48;case 48:return ai;case 37:$s=-1;return DH;case 38:case 23:$s=-1;return $throwNilPointerError;}return;}var $f={$blk:CS,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CT=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=d.Buffer.WriteString("null");$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}var $f={$blk:CT,$c:true,$r,d,e,f,g,$s};return $f;};CU=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,CA,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalJSON();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if($interfaceIsEqual(p,$ifaceNil)){$s=9;continue;}$s=10;continue;case 9:q=BQ(d.Buffer,o,f.escapeHTML);$s=11;case 11:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;case 10:if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CU,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};CV=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,CA);l=j.MarshalJSON();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if($interfaceIsEqual(n,$ifaceNil)){$s=6;continue;}$s=7;continue;case 6:o=BQ(d.Buffer,m,f.escapeHTML);$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;case 7:if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CV,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CW=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,H.TextMarshaler,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalText();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalText"));}$r=d.stringBytes(o,f.escapeHTML);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CW,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};CX=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,H.TextMarshaler);l=j.MarshalText();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalText"));}$r=d.stringBytes(m,f.escapeHTML);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CX,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};CY=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f.quoted){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:if($clone(e,L.Value).Bool()){$s=4;continue;}$s=5;continue;case 4:h=d.Buffer.WriteString("true");$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=6;continue;case 5:i=d.Buffer.WriteString("false");$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:if(f.quoted){$s=9;continue;}$s=10;continue;case 9:j=d.Buffer.WriteByte(34);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 10:$s=-1;return;}return;}var $f={$blk:CY,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};CZ=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendInt($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Int(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:CZ,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DA=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendUint($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Uint(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:DA,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DB.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this.$val;h=$clone(e,L.Value).Float();if(K.IsInf(h,0)||K.IsNaN(h)){d.error(new CC.ptr($clone(e,L.Value),F.FormatFloat(h,103,-1,((g>>0)))));}i=$subslice(new FA(d.scratch),0,0);j=K.Abs(h);k=102;if(!((j===0))){if((g===64)&&(j<1e-06||j>=1e+21)||(g===32)&&(($fround(j))<9.999999974752427e-07||($fround(j))>=1.0000000200408773e+21)){k=101;}}i=F.AppendFloat(i,h,k,-1,((g>>0)));if(k===101){l=i.$length;if(l>=4&&((m=l-4>>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]))===101)&&((n=l-3>>0,((n<0||n>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+n]))===45)&&((o=l-2>>0,((o<0||o>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+o]))===48)){(q=l-2>>0,((q<0||q>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+q]=(p=l-1>>0,((p<0||p>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+p]))));i=$subslice(i,0,(l-1>>0));}}if(f.quoted){$s=1;continue;}$s=2;continue;case 1:r=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 2:s=d.Buffer.Write(i);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:t=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 6:$s=-1;return;}return;}var $f={$blk:DB.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$ptrType(DB).prototype.encode=function(d,e,f){return new DB(this.$get()).encode(d,e,f);};DE=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($interfaceIsEqual($clone(e,L.Value).Type(),ER)){$s=1;continue;}$s=2;continue;case 1:g=$clone(e,L.Value).String();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===""){h="0";}if(!DF(h)){$s=4;continue;}$s=5;continue;case 4:i=J.Errorf("json: invalid number literal %q",new EV([new $String(h)]));$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$r=d.error(i);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(f.quoted){$s=8;continue;}$s=9;continue;case 8:j=d.Buffer.WriteByte(34);$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 9:k=d.Buffer.WriteString(h);$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;if(f.quoted){$s=12;continue;}$s=13;continue;case 12:l=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;case 13:$s=-1;return;case 2:if(f.quoted){$s=15;continue;}$s=16;continue;case 15:m=CI();$s=18;case 18:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=$clone(e,L.Value).String();$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=n.string(o,f.escapeHTML);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.stringBytes(n.Buffer.Bytes(),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH.Put(n);$s=17;continue;case 16:p=$clone(e,L.Value).String();$s=22;case 22:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=d.string(p,f.escapeHTML);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return;}return;}var $f={$blk:DE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DF=function(d){var d;if(d===""){return false;}if(d.charCodeAt(0)===45){d=$substring(d,1);if(d===""){return false;}}if((d.charCodeAt(0)===48)){d=$substring(d,1);}else if(49<=d.charCodeAt(0)&&d.charCodeAt(0)<=57){d=$substring(d,1);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}else{return false;}if(d.length>=2&&(d.charCodeAt(0)===46)&&48<=d.charCodeAt(1)&&d.charCodeAt(1)<=57){d=$substring(d,2);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}if(d.length>=2&&((d.charCodeAt(0)===101)||(d.charCodeAt(0)===69))){d=$substring(d,1);if((d.charCodeAt(0)===43)||(d.charCodeAt(0)===45)){d=$substring(d,1);if(d===""){return false;}}while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}return d==="";};DG=function(d,e,f){var{d,e,f,g,h,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Elem();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=d.reflectValue($clone(h,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:DG,$c:true,$r,d,e,f,g,h,$s};return $f;};DH=function(d,e,f){var d,e,f;d.error(new CB.ptr($clone(e,L.Value).Type()));};DI.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=123;i=g.fields.list;j=0;case 1:if(!(j=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+k]));n=e;o=m.index;p=0;case 3:if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if($clone(n,L.Value).Kind()===22){$s=5;continue;}$s=6;continue;case 5:if($clone(n,L.Value).IsNil()){j++;$s=1;continue s;}r=$clone(n,L.Value).Elem();$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}n=r;case 6:s=$clone(n,L.Value).Field(q);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}n=s;p++;$s=3;continue;case 4:if(m.omitEmpty&&CK($clone(n,L.Value))){j++;$s=1;continue;}t=d.Buffer.WriteByte(h);$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;h=44;if(f.escapeHTML){$s=10;continue;}$s=11;continue;case 10:u=d.Buffer.WriteString(m.nameEscHTML);$s=13;case 13:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=12;continue;case 11:v=d.Buffer.WriteString(m.nameNonEsc);$s=14;case 14:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 12:f.quoted=m.quoted;$r=m.encoder(d,$clone(n,L.Value),$clone(f,CL));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j++;$s=1;continue;case 2:if(h===123){$s=16;continue;}$s=17;continue;case 16:w=d.Buffer.WriteString("{}");$s=19;case 19:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=18;continue;case 17:x=d.Buffer.WriteByte(125);$s=20;case 20:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 18:$s=-1;return;}return;}var $f={$blk:DI.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};DI.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DK=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=EE(d);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=new DI.ptr($clone(e,DJ));$s=-1;return $methodVal($clone(f,DI),"encode");}return;}var $f={$blk:DK,$c:true,$r,d,e,f,$s};return $f;};DL.ptr.prototype.encode=function(d,e,f){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=[g];h=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:i=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:j=$clone(e,L.Value).Pointer();k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new $Uintptr(j))),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=7;continue;}$s=8;continue;case 7:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:o=new $Uintptr(j);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,new $Uintptr(j)]]);case 6:r=d.Buffer.WriteByte(123);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g[0]=$makeSlice(FL,$clone(e,L.Value).Len());s=$clone(e,L.Value).MapRange();t=0;case 12:u=s.Next();$s=14;case 14:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!(u)){$s=13;continue;}v=s.Key();$s=15;case 15:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).k=v;w=s.Value();$s=16;case 16:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).v=w;x=((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).resolve();$s=17;case 17:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){$s=18;continue;}$s=19;continue;case 18:z=$clone(e,L.Value).Type().String();$s=20;case 20:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=new $String(z);ab=y.Error();$s=21;case 21:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=new $String(ab);ad=J.Errorf("json: encoding error for type %q: %q",new EV([aa,ac]));$s=22;case 22:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}$r=d.error(ad);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:t=t+(1)>>0;$s=12;continue;case 13:$r=M.Slice(g[0],(function(g){return function(ae,af){var ae,af;return((ae<0||ae>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+ae]).ks<((af<0||af>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+af]).ks;};})(g));$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ae=g[0];af=0;case 25:if(!(af=ae.$length)?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+af]),DY);if(ag>0){$s=27;continue;}$s=28;continue;case 27:ai=d.Buffer.WriteByte(44);$s=29;case 29:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;case 28:$r=d.string(ah.ks,f.escapeHTML);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aj=d.Buffer.WriteByte(58);$s=31;case 31:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$r=h.elemEnc(d,$clone(ah.v,L.Value),$clone(f,CL));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}af++;$s=25;continue;case 26:ak=d.Buffer.WriteByte(125);$s=33;case 33:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DL.ptr.prototype.encode,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};DL.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DM=function(d){var{d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Key();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if((g===(24))||(g===(2))||(g===(3))||(g===(4))||(g===(5))||(g===(6))||(g===(7))||(g===(8))||(g===(9))||(g===(10))||(g===(11))||(g===(12))){$s=4;continue;}h=d.Key();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h.Implements(CR);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=5;continue;}$s=6;continue;case 4:$s=6;continue;case 5:$s=-1;return DH;case 6:case 1:j=d.Elem();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=CP(j);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=new DL.ptr(k);$s=-1;return $methodVal($clone(l,DL),"encode");}return;}var $f={$blk:DM,$c:true,$r,d,e,f,g,h,i,j,k,l,$s};return $f;};DN=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Bytes();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=d.Buffer.WriteByte(34);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=I.StdEncoding.EncodedLen(i.$length);if(k<=64){$s=6;continue;}if(k<=1024){$s=7;continue;}$s=8;continue;case 6:l=$subslice(new FA(d.scratch),0,k);I.StdEncoding.Encode(l,i);m=d.Buffer.Write(l);$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=9;continue;case 7:n=$makeSlice(FA,k);I.StdEncoding.Encode(n,i);o=d.Buffer.Write(n);$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=9;continue;case 8:p=I.NewEncoder(I.StdEncoding,d);q=p.Write(i);$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=p.Close();$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 9:s=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return;}return;}var $f={$blk:DN,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};DO.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=new FM.ptr($clone(e,L.Value).Pointer(),$clone(e,L.Value).Len());j=(k=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new i.constructor.elem(i))),k!==undefined?[k.v,true]:[new FK.ptr(),false]);l=j[1];if(l){$s=7;continue;}$s=8;continue;case 7:m=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),m));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:n=new i.constructor.elem(i);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(n),{k:n,v:new FK.ptr()});$deferred.push([function(o,p){$mapDelete(o,$emptyInterface.keyFor(p));},[d.ptrSeen,new i.constructor.elem(i)]]);case 6:$r=g.arrayEnc(d,$clone(e,L.Value),$clone(f,CL));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DO.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};DO.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DP=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f===8){$s=1;continue;}$s=2;continue;case 1:g=d.Elem();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=L.PointerTo(g);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;k=i.Implements(CQ);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(!(!k)){j=false;$s=9;continue s;}l=i.Implements(CR);$s=11;case 11:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=!l;case 9:if(j){$s=7;continue;}$s=8;continue;case 7:$s=-1;return DN;case 8:case 2:m=DR(d);$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=new DO.ptr(m);$s=-1;return $methodVal($clone(n,DO),"encode");}return;}var $f={$blk:DP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DQ.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=d.Buffer.WriteByte(91);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=$clone(e,L.Value).Len();j=0;case 2:if(!(j0){$s=4;continue;}$s=5;continue;case 4:k=d.Buffer.WriteByte(44);$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;case 5:l=d;m=$clone(e,L.Value).Index(j);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=$clone(m,L.Value);o=$clone(f,CL);$r=g.elemEnc(l,n,o);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=j+(1)>>0;$s=2;continue;case 3:p=d.Buffer.WriteByte(93);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=-1;return;}return;}var $f={$blk:DQ.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DQ.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DR=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DQ.ptr(f);$s=-1;return $methodVal($clone(g,DQ),"encode");}return;}var $f={$blk:DR,$c:true,$r,d,e,f,g,$s};return $f;};DS.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=$clone(e,L.Value).Interface();$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(j)),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=8;continue;}$s=9;continue;case 8:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:o=j;(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,j]]);case 6:r=d;s=$clone(e,L.Value).Elem();$s=12;case 12:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=$clone(s,L.Value);u=$clone(f,CL);$r=g.elemEnc(r,t,u);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DS.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred};return $f;}}};DS.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DT=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DS.ptr(f);$s=-1;return $methodVal($clone(g,DS),"encode");}return;}var $f={$blk:DT,$c:true,$r,d,e,f,g,$s};return $f;};DU.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;if($clone(e,L.Value).CanAddr()){$s=1;continue;}$s=2;continue;case 1:$r=g.canAddrEnc(d,$clone(e,L.Value),$clone(f,CL));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=g.elseEnc(d,$clone(e,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:DU.ptr.prototype.encode,$c:true,$r,d,e,f,g,$s};return $f;};DU.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DV=function(d,e){var d,e,f;f=new DU.ptr(d,e);return $methodVal($clone(f,DU),"encode");};DW=function(d){var d,e,f,g,h;if(d===""){return false;}e=d;f=0;while(true){if(!(f?@[]^_{|}~ ",h)){}else if(!N.IsLetter(h)&&!N.IsDigit(h)){return false;}f+=g[1];}return true;};DX=function(d,e){var{d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=e;g=0;case 1:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);i=d.Kind();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(i===22){$s=3;continue;}$s=4;continue;case 3:j=d.Elem();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;case 4:k=d.Field(h);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k.Type;g++;$s=1;continue;case 2:$s=-1;return d;}return;}var $f={$blk:DX,$c:true,$r,d,e,f,g,h,i,j,k,$s};return $f;};DY.ptr.prototype.resolve=function(){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if($clone(d.k,L.Value).Kind()===24){$s=1;continue;}$s=2;continue;case 1:e=$clone(d.k,L.Value).String();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.ks=e;$s=-1;return $ifaceNil;case 2:g=$clone(d.k,L.Value).Interface();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=$assertType(g,H.TextMarshaler,true);h=f[0];i=f[1];if(i){$s=5;continue;}$s=6;continue;case 5:if(($clone(d.k,L.Value).Kind()===22)&&$clone(d.k,L.Value).IsNil()){$s=-1;return $ifaceNil;}k=h.MarshalText();$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];d.ks=($bytesToString(l));$s=-1;return m;case 6:n=$clone(d.k,L.Value).Kind();if((n===(2))||(n===(3))||(n===(4))||(n===(5))||(n===(6))){d.ks=F.FormatInt($clone(d.k,L.Value).Int(),10);$s=-1;return $ifaceNil;}else if((n===(7))||(n===(8))||(n===(9))||(n===(10))||(n===(11))||(n===(12))){d.ks=F.FormatUint($clone(d.k,L.Value).Uint(),10);$s=-1;return $ifaceNil;}$panic(new $String("unexpected map key type"));$s=-1;return $ifaceNil;}return;}var $f={$blk:DY.ptr.prototype.resolve,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DY.prototype.resolve=function(){return this.$val.resolve();};CG.ptr.prototype.string=function(d,e){var{aa,ab,ac,ad,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=f.Buffer.WriteByte(34);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=0;i=0;case 2:if(!(i=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRuneInString($substring(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+i]);if(j<128){$s=4;continue;}$s=5;continue;case 4:if(((j<0||j>=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRune($subslice(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),DZ);h=$clone(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),DZ);DZ.copy(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),g);DZ.copy(((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),h);};$ptrType(EA).prototype.Swap=function(d,e){return this.$get().Swap(d,e);};EA.prototype.Less=function(d,e){var d,e,f,g,h,i,j,k,l;f=this;g=((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length){return false;}if(!((j===(k=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+i]))))){return j<(l=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+i]));}h++;}return((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index.$length<((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length;};$ptrType(EA).prototype.Less=function(d,e){return this.$get().Less(d,e);};EB=function(d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=new FJ([]);h=new FJ([new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,d,false,false,$throwNilPointerError)]);i=false;j=false;k=i;l=j;m=$makeMap(L.Type.keyFor,[]);e[0]=FJ.nil;f[0]=new C.Buffer.ptr(FA.nil,0,0);case 1:if(!(h.$length>0)){$s=2;continue;}n=h;o=$subslice(g,0,0);g=n;h=o;p=l;q=$makeMap(L.Type.keyFor,[]);k=p;l=q;r=g;s=0;case 3:if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]),DZ);if((u=$mapIndex(m,L.Type.keyFor(t.typ)),u!==undefined?u.v:false)){s++;$s=3;continue;}v=t.typ;(m||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(v),{k:v,v:true});w=0;case 5:x=t.typ.NumField();$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}if(!(w>0;$s=5;continue;case 17:$s=11;continue;case 10:w=w+(1)>>0;$s=5;continue;case 11:af=new L.StructTag(z.Tag).Get("json");if(af==="-"){w=w+(1)>>0;$s=5;continue;}ag=Q(af);ah=ag[0];ai=ag[1];if(!DW(ah)){ah="";}aj=$makeSlice(EX,(t.index.$length+1>>0));$copySlice(aj,t.index);(ak=t.index.$length,((ak<0||ak>=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]=w));al=z.Type;an=al.Name();$s=23;case 23:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!(an==="")){am=false;$s=22;continue s;}ao=al.Kind();$s=24;case 24:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao===22;case 22:if(am){$s=20;continue;}$s=21;continue;case 20:ap=al.Elem();$s=25;case 25:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}al=ap;case 21:aq=false;if(new P(ai).Contains("string")){$s=26;continue;}$s=27;continue;case 26:ar=al.Kind();$s=29;case 29:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if((as===(1))||(as===(2))||(as===(3))||(as===(4))||(as===(5))||(as===(6))||(as===(7))||(as===(8))||(as===(9))||(as===(10))||(as===(11))||(as===(12))||(as===(13))||(as===(14))||(as===(24))){aq=true;}case 28:case 27:if(!(ah==="")||!z.Anonymous){at=true;$s=32;continue s;}au=al.Kind();$s=33;case 33:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=!((au===25));case 32:if(at){$s=30;continue;}$s=31;continue;case 30:av=!(ah==="");if(ah===""){ah=z.Name;}aw=new DZ.ptr(ah,FA.nil,$throwNilPointerError,"","",av,aj,al,new P(ai).Contains("omitempty"),aq,$throwNilPointerError);aw.nameBytes=(new FA($stringToBytes(aw.name)));aw.equalFold=BT(aw.nameBytes);f[0].Reset();ax=f[0].WriteString("\"");$s=34;case 34:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ax;$r=BZ(f[0],aw.nameBytes);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ay=f[0].WriteString("\":");$s=36;case 36:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;aw.nameEscHTML=f[0].String();aw.nameNonEsc="\""+aw.name+"\":";e[0]=$append(e[0],aw);if((az=$mapIndex(k,L.Type.keyFor(t.typ)),az!==undefined?az.v:0)>1){e[0]=$append(e[0],(ba=e[0].$length-1>>0,((ba<0||ba>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+ba])));}w=w+(1)>>0;$s=5;continue;case 31:bb=al;(l||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(bb),{k:bb,v:(bc=$mapIndex(l,L.Type.keyFor(al)),bc!==undefined?bc.v:0)+(1)>>0});if((bd=$mapIndex(l,L.Type.keyFor(al)),bd!==undefined?bd.v:0)===1){$s=37;continue;}$s=38;continue;case 37:be=al.Name();$s=39;case 39:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}h=$append(h,new DZ.ptr(be,FA.nil,$throwNilPointerError,"","",false,aj,al,false,false,$throwNilPointerError));case 38:w=w+(1)>>0;$s=5;continue;case 6:s++;$s=3;continue;case 4:$s=1;continue;case 2:$r=M.Slice(e[0],(function(e,f){return function(bf,bg){var bf,bg,bh;bh=e[0];if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name;}if(!((((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length))){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length;}if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).tag)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag;}return($convertSliceType(bh,EA)).Less(bf,bg);};})(e,f));$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bf=$subslice(e[0],0,0);bg=0;bh=0;bi=bg;bj=bh;while(true){if(!(bj=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bj]),DZ);bl=bk.name;bi=1;while(true){if(!((bj+bi>>0)>0,((bm<0||bm>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bm])),DZ);if(!(bn.name===bl)){break;}bi=bi+(1)>>0;}if(bi===1){bf=$append(bf,bk);bj=bj+(bi)>>0;continue;}bo=EC($subslice(e[0],bj,(bj+bi>>0)));bp=$clone(bo[0],DZ);bq=bo[1];if(bq){bf=$append(bf,bp);}bj=bj+(bi)>>0;}e[0]=bf;$r=M.Sort(($convertSliceType(e[0],EA)));$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}br=e[0];bs=0;case 42:if(!(bs=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bt]);bv=DX(d,bu.index);$s=44;case 44:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=CP(bv);$s=45;case 45:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bu.encoder=bw;bs++;$s=42;continue;case 43:by=(bx=e[0].$length,((bx<0||bx>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));bz=e[0];ca=0;while(true){if(!(ca=bz.$length)?($throwRuntimeError("index out of range"),undefined):bz.$array[bz.$offset+ca]),DZ);cd=cc.name;(by||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(cd),{k:cd,v:cb});ca++;}$s=-1;return new DJ.ptr(e[0],by);}return;}var $f={$blk:EB,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};EC=function(d){var d;if(d.$length>1&&((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).index.$length===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).index.$length)&&(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).tag===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).tag){return[new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,$ifaceNil,false,false,$throwNilPointerError),false];}return[(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),true];};EE=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=ED.Load(d);f=e[0];g=e[1];if(g){$s=-1;return $assertType(f,DJ);}i=d;k=EB(d);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=(j=k,new j.constructor.elem(j));m=ED.LoadOrStore(i,l);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}h=m;n=h[0];$s=-1;return $assertType(n,DJ);}return;}var $f={$blk:EE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};EK.prototype.String=function(){var d;d=this.$val;return(d);};$ptrType(EK).prototype.String=function(){return new EK(this.$get()).String();};EK.prototype.Float64=function(){var d;d=this.$val;return F.ParseFloat((d),64);};$ptrType(EK).prototype.Float64=function(){return new EK(this.$get()).Float64();};EK.prototype.Int64=function(){var d;d=this.$val;return F.ParseInt((d),10,64);};$ptrType(EK).prototype.Int64=function(){return new EK(this.$get()).Int64();};P.methods=[{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([$String],[$Bool],false)}];FU.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FG.methods=[{prop:"reset",name:"reset",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"eof",name:"eof",pkg:"encoding/json",typ:$funcType([],[$Int],false)},{prop:"pushParseState",name:"pushParseState",pkg:"encoding/json",typ:$funcType([$Uint8,$Int,$Int],[$Int],false)},{prop:"popParseState",name:"popParseState",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$Uint8,$String],[$Int],false)}];FW.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FX.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FZ.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Unwrap",name:"Unwrap",pkg:"",typ:$funcType([],[$error],false)}];FH.methods=[{prop:"marshal",name:"marshal",pkg:"encoding/json",typ:$funcType([$emptyInterface,CL],[$error],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$error],[],false)},{prop:"reflectValue",name:"reflectValue",pkg:"encoding/json",typ:$funcType([L.Value,CL],[],false)},{prop:"string",name:"string",pkg:"encoding/json",typ:$funcType([$String,$Bool],[],false)},{prop:"stringBytes",name:"stringBytes",pkg:"encoding/json",typ:$funcType([FA,$Bool],[],false)}];DB.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DI.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DL.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DO.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DQ.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DS.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DU.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];GC.methods=[{prop:"resolve",name:"resolve",pkg:"encoding/json",typ:$funcType([],[$error],false)}];EA.methods=[{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Swap",name:"Swap",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Less",name:"Less",pkg:"",typ:$funcType([$Int,$Int],[$Bool],false)}];EK.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Float64",name:"Float64",pkg:"",typ:$funcType([],[$Float64,$error],false)},{prop:"Int64",name:"Int64",pkg:"",typ:$funcType([],[$Int64,$error],false)}];AD.init("encoding/json",[{prop:"msg",name:"msg",embedded:false,exported:false,typ:$String,tag:""},{prop:"Offset",name:"Offset",embedded:false,exported:true,typ:$Int64,tag:""}]);AE.init("encoding/json",[{prop:"step",name:"step",embedded:false,exported:false,typ:FV,tag:""},{prop:"endTop",name:"endTop",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"parseState",name:"parseState",embedded:false,exported:false,typ:EX,tag:""},{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""},{prop:"bytes",name:"bytes",embedded:false,exported:false,typ:$Int64,tag:""}]);CA.init([{prop:"MarshalJSON",name:"MarshalJSON",pkg:"",typ:$funcType([],[FA,$error],false)}]);CB.init("",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""}]);CC.init("",[{prop:"Value",name:"Value",embedded:false,exported:true,typ:L.Value,tag:""},{prop:"Str",name:"Str",embedded:false,exported:true,typ:$String,tag:""}]);CE.init("encoding/json",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""},{prop:"Err",name:"Err",embedded:false,exported:true,typ:$error,tag:""},{prop:"sourceFunc",name:"sourceFunc",embedded:false,exported:false,typ:$String,tag:""}]);CG.init("encoding/json",[{prop:"Buffer",name:"Buffer",embedded:true,exported:true,typ:C.Buffer,tag:""},{prop:"scratch",name:"scratch",embedded:false,exported:false,typ:FI,tag:""},{prop:"ptrLevel",name:"ptrLevel",embedded:false,exported:false,typ:$Uint,tag:""},{prop:"ptrSeen",name:"ptrSeen",embedded:false,exported:false,typ:GA,tag:""}]);CJ.init("encoding/json",[{prop:"error",name:"error",embedded:true,exported:false,typ:$error,tag:""}]);CL.init("encoding/json",[{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"escapeHTML",name:"escapeHTML",embedded:false,exported:false,typ:$Bool,tag:""}]);CM.init([FH,L.Value,CL],[],false);DI.init("encoding/json",[{prop:"fields",name:"fields",embedded:false,exported:false,typ:DJ,tag:""}]);DJ.init("encoding/json",[{prop:"list",name:"list",embedded:false,exported:false,typ:FJ,tag:""},{prop:"nameIndex",name:"nameIndex",embedded:false,exported:false,typ:GB,tag:""}]);DL.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DO.init("encoding/json",[{prop:"arrayEnc",name:"arrayEnc",embedded:false,exported:false,typ:CM,tag:""}]);DQ.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DS.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DU.init("encoding/json",[{prop:"canAddrEnc",name:"canAddrEnc",embedded:false,exported:false,typ:CM,tag:""},{prop:"elseEnc",name:"elseEnc",embedded:false,exported:false,typ:CM,tag:""}]);DY.init("encoding/json",[{prop:"k",name:"k",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"v",name:"v",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"ks",name:"ks",embedded:false,exported:false,typ:$String,tag:""}]);DZ.init("encoding/json",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameBytes",name:"nameBytes",embedded:false,exported:false,typ:FA,tag:""},{prop:"equalFold",name:"equalFold",embedded:false,exported:false,typ:GD,tag:""},{prop:"nameNonEsc",name:"nameNonEsc",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameEscHTML",name:"nameEscHTML",embedded:false,exported:false,typ:$String,tag:""},{prop:"tag",name:"tag",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"index",name:"index",embedded:false,exported:false,typ:EX,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:L.Type,tag:""},{prop:"omitEmpty",name:"omitEmpty",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"encoder",name:"encoder",embedded:false,exported:false,typ:CM,tag:""}]);EA.init(DZ);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH=new G.Pool.ptr(EV.nil,$throwNilPointerError);CN=new G.Map.ptr(false);ED=new G.Map.ptr(false);R=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);S=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);AF=new G.Pool.ptr(EV.nil,(function(){return new AE.ptr($throwNilPointerError,false,EX.nil,$ifaceNil,new $Int64(0,0));}));CF="0123456789abcdef";a=L.TypeOf((EY.nil)).Elem();$s=16;case 16:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}CQ=a;b=L.TypeOf((EZ.nil)).Elem();$s=17;case 17:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}CR=b;DC=$methodVal(new DB(32),"encode");DD=$methodVal(new DB(64),"encode");c=L.TypeOf((FB.nil)).Elem();$s=18;case 18:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}EQ=c;ER=L.TypeOf(new EK(""));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); -$packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,A,M,H,F,G,I,J,K,L,B,C,D,E,N,P,R,T,AL,AM,AO,AQ,AW,BC,BE,BI,BS,BV,BY,CA,CG,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DR,DT,DU,DV,DW,X,AC,AK,AZ,CD,CF,O,Q,S,U,V,W,Y,Z,AA,AB,AD,AE,AF,AG,AH,AI,AJ,AP,AR,AS,AT,AU,AV,AX,AY,BA,BD,BF,BJ,BK,BN,BO,BP,BQ,BR,BT,BU,BW,BX,BZ,CB,CH;A=$packages["bytes"];M=$packages["encoding/json"];H=$packages["github.com/88250/lute/ast"];F=$packages["github.com/88250/lute/editor"];G=$packages["github.com/88250/lute/html"];I=$packages["github.com/88250/lute/lex"];J=$packages["github.com/88250/lute/parse"];K=$packages["github.com/88250/lute/util"];L=$packages["io"];B=$packages["strconv"];C=$packages["strings"];D=$packages["unicode"];E=$packages["unicode/utf8"];N=$pkg.VditorRenderer=$newType(0,$kindStruct,"render.VditorRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,commentStackDepth_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.commentStackDepth=0;return;}this.BaseRenderer=BaseRenderer_;this.commentStackDepth=commentStackDepth_;});P=$pkg.VditorSVRenderer=$newType(0,$kindStruct,"render.VditorSVRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,nodeWriterStack_,LastOut_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.nodeWriterStack=CT.nil;this.LastOut=CI.nil;return;}this.BaseRenderer=BaseRenderer_;this.nodeWriterStack=nodeWriterStack_;this.LastOut=LastOut_;});R=$pkg.VditorIRRenderer=$newType(0,$kindStruct,"render.VditorIRRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});T=$pkg.TextBundleRenderer=$newType(0,$kindStruct,"render.TextBundleRenderer",true,"github.com/88250/lute/render",true,function(FormatRenderer_,linkPrefixes_,originalLink_){this.$val=this;if(arguments.length===0){this.FormatRenderer=CX.nil;this.linkPrefixes=CJ.nil;this.originalLink=CJ.nil;return;}this.FormatRenderer=FormatRenderer_;this.linkPrefixes=linkPrefixes_;this.originalLink=originalLink_;});AL=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AM=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AO=$pkg.Options=$newType(0,$kindStruct,"render.Options",true,"github.com/88250/lute/render",true,function(SoftBreak2HardBreak_,AutoSpace_,RenderListStyle_,CodeSyntaxHighlight_,CodeSyntaxHighlightDetectLang_,CodeSyntaxHighlightInlineStyle_,CodeSyntaxHighlightLineNum_,CodeSyntaxHighlightStyleName_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,KramdownBlockIAL_,KramdownSpanIAL_,SuperBlock_,ImageLazyLoading_,ChineseParagraphBeginningSpace_,Sanitize_,FixTermTypo_,Terms_,ToC_,HeadingID_,KramdownIALIDRenderName_,HeadingAnchor_,GFMTaskListItemClass_,VditorCodeBlockPreview_,VditorMathBlockPreview_,VditorHTMLBlockPreview_,LinkBase_,LinkPrefix_,NodeIndexStart_,ProtyleContenteditable_,KeepParagraphBeginningSpace_,ProtyleMarkNetImg_,Spellcheck_){this.$val=this;if(arguments.length===0){this.SoftBreak2HardBreak=false;this.AutoSpace=false;this.RenderListStyle=false;this.CodeSyntaxHighlight=false;this.CodeSyntaxHighlightDetectLang=false;this.CodeSyntaxHighlightInlineStyle=false;this.CodeSyntaxHighlightLineNum=false;this.CodeSyntaxHighlightStyleName="";this.VditorWYSIWYG=false;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.KramdownBlockIAL=false;this.KramdownSpanIAL=false;this.SuperBlock=false;this.ImageLazyLoading="";this.ChineseParagraphBeginningSpace=false;this.Sanitize=false;this.FixTermTypo=false;this.Terms=false;this.ToC=false;this.HeadingID=false;this.KramdownIALIDRenderName="";this.HeadingAnchor=false;this.GFMTaskListItemClass="";this.VditorCodeBlockPreview=false;this.VditorMathBlockPreview=false;this.VditorHTMLBlockPreview=false;this.LinkBase="";this.LinkPrefix="";this.NodeIndexStart=0;this.ProtyleContenteditable=false;this.KeepParagraphBeginningSpace=false;this.ProtyleMarkNetImg=false;this.Spellcheck=false;return;}this.SoftBreak2HardBreak=SoftBreak2HardBreak_;this.AutoSpace=AutoSpace_;this.RenderListStyle=RenderListStyle_;this.CodeSyntaxHighlight=CodeSyntaxHighlight_;this.CodeSyntaxHighlightDetectLang=CodeSyntaxHighlightDetectLang_;this.CodeSyntaxHighlightInlineStyle=CodeSyntaxHighlightInlineStyle_;this.CodeSyntaxHighlightLineNum=CodeSyntaxHighlightLineNum_;this.CodeSyntaxHighlightStyleName=CodeSyntaxHighlightStyleName_;this.VditorWYSIWYG=VditorWYSIWYG_;this.VditorIR=VditorIR_;this.VditorSV=VditorSV_;this.ProtyleWYSIWYG=ProtyleWYSIWYG_;this.KramdownBlockIAL=KramdownBlockIAL_;this.KramdownSpanIAL=KramdownSpanIAL_;this.SuperBlock=SuperBlock_;this.ImageLazyLoading=ImageLazyLoading_;this.ChineseParagraphBeginningSpace=ChineseParagraphBeginningSpace_;this.Sanitize=Sanitize_;this.FixTermTypo=FixTermTypo_;this.Terms=Terms_;this.ToC=ToC_;this.HeadingID=HeadingID_;this.KramdownIALIDRenderName=KramdownIALIDRenderName_;this.HeadingAnchor=HeadingAnchor_;this.GFMTaskListItemClass=GFMTaskListItemClass_;this.VditorCodeBlockPreview=VditorCodeBlockPreview_;this.VditorMathBlockPreview=VditorMathBlockPreview_;this.VditorHTMLBlockPreview=VditorHTMLBlockPreview_;this.LinkBase=LinkBase_;this.LinkPrefix=LinkPrefix_;this.NodeIndexStart=NodeIndexStart_;this.ProtyleContenteditable=ProtyleContenteditable_;this.KeepParagraphBeginningSpace=KeepParagraphBeginningSpace_;this.ProtyleMarkNetImg=ProtyleMarkNetImg_;this.Spellcheck=Spellcheck_;});AQ=$pkg.BaseRenderer=$newType(0,$kindStruct,"render.BaseRenderer",true,"github.com/88250/lute/render",true,function(Options_,RendererFuncs_,DefaultRendererFunc_,ExtRendererFuncs_,Writer_,LastOut_,Tree_,DisableTags_,FootnotesDefs_,RenderingFootnotes_){this.$val=this;if(arguments.length===0){this.Options=CZ.nil;this.RendererFuncs=false;this.DefaultRendererFunc=$throwNilPointerError;this.ExtRendererFuncs=false;this.Writer=CS.nil;this.LastOut=0;this.Tree=DA.nil;this.DisableTags=0;this.FootnotesDefs=CN.nil;this.RenderingFootnotes=false;return;}this.Options=Options_;this.RendererFuncs=RendererFuncs_;this.DefaultRendererFunc=DefaultRendererFunc_;this.ExtRendererFuncs=ExtRendererFuncs_;this.Writer=Writer_;this.LastOut=LastOut_;this.Tree=Tree_;this.DisableTags=DisableTags_;this.FootnotesDefs=FootnotesDefs_;this.RenderingFootnotes=RenderingFootnotes_;});AW=$pkg.Heading=$newType(0,$kindStruct,"render.Heading",true,"github.com/88250/lute/render",true,function(ID_,Box_,Path_,HPath_,Content_,Level_,Children_,parent_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.HPath="";this.Content="";this.Level=0;this.Children=DC.nil;this.parent=DB.nil;return;}this.ID=ID_;this.Box=Box_;this.Path=Path_;this.HPath=HPath_;this.Content=Content_;this.Level=Level_;this.Children=Children_;this.parent=parent_;});BC=$pkg.ProtyleRenderer=$newType(0,$kindStruct,"render.ProtyleRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeIndex_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeIndex=0;return;}this.BaseRenderer=BaseRenderer_;this.NodeIndex=NodeIndex_;});BE=$pkg.ProtylePreviewRenderer=$newType(0,$kindStruct,"render.ProtylePreviewRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BI=$pkg.ProtyleExportMdRenderer=$newType(0,$kindStruct,"render.ProtyleExportMdRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});BS=$pkg.KityMinderJSONRenderer=$newType(0,$kindStruct,"render.KityMinderJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BV=$pkg.JSONRenderer=$newType(0,$kindStruct,"render.JSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BY=$pkg.HtmlRenderer=$newType(0,$kindStruct,"render.HtmlRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CA=$pkg.FormatRenderer=$newType(0,$kindStruct,"render.FormatRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});CG=$pkg.EChartsJSONRenderer=$newType(0,$kindStruct,"render.EChartsJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CI=$sliceType($Uint8);CJ=$sliceType($String);CK=$ptrType(AQ);CL=$sliceType(CJ);CM=$ptrType(H.Node);CN=$sliceType(CM);CO=$ptrType(H.ListData);CP=$sliceType($Int);CQ=$sliceType(H.NodeType);CR=$ptrType(CL);CS=$ptrType(A.Buffer);CT=$sliceType(CS);CU=$ptrType(G.Node);CV=$ptrType(G.Attribute);CW=$sliceType(CV);CX=$ptrType(CA);CY=$sliceType($Int32);CZ=$ptrType(AO);DA=$ptrType(J.Tree);DB=$ptrType(AW);DC=$sliceType(DB);DD=$sliceType(CN);DE=$ptrType(J.Context);DF=$ptrType(I.Lexer);DG=$ptrType(J.InlineContext);DH=$ptrType(N);DI=$ptrType(P);DJ=$ptrType(R);DK=$ptrType(T);DL=$mapType($String,$String);DM=$mapType(H.NodeType,AL);DN=$mapType(H.NodeType,AM);DO=$ptrType(BC);DP=$ptrType(BE);DR=$ptrType(BI);DT=$ptrType(BS);DU=$ptrType(BV);DV=$ptrType(BY);DW=$ptrType(CG);O=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new N.ptr(c,0);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderMark2OpenMarker")});ck=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderMark2CloseMarker")});cl=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSup")});cm=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSupOpenMarker")});cn=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSupCloseMarker")});co=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSub")});cp=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderSubOpenMarker")});cq=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderSubCloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:O,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorRenderer=O;N.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};N.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};N.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};N.ptr.prototype.renderMark=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};N.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};N.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};N.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","=="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};N.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};N.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};N.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-marker","^"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};N.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};N.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};N.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};N.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};N.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};N.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};N.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-entity"]),new CJ(["style","display: none"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),a.HtmlEntityTokens);$r=c.BaseRenderer.Write(G.EscapeHTML(f));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=A.ReplaceAll(a.HtmlEntityTokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(g);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};N.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};N.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};N.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:N.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};N.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};N.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)&&A.EqualFold(a.Previous.Tokens,a.Tokens)){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
  • ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 4:if(!(!(CM.nil===d))){$s=5;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=4;continue;case 5:$r=c[0].BaseRenderer.WriteString("
  • ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};N.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=8;case 8:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=G.EscapeString(l);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=AS(m,24);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new CL([new CJ(["data-type","footnotes-ref"]),new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]),new CJ(["class","vditor-tooltipped vditor-tooltipped__s"]),new CJ(["aria-label",n])]);$r=c.BaseRenderer.Tag("sup",o,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};N.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};N.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};N.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};N.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};N.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};N.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};N.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};N.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};N.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);e=d;f=new CL([new CJ(["data-type","math-inline"])]);if(!A.Contains(e,F.CaretTokens)){f=$append(f,new CJ(["style","display: none"]));}$r=c.BaseRenderer.WriteString("");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};N.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};N.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};N.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};N.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=CL.nil;if(!A.Contains(e,F.CaretTokens)&&c.BaseRenderer.Options.VditorMathBlockPreview){f=$append(f,new CJ(["style","display: none"]));}g=e.$length;h=1>g||((3===g)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.Tokens;i=A.ReplaceAll(i,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(i));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};N.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};N.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};N.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};N.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};N.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};N.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};N.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};N.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};N.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};N.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};N.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};N.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};N.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};N.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};N.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};N.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};N.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};N.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};N.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};N.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};N.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};N.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){$s=3;continue;}$s=4;continue;case 3:d=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteString("\"");$s=12;case");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.Writer.Bytes();l=A.LastIndex(k,(new CI($stringToBytes("\"");$s=32;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=33;continue;}$s=34;continue;case 33:$r=c.BaseRenderer.WriteByte(34);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=a.ChildByType(42);if(!(CM.nil===r)&&!(CI.nil===r.Tokens)){$s=36;continue;}$s=37;continue;case 36:$r=c.BaseRenderer.WriteString(" title=\"");$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r.Tokens=A.ReplaceAll(r.Tokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(r.Tokens);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:$r=c.BaseRenderer.WriteString(" />");$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=c.BaseRenderer.Writer.Bytes();t=A.LastIndex(s,(new CI($stringToBytes("=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]).Tokens));}i=($bytesToString(a.LinkRefLabel));j=new CL([new CJ(["data-type","link-ref"]),new CJ(["data-link-label",i])]);$r=c.BaseRenderer.Tag("span",j,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(h);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 4:$s=-1;return 2;case 5:case 2:if(b){$s=15;continue;}$s=16;continue;case 15:k=a.ChildByType(41);l=k.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=18;continue;}$s=19;continue;case 18:m=A.TrimSpace(l);$s=20;case 20:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=A.ToLower(n);$s=21;case 21:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;if(A.HasPrefix(n,(new CI($stringToBytes("javascript:"))))){l=CI.nil;}case 19:l=c.BaseRenderer.LinkPath(l);p=A.Contains(l,F.CaretTokens);if(p){q=a.ChildByType(40);q.Tokens=$appendSlice(q.Tokens,F.CaretTokens);l=A.ReplaceAll(l,F.CaretTokens,CI.nil);}r=new CL([new CJ(["href",($bytesToString(l))])]);s=a.ChildByType(42);if(!(CM.nil===s)&&!(CI.nil===s.Tokens)){s.Tokens=A.ReplaceAll(s.Tokens,F.CaretTokens,CI.nil);r=$append(r,new CJ(["title",($bytesToString(s.Tokens))]));}$r=c.BaseRenderer.Tag("a",r,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=17;continue;case 16:$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};N.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};N.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("
    ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:$r=c.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};N.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Contains(a.Tokens,(new CI($stringToBytes(">0;$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=7;continue;}$s=8;continue;case 7:if(0>0;$r=c.BaseRenderer.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 10:case 8:if(b){$s=12;continue;}$s=13;continue;case 12:d=a.PreviousNodeText();$s=14;case 14:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if("\xE2\x80\x8B"===e||""===e){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:f=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),f);g=A.TrimSpace(a.Tokens);$s=18;case 18:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.Tokens=g;$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-inline"])]),false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=G.EscapeHTML(f);$r=c.BaseRenderer.Write(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};N.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};N.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:e=new CL([new CJ(["data-block","0"])]);e=$appendSlice(e,a.KramdownIAL);$r=c.BaseRenderer.Tag("p",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};N.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=A.TrimRight(d,"\n");if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};N.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(32);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 6:$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-marker",C.Repeat("`",a.CodeMarkerLen)])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};N.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};N.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};N.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent;e=d.Parent;if(!(CM.nil===e)&&(33===e.Type)){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};N.ptr.prototype.renderEmphasis=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};N.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","*"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};N.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};N.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","_"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};N.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};N.ptr.prototype.renderStrong=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};N.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","**"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};N.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};N.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","__"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};N.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};N.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};N.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};N.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\"");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.ChildByType(420);if(!(CM.nil===e)){d=($bytesToString(e.Tokens));}if(c.BaseRenderer.Options.HeadingID&&!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(" data-id=\""+d+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:if(""===d){$s=8;continue;}$s=9;continue;case 8:f=AT(a);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;case 9:$r=c.BaseRenderer.WriteString(" id=\"wysiwyg-"+d+"\"");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:if(1===a.HeadingLevel){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 14:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:g=AT(a);$s=23;case 23:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+h]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+h])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};N.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};N.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};N.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};N.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};N.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};N.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};N.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CI.nil===a.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};N.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};N.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};N.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d="```";if(!(CM.nil===a.FirstChild)&&A.HasPrefix(a.FirstChild.Tokens,(new CI($stringToBytes(d))))){d=($bytesToString(a.FirstChild.Tokens));}$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};N.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g="";h=false;i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+g]));if("mindmap"===g){$s=5;continue;}$s=6;continue;case 5:k=BO(a.Tokens);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 6:case 4:case 2:m=new CL([new CJ(["class","vditor-wysiwyg__pre"])]);if(!A.Contains(a.Tokens,F.CaretTokens)&&!h&&c.BaseRenderer.Options.VditorCodeBlockPreview){m=$append(m,new CJ(["style","display: none"]));}$r=c.BaseRenderer.Tag("pre",m,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteString("\n");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=12;continue;case 11:if(h){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteString("");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(g);if(n){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.Tag("div",i,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=25;continue;case 24:$r=c.BaseRenderer.Tag("code",i,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.WriteString("");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=31;continue;case 30:$r=c.BaseRenderer.WriteString("");$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 21:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.WriteByte=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.BaseRenderer.Writer.WriteByte(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;b.LastOut=$append(b.LastOut,a);if(1024:");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=13;continue;}$s=14;continue;case 13:$r=c.WriteString(" ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=c.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(e);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};P.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kramdown-ial"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};P.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"mark");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};P.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};P.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};P.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};P.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};P.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sup");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};P.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};P.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};P.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sub");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};P.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};P.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};P.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};P.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};P.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};P.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};P.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};P.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("[toc]");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};P.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};P.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:a=[a];c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"]),new CJ(["data-type","footnotes-link"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].Write(a[0].Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteString(": ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a[0].FirstChild;case 13:if(!(!(CM.nil===d))){$s=14;continue;}$r=H.Walk(d,(function(a,c){return function $b(e,f){var{e,f,g,h,i,j,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f&&!(e===a[0].FirstChild)&&(e.IsBlock()||(15===e.Type)||(13===e.Type))){$s=1;continue;}$s=2;continue;case 1:g=" ";if(13===e.Type){$s=3;continue;}$s=4;continue;case 3:e.Tokens=$appendSlice((new CI($stringToBytes(g))),e.Tokens);$s=5;continue;case 4:$r=c[0].WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:i=(h=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),h!==undefined?h.v:$throwNilPointerError)(e,f);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=8;case 8:return j;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,j,$s};return $f;};})(a,c));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=13;continue;case 14:$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};P.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];i=h.Text();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new CL([new CJ(["data-type","footnotes-ref"])]);k=$append(k,new CJ(["class","b3-tooltips b3-tooltips__s"]));l=G.EscapeString(j);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=AS(l,24);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}k=$append(k,new CJ(["aria-label",m]));k=$append(k,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","sup"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};P.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};P.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.CodeBlockInfo);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};P.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};P.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!a.IsFencedCodeBlock){$s=10;continue;}$s=11;continue;case 10:$r=c.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$r=c.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};P.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};P.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};P.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};P.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};P.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};P.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};P.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};P.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};P.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};P.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};P.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};P.ptr.prototype.renderMathBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};P.ptr.prototype.renderTableCell=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};P.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};P.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};P.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","table"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};P.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"s");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};P.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};P.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};P.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};P.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};P.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};P.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"]),new CJ(["data-type","link-text"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};P.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};P.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};P.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};P.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};P.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};P.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};P.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};P.ptr.prototype.renderImage=function(a,b){var a,b,c,d;c=this;if(b){if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();d=a.ChildByType(43);if(!(CM.nil===d)){d.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}}return 2;};P.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};P.ptr.prototype.renderLink=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};P.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};P.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};P.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");c.BaseRenderer.Writer.Reset();$r=c.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};P.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.Parent;e=!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight;if(!e){$s=5;continue;}$s=6;continue;case 5:$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.popWriter(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};P.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(a.ParentIs(109,CQ.nil)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimRight(d,"\n");$r=c.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};P.ptr.prototype.renderCodeSpan=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};P.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};P.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};P.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};P.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"em");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};P.ptr.prototype.popWriteClass=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));$r=c.renderClass(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e])).Write(c.BaseRenderer.Writer.Bytes());$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;c.BaseRenderer.Writer=(g=c.nodeWriterStack,h=c.nodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriteClass,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};P.prototype.popWriteClass=function(a,b){return this.$val.popWriteClass(a,b);};P.ptr.prototype.popWriter=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;b.nodeWriterStack=$subslice(b.nodeWriterStack,0,(b.nodeWriterStack.$length-1>>0));e=(c=b.nodeWriterStack,d=b.nodeWriterStack.$length-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d])).Write(b.BaseRenderer.Writer.Bytes());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;b.BaseRenderer.Writer=(f=b.nodeWriterStack,g=b.nodeWriterStack.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriter,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.popWriter=function(a){return this.$val.popWriter(a);};P.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};P.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};P.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};P.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};P.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"strong");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};P.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};P.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};P.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};P.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};P.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h=(new CI($stringToBytes("> ")));g=$appendSlice(h,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,h));f.Reset();i=f.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;l=(j=c.nodeWriterStack,k=c.nodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;c.BaseRenderer.Writer=(m=c.nodeWriterStack,n=c.nodeWriterStack.$length-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};P.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};P.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};P.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=9;continue;}$s=10;continue;case 9:$r=c.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=13;case 13:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=14;continue;}$s=15;continue;case 14:$r=c.WriteString(C.Repeat("=",e));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.WriteString(C.Repeat("-",e));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:f="h"+$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.renderClass(a,f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.popWriter(a);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,$s};return $f;};P.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};P.ptr.prototype.renderClass=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.Writer.Bytes();e=A.NewReader(d);f=new G.Node.ptr(CU.nil,CU.nil,CU.nil,CU.nil,CU.nil,3,0,"","",CW.nil);h=G.ParseFragment(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];c.BaseRenderer.Writer.Reset();j=0;case 2:if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);l=c.domAttrValue(k,"class");if(""===l){l=b;}else{l=l+(" "+b);}c.domSetAttrValue(k,"class",l);m=G.Render(c.BaseRenderer.Writer,k);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;j=j+(1)>>0;$s=2;continue;case 3:$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.renderClass,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderClass=function(a,b){return this.$val.renderClass(a,b);};P.ptr.prototype.domAttrValue=function(a,b){var a,b,c,d,e,f;c=this;if(CU.nil===a){return"";}d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f.Key===b){return f.Val;}e++;}return"";};P.prototype.domAttrValue=function(a,b){return this.$val.domAttrValue(a,b);};P.ptr.prototype.domSetAttrValue=function(a,b,c){var a,b,c,d,e,f,g;d=this;if(CU.nil===a){return;}e=a.Attr;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(g.Key===b){g.Val=c;return;}f++;}a.Attr=$append(a.Attr,new G.Attribute.ptr("",b,c));};P.prototype.domSetAttrValue=function(a,b,c){return this.$val.domSetAttrValue(a,b,c);};P.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};P.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};P.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write($pkg.NewlineSV);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};P.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h="";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter));}else{h=($bytesToString(a.ListData.Marker));}i=(new CI($stringToBytes(""+h+" ")));g=$appendSlice(i,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}j=(new CI($stringToBytes(""+C.Repeat(" ",a.ListData.Padding)+"")));g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,j));f.Reset();k=f.Write(g);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;n=(l=c.nodeWriterStack,m=c.nodeWriterStack.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;c.BaseRenderer.Writer=(o=c.nodeWriterStack,p=c.nodeWriterStack.$length-1>>0,((p<0||p>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};P.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};P.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--strong"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(120);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("] ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.TrimPrefix(a.Next.Tokens,(new CI($stringToBytes(" "))));$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};P.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("---");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};P.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};P.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};P.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(9))||(f===(10))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:P.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};P.prototype.Text=function(a){return this.$val.Text(a);};S=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new R.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderSup")});ck=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderSupOpenMarker")});cl=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSupCloseMarker")});cm=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSub")});cn=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSubOpenMarker")});co=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSubCloseMarker")});cp=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderMark2OpenMarker")});cq=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderMark2CloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorIRRenderer=S;R.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};R.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};R.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};R.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};R.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};R.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};R.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};R.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};R.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};R.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};R.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};R.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};R.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};R.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__marker--pre"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"]),new CJ(["class","language-yaml"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};R.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};R.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};R.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};R.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};R.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};R.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:R.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};R.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};R.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.WriteString("["+($bytesToString(a.Tokens))+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 5:if(!(!(CM.nil===d))){$s=6;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=5;continue;case 6:$r=c[0].BaseRenderer.WriteString("
    ");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};R.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=new CL([new CJ(["data-type","footnotes-ref"])]);n=a.Text();$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=C.Contains(o,"\xE2\x80\xB8");if(p){m=$append(m,new CJ(["class","vditor-ir__node vditor-ir__node--expand vditor-tooltipped vditor-tooltipped__s"]));}else{m=$append(m,new CJ(["class","vditor-ir__node vditor-tooltipped vditor-tooltipped__s"]));}q=G.EscapeString(l);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=AS(q,24);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}m=$append(m,new CJ(["aria-label",r]));m=$append(m,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("sup",m,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker--hide"]),new CJ(["data-render","1"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};R.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};R.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};R.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};R.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};R.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g=false;h="";if(f){g=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+h]));if("mindmap"===h){$s=3;continue;}$s=4;continue;case 3:k=BO(a.Tokens);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 4:case 2:m="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorCodeBlockPreview){m=m+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",m])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=8;continue;}$s=9;continue;case 8:if(!g){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.WriteString("");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$r=c.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(h);if(n){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("div",i,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("code",i,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("");$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 19:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};R.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};R.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};R.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};R.ptr.prototype.renderEmoji=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.renderSpanNode(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmoji,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};R.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};R.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};R.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","math-inline"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};R.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};R.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};R.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorMathBlockPreview){g=g+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",g])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.Tokens;h=A.ReplaceAll(h,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(h));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};R.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};R.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};R.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};R.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};R.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};R.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};R.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"]),new CJ(["data-type","table"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};R.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};R.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};R.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};R.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};R.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.BaseRenderer.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};R.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};R.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__link"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.BaseRenderer.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};R.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};R.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};R.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};R.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};R.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};R.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};R.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};R.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=!(CM.nil===a.Next)&&(16===a.Next.Type)&&A.HasPrefix(a.Next.Tokens,F.CaretTokens);if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();e=a.ChildByType(43);if(!(CM.nil===e)){e.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}f=c.Text(a);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h="vditor-ir__node";if(C.Contains(g,"\xE2\x80\xB8")||d){h=h+(" vditor-ir__node--expand");}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class",h]),new CJ(["data-type","img"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(d){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.ReplaceAll(a.Next.Tokens,F.CaretTokens,CI.nil);case 7:i=a;if(3===a.LinkType){$s=9;continue;}$s=10;continue;case 9:j=c.BaseRenderer.Tree.FindLinkRefDefLink(a.LinkRefLabel);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 10:k=i.ChildByType(41).Tokens;k=c.BaseRenderer.LinkPath(k);k=A.ReplaceAll(k,F.CaretTokens,CI.nil);l=new CL([new CJ(["src",($bytesToString(k))])]);m=a.ChildByType(40);if(!(CM.nil===m)&&0");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-block"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=10;continue;}$s=11;continue;case 10:f=AE(e);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 11:$r=c.BaseRenderer.Write(e);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};R.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.Equal(a.Tokens,(new CI($stringToBytes(""))));e=A.Equal(a.Tokens,(new CI($stringToBytes(""))));if(d||e){$s=1;continue;}$s=2;continue;case 1:if(d){$s=4;continue;}$s=5;continue;case 4:if(c.tagMatchClose("kbd",a)){$s=7;continue;}$s=8;continue;case 7:$r=c.renderSpanNode(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("kbd",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.renderSpanNode(a);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=6;continue;case 5:if(c.tagMatchOpen("kbd",a)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("/kbd",CL.nil,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.renderSpanNode(a);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.renderSpanNode(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:case 6:$s=3;continue;case 2:$r=c.renderSpanNode(a);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};R.ptr.prototype.tagMatchClose=function(a,b){var a,b,c,d;c=this;d=b.Next;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&""===d.TokensStr()){return true;}d=d.Next;}return false;};R.prototype.tagMatchClose=function(a,b){return this.$val.tagMatchClose(a,b);};R.ptr.prototype.tagMatchOpen=function(a,b){var a,b,c,d;c=this;d=b.Previous;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&"<"+a+">"===d.TokensStr()){return true;}d=d.Previous;}return false;};R.prototype.tagMatchOpen=function(a,b){return this.$val.tagMatchOpen(a,b);};R.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};R.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};R.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};R.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};R.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};R.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};R.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};R.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};R.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};R.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};R.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};R.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};R.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};R.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};R.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};R.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};R.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};R.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};R.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};R.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=c.Text(a);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=a.ChildByType(420);if(C.Contains(e,"\xE2\x80\xB8")||(!(CM.nil===f)&&A.Contains(f.Tokens,F.CaretTokens))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node vditor-ir__node--expand\"");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node\"");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:g="";if(!(CM.nil===f)){g=($bytesToString(f.Tokens));}if(""===g){$s=10;continue;}$s=11;continue;case 10:h=AT(a);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:$r=c.BaseRenderer.WriteString(" id=\"ir-"+g+"\"");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:if(1===a.HeadingLevel){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:i=AT(a);$s=25;case 25:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+j]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+j])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:if(!a.HeadingSetext){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$s=3;continue;case 2:if(a.HeadingSetext){$s=34;continue;}$s=35;continue;case 34:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"]),new CJ(["data-render","2"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.setextHeadingLen(a);$s=38;case 38:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(1===a.HeadingLevel){$s=39;continue;}$s=40;continue;case 39:$r=c.BaseRenderer.WriteString(C.Repeat("=",l));$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=41;continue;case 40:$r=c.BaseRenderer.WriteString(C.Repeat("-",l));$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 35:$r=c.BaseRenderer.WriteString(">0))+">");$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};R.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};R.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","heading-id"]),new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};R.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};R.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};R.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};R.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};R.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};R.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};R.ptr.prototype.renderSpanNode=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=CL.nil;f=a.Type;if(f===(17)){e=$append(e,new CJ(["data-type","em"]));}else if(f===(22)){e=$append(e,new CJ(["data-type","strong"]));}else if(f===(101)){e=$append(e,new CJ(["data-type","s"]));}else if(f===(450)){e=$append(e,new CJ(["data-type","mark"]));}else if(f===(485)){e=$append(e,new CJ(["data-type","sup"]));}else if(f===(490)){e=$append(e,new CJ(["data-type","sub"]));}else if(f===(33)){if(!((3===a.LinkType))){e=$append(e,new CJ(["data-type","a"]));}else{e=$append(e,new CJ(["data-type","link-ref"]));}}else if(f===(34)){e=$append(e,new CJ(["data-type","img"]));}else if(f===(27)){e=$append(e,new CJ(["data-type","code"]));}else if(f===(200)){e=$append(e,new CJ(["data-type","emoji"]));}else if(f===(10)){e=$append(e,new CJ(["data-type","html-inline"]));}else if(f===(44)){e=$append(e,new CJ(["data-type","html-entity"]));}else if(f===(400)){e=$append(e,new CJ(["data-type","backslash"]));}else{e=$append(e,new CJ(["data-type","inline-node"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:g=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(C.HasSuffix(h,"\xE2\x80\xB8")){$s=6;continue;}$s=7;continue;case 6:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:i=a.NextNodeText();$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasPrefix(j,"\xE2\x80\xB8")){$s=10;continue;}$s=11;continue;case 10:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("span",e,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderSpanNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.renderSpanNode=function(a){return this.$val.renderSpanNode(a);};R.ptr.prototype.renderDivNode=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=new CL([new CJ(["data-block","0"])]);f=a.Type;if(f===(11)){e=$append(e,new CJ(["data-type","code-block"]));}else if(f===(9)){e=$append(e,new CJ(["data-type","html-block"]));}else if(f===(300)){e=$append(e,new CJ(["data-type","math-block"]));}else if(f===(425)){e=$append(e,new CJ(["data-type","yaml-front-matter"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("div",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("div",e,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderDivNode,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderDivNode=function(a){return this.$val.renderDivNode(a);};R.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:R.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};R.prototype.Text=function(a){return this.$val.Text(a);};U=function(a,b,c){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=CB(a,c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=new T.ptr(d,b,CJ.nil);f=41;(e.FormatRenderer.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(e,"renderLinkDest")});$s=-1;return e;}return;}var $f={$blk:U,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$pkg.NewTextBundleRenderer=U;T.ptr.prototype.Render=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=CJ.nil;c=this;d=c.FormatRenderer.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a=d;b=c.originalLink;$s=-1;return[a,b];}return;}var $f={$blk:T.ptr.prototype.Render,$c:true,$r,a,b,c,d,$s};return $f;};T.prototype.Render=function(){return this.$val.Render();};T.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=c.linkPrefixes;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!(""===g)&&C.HasPrefix(d,g)){c.originalLink=$append(c.originalLink,d);d="assets"+$substring(d,g.length);}f++;}$r=c.FormatRenderer.BaseRenderer.WriteString(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:T.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};T.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};AQ.ptr.prototype.FixTermTypo=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.fixTermTypo0(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:AQ.ptr.prototype.FixTermTypo,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.FixTermTypo=function(a){return this.$val.FixTermTypo(a);};AQ.ptr.prototype.fixTermTypo0=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.$length;d=0;e=0;f=0;g=0;h=0;i=e;j=f;k=g;l=h;m=0;n=0;o=m;p=n;q=CI.nil;case 1:if(!(i=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+i]);if(V(d)){i=i+(1)>>0;$s=1;continue;}if(1<=i){o=(r=i-1>>0,((r<0||r>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+r]));if(!V(o)){i=i+(1)>>0;$s=1;continue;}}if(I.IsASCIIPunct(o)){i=i+(1)>>0;$s=1;continue;}j=i;while(true){if(!(j=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]);if(V(p)||(46===p)){break;}j=j+(1)>>0;}if(I.IsASCIIPunct(p)){i=i+(1)>>0;$s=1;continue;}s=A.ToLower($subslice(a,i,j));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=s;t=(u=$mapIndex(b.Options.Terms,$String.keyFor(K.BytesToStr(q))),u!==undefined?[u.v,true]:["",false]);v=t[0];w=t[1];if(w){l=0;k=i;while(true){if(!(k=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]=v.charCodeAt(l));l=l+(1)>>0;k=k+(1)>>0;}}i=i+(1)>>0;$s=1;continue;case 2:$s=-1;return a;}return;}var $f={$blk:AQ.ptr.prototype.fixTermTypo0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};AQ.prototype.fixTermTypo0=function(a){return this.$val.fixTermTypo0(a);};V=function(a){var a;return a>=128||I.IsWhitespace(a)||I.IsASCIIPunct(a);};W=function(){var a,b,c,d,e,f,g,h,i,j,k;a=false;a=(b=(X?X.size:0),((b<0||b>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));c=X;d=0;e=c?c.keys():undefined;f=c?c.size:0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]);if(f<(d-3>>0)&&(105===(g=f+1>>0,((g<0||g>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+g])))&&(110===(h=f+2>>0,((h<0||h>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h])))&&(103===(i=f+3>>0,((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i])))&&D.Is(D.Han,((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]))){b=b+(($encodeRune(e))+"ing");f=f+(4)>>0;continue;}b=Z(b,e);f=f+(1)>>0;}return b;};$pkg.Space0=Y;Z=function(a,b){var a,b,c,d;if(0===a.length){return($encodeRune(b));}if("1"<=a&&"9">=a&&(65039===b)){return a+($encodeRune(b));}c=E.DecodeLastRuneInString(a);d=c[0];if(AA(d,b)){return a+" "+($encodeRune(b));}return a+($encodeRune(b));};AA=function(a,b){var a,b,c,d,e,f;if(D.IsSpace(a)||D.IsSpace(b)||((F.CaretRune===a))||((F.CaretRune===b))||!D.IsPrint(a)||!D.IsPrint(b)){return false;}c=AB(a);d=!((37===b))&&!((64===b))&&(D.IsPunct(b)||(126===b)||(61===b)||(35===b));if(c&&d){return false;}e=!((37===a))&&!((64===a))&&(D.IsPunct(a)||(126===a)||(61===a)||(35===a));f=AB(b);if(f&&e){return false;}if((!c&&!f)||(c&&f)){return false;}return true;};AB=function(a){var a;return D.Is(D.Han,a)||D.Is(D.Lm,a)||D.Is(D.Hiragana,a)||D.Is(D.Katakana,a)||D.Is(D.Hangul,a);};AD=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=AE((new CI($stringToBytes(a))));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($bytesToString(b));$s=2;case 2:return c;}return;}var $f={$blk:AD,$c:true,$r,a,b,c,$s};return $f;};$pkg.Sanitize=AD;AE=function(a){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=new A.Buffer.ptr(CI.nil,0,0);c=false;d=new $Int64(0,0);e="";f=A.Contains(a,(new CI($stringToBytes(" \xE2\x80\xB8"))));a=A.ReplaceAll(a,F.CaretTokens,(new CI($stringToBytes("caretreplacement"))));g=G.NewTokenizer(A.NewReader(a));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;case 2:i=[i];j=h.Next();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j===0){$s=4;continue;}$s=5;continue;case 4:k=h.Err();if($interfaceIsEqual(k,L.EOF)){l=b[0].Bytes();if(f){l=A.ReplaceAll(l,(new CI($stringToBytes("\"caretreplacement"))),(new CI($stringToBytes("\" caretreplacement"))));}else{l=A.ReplaceAll(l,(new CI($stringToBytes("\" caretreplacement"))),(new CI($stringToBytes("\"caretreplacement"))));}l=A.ReplaceAll(l,(new CI($stringToBytes("caretreplacement"))),F.CaretTokens);$s=-1;return l;}m=k.Error();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=K.StrToBytes(m);$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=9;case 9:return o;case 5:i[0]=$clone(h.Token(),G.Token);p=i[0].Type;if(p===(6)){$s=11;continue;}if(p===(5)){$s=12;continue;}if(p===(2)){$s=13;continue;}if(p===(3)){$s=14;continue;}if(p===(4)){$s=15;continue;}if(p===(1)){$s=16;continue;}$s=17;continue;case 11:$s=17;continue;case 12:$s=17;continue;case 13:e=i[0].Data;q=(r=$mapIndex(AC,$String.keyFor(i[0].Data)),r!==undefined?[r.v,true]:[$ifaceNil,false]);s=q[1];if(s){$s=18;continue;}$s=19;continue;case 18:c=true;d=(t=new $Int64(0,1),new $Int64(d.$high+t.$high,d.$low+t.$low));u=b[0].WriteString(" ");$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=10;continue;case 19:if(!((i[0].Attr.$length===0))){$s=21;continue;}$s=22;continue;case 21:v=AH(i[0].Attr);$s=23;case 23:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}i[0].Attr=v;case 22:if(!c){$s=24;continue;}$s=25;continue;case 24:if(AF(i[0].Data)){$s=26;continue;}$s=27;continue;case 26:$r=AG(b[0],i[0]);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:w=$clone(i[0],G.Token).String();$s=30;case 30:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=b[0].WriteString(w);$s=31;case 31:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 28:case 25:$s=17;continue;case 14:if(e===i[0].Data){e="";}y=(z=$mapIndex(AC,$String.keyFor(i[0].Data)),z!==undefined?[z.v,true]:[$ifaceNil,false]);aa=y[1];if(aa){$s=32;continue;}$s=33;continue;case 32:d=(ab=new $Int64(0,1),new $Int64(d.$high-ab.$high,d.$low-ab.$low));if((d.$high===0&&d.$low===0)){c=false;}ac=b[0].WriteString(" ");$s=34;case 34:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;$s=10;continue;case 33:if(!c){$s=35;continue;}$s=36;continue;case 35:ad=$clone(i[0],G.Token).String();$s=37;case 37:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=b[0].WriteString(ad);$s=38;case 38:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae;case 36:$s=17;continue;case 15:if(!((i[0].Attr.$length===0))){$s=39;continue;}$s=40;continue;case 39:af=AH(i[0].Attr);$s=41;case 41:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}i[0].Attr=af;case 40:if(!c){$s=42;continue;}$s=43;continue;case 42:if(AF(i[0].Data)){$s=44;continue;}$s=45;continue;case 44:$r=AG(b[0],i[0]);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 45:ag=$clone(i[0],G.Token).String();$s=48;case 48:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=b[0].WriteString(ag);$s=49;case 49:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;case 46:case 43:$s=17;continue;case 16:if(!c){$s=50;continue;}$s=51;continue;case 50:ai=e;if(ai===("script")){$s=53;continue;}if(ai===("style")){$s=54;continue;}$s=55;continue;case 53:aj=b[0].WriteString(i[0].Data);$s=57;case 57:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$s=56;continue;case 54:ak=b[0].WriteString(i[0].Data);$s=58;case 58:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;$s=56;continue;case 55:al=$clone(i[0],G.Token).String();$s=59;case 59:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=b[0].WriteString(al);$s=60;case 60:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;case 56:case 52:case 51:case 17:case 10:$s=2;continue;case 3:$s=-1;return CI.nil;}return;}var $f={$blk:AE,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AF=function(a){var a,b;b=a;if(b===("a")||b===("area")||b===("blockquote")||b===("img")||b===("link")||b===("script")){return true;}else{return false;}};AG=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=A.NewBufferString("");d=c.WriteString("<");$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=c.WriteString(b.Data);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=b.Attr;g=0;case 3:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key==="caretreplacement"){$s=5;continue;}$s=6;continue;case 5:i=c.WriteString(" caretreplacement");$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;g++;$s=3;continue;case 6:j=c.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=c.WriteString(h.Key);$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=c.WriteString("=\"");$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=h.Key;if(m===("href")||m===("src")){$s=12;continue;}$s=13;continue;case 12:n=G.EscapeString(h.Val);$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=c.WriteString(n);$s=16;case 16:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=14;continue;case 13:p=G.EscapeString(h.Val);$s=17;case 17:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=c.WriteString(p);$s=18;case 18:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 14:case 11:r=c.WriteByte(34);$s=19;case 19:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g++;$s=3;continue;case 4:if(b.Type===4){$s=20;continue;}$s=21;continue;case 20:s=c.WriteString(" /");$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 21:t=c.WriteString(">");$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=a.WriteString(c.String());$s=24;case 24:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=-1;return;}return;}var $f={$blk:AG,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};AH=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=CW.nil;c=a;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!AJ(e.Key)){d++;$s=1;continue;}if("src"===e.Key||"srcdoc"===e.Key||"srcset"===e.Key||"href"===e.Key){$s=3;continue;}$s=4;continue;case 3:f=C.TrimSpace(e.Val);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=C.ToLower(f);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;h=AI(h);if(C.HasPrefix(h,"data:image/svg+xml")||C.HasPrefix(h,"data:text/html")||C.HasPrefix(h,"javascript")){d++;$s=1;continue;}i=AE((new CI($stringToBytes(h))));$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=G.UnescapeAttrVal(($bytesToString(i)));$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(h===k)){d++;$s=1;continue;}case 4:b=$append(b,e);d++;$s=1;continue;case 2:$s=-1;return b;}return;}var $f={$blk:AH,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AI=function(a){var a,b,c,d,e,f;b=$makeSlice(CY,0,a.length);c=a;d=0;while(true){if(!(d>0,((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Write,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.Write=function(a){return this.$val.Write(a);};AQ.ptr.prototype.WriteString=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.length;if(0>0));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.WriteString,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.WriteString=function(a){return this.$val.WriteString(a);};AQ.ptr.prototype.Newline=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!((10===a.LastOut))){$s=1;continue;}$s=2;continue;case 1:b=a.Writer.WriteByte(10);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.LastOut=10;case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Newline,$c:true,$r,a,b,$s};return $f;};AQ.prototype.Newline=function(){return this.$val.Newline();};AQ.ptr.prototype.TextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Previous;if(!(CM.nil===e)&&(16===e.Type)){$s=1;continue;}$s=2;continue;case 1:f=E.DecodeLastRune(e.Tokens);g=f[0];h=E.DecodeRune(d);i=h[0];if(AA(g,i)){$s=3;continue;}$s=4;continue;case 3:j=b.Writer.WriteByte(32);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AQ.prototype.TextAutoSpacePrevious=function(a){return this.$val.TextAutoSpacePrevious(a);};AQ.ptr.prototype.TextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Next;if(!(CM.nil===e)){$s=1;continue;}$s=2;continue;case 1:if(16===e.Type){$s=3;continue;}if(456===e.Type){$s=4;continue;}$s=5;continue;case 3:f=E.DecodeRune(e.Tokens);g=f[0];h=E.DecodeLastRune(d);i=h[0];if(AA(i,g)){$s=6;continue;}$s=7;continue;case 6:j=b.Writer.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 7:$s=5;continue;case 4:e=e.Next;if(!(CM.nil===e)&&(16===e.Type)){k=E.DecodeRune(e.Tokens);l=k[0];m=E.DecodeLastRune(d);n=m[0];if(AA(n,l)){e.Tokens=$appendSlice(new CI([32]),e.Tokens);}}case 5:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};AQ.prototype.TextAutoSpaceNext=function(a){return this.$val.TextAutoSpaceNext(a);};AQ.ptr.prototype.LinkTextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Previous;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeLastRune(d.Tokens);f=e[0];g=E.DecodeRune(c.Tokens);h=g[0];if(AA(f,h)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpacePrevious=function(a){return this.$val.LinkTextAutoSpacePrevious(a);};AQ.ptr.prototype.LinkTextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Next;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeRune(d.Tokens);f=e[0];g=E.DecodeLastRune(c.Tokens);h=g[0];if(AA(h,f)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpaceNext=function(a){return this.$val.LinkTextAutoSpaceNext(a);};AS=function(a,b){var a,b,c,d,e,f,g,h;c="";d=0;e=0;while(true){if(!(e>0;c=c+(($encodeRune(g)));d=d+(1)>>0;if(b<=d){break;}}return c;};$pkg.SubStr=AS;AT=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";if(0===K.StrToBytes(a.HeadingNormalizedID).$length){$s=1;continue;}$s=2;continue;case 1:$r=AU(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:b=a.HeadingNormalizedID;$s=-1;return b;}return;}var $f={$blk:AT,$c:true,$r,a,b,$s};return $f;};$pkg.HeadingID=AT;AU=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=CM.nil;c=a.Parent;while(true){if(!(!((0===c.Type)))){break;}c=c.Parent;}b[0]=$makeMap($String.keyFor,[]);$r=H.Walk(c,(function(b){return function $b(d,e){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if(e){$s=1;continue;}$s=2;continue;case 1:if(2===d.Type){$s=3;continue;}$s=4;continue;case 3:f=AV(d);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;while(true){if(!(0<(h=$mapIndex(b[0],$String.keyFor(g)),h!==undefined?h.v:0))){break;}g=g+("-");}d.HeadingNormalizedID=g;i=g;(b[0]||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(i),{k:i,v:1});case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AU,$c:true,$r,a,b,c,$s};return $f;};AV=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=a.ChildByType(420);d="";if(!(CM.nil===c)){d=K.BytesToStr(c.Tokens);}if(""===d){$s=1;continue;}$s=2;continue;case 1:e=a.Text();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 2:d=C.TrimLeft(d,"#");d=C.ReplaceAll(d,"\xE2\x80\xB8","");f=d;g=0;while(true){if(!(g");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e;h=0;case 9:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);$r=c.renderToC0(i);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h++;$s=9;continue;case 10:$r=c.WriteString("");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.WriteString("[toc]
    ");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:AQ.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};AQ.ptr.prototype.renderToC0=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.WriteString("
  • ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("span",new CL([new CJ(["data-target-id",a.ID])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.WriteString(a.Content);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=a.Children;d=0;case 8:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);$r=b.renderToC0(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=8;continue;case 9:$r=b.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=b.WriteString("
  • ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.renderToC0,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.renderToC0=function(a){return this.$val.renderToC0(a);};AQ.ptr.prototype.Tag=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(d.DisableTags>0){$s=-1;return;}$r=d.WriteString("<");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.WriteString(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=d.WriteString(" "+(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])+"=\""+(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=5;continue;case 6:case 4:if(c){$s=8;continue;}$s=9;continue;case 8:$r=d.WriteString(" /");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=d.WriteString(">");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Tag,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};AQ.prototype.Tag=function(a,b,c){return this.$val.Tag(a,b,c);};AQ.ptr.prototype.headings=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=DC.nil;b=this;c=b.Tree.Root.ChildrenByType(2);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=DB.nil;f=d;g=0;case 2:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!(b.Tree.Root===h.Parent)){g++;$s=2;continue;}i=AT(h);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(b.Options.VditorWYSIWYG){j="wysiwyg-"+j;}else if(b.Options.VditorIR){j="ir-"+j;}if(b.Options.KramdownBlockIAL){k=h.KramdownIAL;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if("id"===(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0])){j=(1>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+1]);break;}l++;}}n=AY(h);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new AW.ptr(j,b.Tree.Box,b.Tree.Path,b.Tree.HPath,n,h.HeadingLevel,DC.nil,DB.nil);if(DB.nil===e){a=$append(a,o);}else{if(e.Level");$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=b[0].Write(G.EscapeHTML(d.Tokens));$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=b[0].WriteString("");$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=6;continue;case 4:k=b[0].WriteString("");$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=b[0].Write(G.EscapeHTML(d.Tokens));$s=12;case 12:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=b[0].WriteString("");$s=13;case 13:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=6;continue;case 5:if(d.ParentIs(22,CQ.nil)){$s=14;continue;}if(d.ParentIs(17,CQ.nil)){$s=15;continue;}$s=16;continue;case 14:n=b[0].WriteString("");$s=18;case 18:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=b[0].Write(G.EscapeHTML(d.Tokens));$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=b[0].WriteString("");$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=17;continue;case 15:q=b[0].WriteString("");$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=b[0].Write(G.EscapeHTML(d.Tokens));$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=b[0].WriteString("");$s=23;case 23:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=17;continue;case 16:if(!(CM.nil===d.Previous)&&(10===d.Previous.Type)){$s=24;continue;}$s=25;continue;case 24:if(A.HasPrefix(d.Previous.Tokens,(new CI($stringToBytes(""))))){$s=31;continue;}$s=32;continue;case 31:v=b[0].Write(d.Next.Tokens);$s=33;case 33:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 32:$s=26;continue;case 25:w=b[0].Write(G.EscapeHTML(d.Tokens));$s=34;case 34:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;case 26:case 17:case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();$s=-1;return c;}return;}var $f={$blk:AY,$c:true,$r,a,b,c,$s};return $f;};AQ.ptr.prototype.setextHeadingLen=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=0;d=this;b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(e,f){var{e,f,g,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(((16===e.Type)||(40===e.Type)||(32===e.Type))&&f){$s=1;continue;}$s=2;continue;case 1:g=b[0].Write(e.Tokens);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=b[0].String();e=C.ReplaceAll(e,"\xE2\x80\xB8","");f=C.Split(e,"\n");h=(g=f.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));i=h;j=0;while(true){if(!(j>0;}else{c=c+(1)>>0;}j+=k[1];}if(0===c){c=3;}$s=-1;return c;}return;}var $f={$blk:AQ.ptr.prototype.setextHeadingLen,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};AQ.prototype.setextHeadingLen=function(a){return this.$val.setextHeadingLen(a);};AQ.ptr.prototype.renderListStyle=function(a,b){var a,b,c,d;c=this;if(c.Options.RenderListStyle){d=a.ListData.Typ;if(d===(0)){b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}else if(d===(1)){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else if(d===(3)){if(0===a.ListData.BulletChar){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else{b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}}}};AQ.prototype.renderListStyle=function(a,b){return this.$val.renderListStyle(a,b);};AQ.ptr.prototype.tagSrc=function(a){var a,b,c,d;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>c){return CI.nil;}else{d=$subslice(a,(c+5>>0));d=$subslice(d,0,A.Index(d,(new CI($stringToBytes("\"")))));return d;}};AQ.prototype.tagSrc=function(a){return this.$val.tagSrc(a);};AQ.ptr.prototype.tagSrcPath=function(a){var a,b,c,d,e,f;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>0));if(1>A.ReplaceAll(d,F.CaretTokens,CI.nil).$length){return a;}e=b.LinkPath(d);f=($bytesToString(e));if(A.HasPrefix(e,(new CI($stringToBytes("//"))))){f="https:"+f;}a=A.ReplaceAll(a,d,(new CI($stringToBytes(f))));}return a;};AQ.prototype.tagSrcPath=function(a){return this.$val.tagSrcPath(a);};AQ.ptr.prototype.isLastNode=function(a,b){var a,b,c,d;c=this;if(a===b||CM.nil===b||CM.nil===b.Parent){return true;}if(!(CM.nil===b.Next)){return false;}if(0===b.Parent.Type){return a.LastChild===b;}d=CM.nil;d=b.Parent;while(true){if(CM.nil===d||CM.nil===d.Parent){return true;}if(0===d.Parent.Type){break;}d=d.Parent;}return a.LastChild===d;};AQ.prototype.isLastNode=function(a,b){return this.$val.isLastNode(a,b);};AQ.ptr.prototype.NodeID=function(a){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){b=(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]);$s=-1;return b;}e++;}g=H.NewNodeID();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}b=g;h=b;$s=2;case 2:return h;}return;}var $f={$blk:AQ.ptr.prototype.NodeID,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AQ.prototype.NodeID=function(a){return this.$val.NodeID(a);};AQ.ptr.prototype.NodeAttrs=function(a){var a,b,c,d,e,f;b=CL.nil;c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=$append(b,f);e++;}return b;};AQ.prototype.NodeAttrs=function(a){return this.$val.NodeAttrs(a);};AQ.ptr.prototype.NodeAttrsStr=function(a){var a,b,c,d,e,f;b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=b+((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])+"=\""+(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])+"\" ");e++;}if(!(""===b)){b=$substring(b,0,(b.length-1>>0));}return b;};AQ.prototype.NodeAttrsStr=function(a){return this.$val.NodeAttrsStr(a);};BA=function(a){var a,b,c,d;if(""===a){return false;}b=AZ;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(a===d){return true;}c++;}return false;};$pkg.NoHighlight=BA;AQ.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(43))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))||(f===(543))||(f===(542))||(f===(433))||(f===(434))||(f===(432))||(f===(456))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:AQ.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};AQ.prototype.Text=function(a){return this.$val.Text(a);};BD=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BC.ptr(c,b.NodeIndexStart);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BD,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleRenderer=BD;BC.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"custom-block");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BC.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"av");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BC.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(d.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:e=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!(""===f)){$s=10;continue;}$s=11;continue;case 10:g=E.DecodeLastRuneInString(f);h=g[0];if(D.IsLetter(h)||D.IsDigit(h)){$s=12;continue;}$s=13;continue;case 12:$r=d.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=d.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:c[0]=d.renderTextMarkAttrs(a);d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((CM.nil===a.Previous||(32===a.Previous.Type))&&J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=16;continue;}$s=17;continue;case 16:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:if(a.IsTextMarkType("code")){if(d.BaseRenderer.Options.Spellcheck){c[0]=$append(c[0],new CJ(["spellcheck","false"]));}}$r=d.BaseRenderer.Tag("span",c[0],false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=20;continue;}$s=21;continue;case 20:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:i=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){i=C.ReplaceAll(i,"|","|");}else{i=C.ReplaceAll(i,"\\|","|");}i=C.ReplaceAll(i,"\n","
    ");}$r=d.BaseRenderer.WriteString(i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=25;continue;}$s=26;continue;case 25:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 26:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=28;continue;}$s=29;continue;case 28:if(d.BaseRenderer.Options.AutoSpace){$s=31;continue;}$s=32;continue;case 31:j=a.NextNodeText();$s=33;case 33:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(""===k)){$s=34;continue;}$s=35;continue;case 34:l=E.DecodeRuneInString(k);m=l[0];if(D.IsLetter(m)||D.IsDigit(m)){$s=36;continue;}$s=37;continue;case 36:$r=d.BaseRenderer.WriteByte(32);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:case 35:case 32:$s=30;continue;case 29:$r=d.BaseRenderer.TextAutoSpaceNext(a);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BC.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BC.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BC.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","u"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BC.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BC.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BC.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kbd"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BC.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BC.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.ChildByType(468);if(CM.nil===e){$s=-1;return 2;}c[0]=CL.nil;f=e.Tokens;f=G.EscapeHTML(A.ReplaceAll(f,F.CaretTokens,CI.nil));g=K.BytesToStr(f);g=C.ReplaceAll(g,"_esc_newline_","\n");c[0]=$append(c[0],new CJ(["data-content",g]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BC.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BC.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BC.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BC.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=$append(c[0],new CJ(["data-subtype","widget"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BC.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BC.ptr.prototype.replaceSrc=function(a,b,c){var a,b,c,d,e,f;d=this;e=$appendSlice((new CI($stringToBytes(" src=\""))),b);e=$appendSlice(e,(new CI($stringToBytes("\""))));f=$appendSlice((new CI($stringToBytes(" src=\""))),c);f=$appendSlice(f,(new CI($stringToBytes("\""))));if(A.Contains(a,(new CI($stringToBytes("data-src="))))){return A.ReplaceAll(a,f,e);}e=$appendSlice(e,(new CI($stringToBytes(" data-src=\""+K.BytesToStr(c)+"\""))));return A.ReplaceAll(a,f,e);};BC.prototype.replaceSrc=function(a,b,c){return this.$val.replaceSrc(a,b,c);};BC.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(431);e="";f="";g=e;h=f;i=a.ChildByType(433);h="s";if(CM.nil===i){i=a.ChildByType(434);h="d";}if(!(CM.nil===i)){$s=3;continue;}$s=4;continue;case 3:j=i.Text();$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}g=j;case 4:g=c.escapeRefText(g);k=new CL([new CJ(["data-type","block-ref"]),new CJ(["data-subtype",h]),new CJ(["data-id",d.TokensStr()])]);$r=c.BaseRenderer.Tag("span",k,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=C.ReplaceAll(g,"&#124;","|");$r=c.BaseRenderer.WriteString(g);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BC.ptr.prototype.escapeRefText=function(a){var a,b;b=this;a=C.ReplaceAll(a,">",">");a=C.ReplaceAll(a,"<","<");a=C.ReplaceAll(a,"\"",""");a=C.ReplaceAll(a,"'","'");return a;};BC.prototype.escapeRefText=function(a){return this.$val.escapeRefText(a);};BC.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BC.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BC.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BC.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BC.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(541);e=d.TokensStr();f=e;g=a.ChildByType(543);if(!(CM.nil===g)){$s=3;continue;}$s=4;continue;case 3:h=g.Text();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 4:f=c.escapeRefText(f);i=new CL([new CJ(["data-type","file-annotation-ref"]),new CJ(["data-subtype","s"]),new CJ(["data-id",e])]);$r=c.BaseRenderer.Tag("span",i,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(f);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BC.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BC.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BC.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BC.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BC.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"git-conflict");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["spellcheck","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.TrimSpace(a.Tokens);$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$r=d.BaseRenderer.Write(G.EscapeHTML(f));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BC.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BC.ptr.prototype.renderGitConflict=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BC.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Previous||!((32===a.Previous.Type))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BC.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Parent.Text();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","tag"]),new CJ(["data-content",G.EscapeHTMLStr(e)])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BC.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BC.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"sb");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.FirstChild.Next.TokensStr();if(""===e){e="row";}c[0]=$append(c[0],new CJ(["data-sb-layout",e]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BC.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BC.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BC.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BC.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BC.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BC.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BC.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BC.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BC.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BC.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BC.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BC.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BC.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BC.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sup"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BC.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BC.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BC.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sub"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BC.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BC.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BC.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BC.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BC.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BC.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BC.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BC.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BC.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BC.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;f=false;g="";if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.Next)&&0e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="";h=false;if(!(CM.nil===a.Previous)){h=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}c[0]=new CL([new CJ(["class","protyle-action--first protyle-action__language"]),new CJ(["contenteditable","false"])]);if(!(CM.nil===a.Previous)&&0=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])));}$r=d.BaseRenderer.Tag("span",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(g);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","b3-tooltips__nw b3-tooltips protyle-icon protyle-icon--first protyle-action__copy"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["class","hljs"])]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));c[0]=$append(c[0],new CJ(["spellcheck","false"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=12;continue;}$s=13;continue;case 12:if(h){$s=15;continue;}$s=16;continue;case 15:$r=d.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=14;continue;case 13:j=G.EscapeHTML(a.Tokens);j=A.ReplaceAll(j,(new CI($stringToBytes("__@mark__"))),(new CI($stringToBytes(""))));j=A.ReplaceAll(j,(new CI($stringToBytes("__mark@__"))),(new CI($stringToBytes(""))));$r=d.BaseRenderer.Write(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BC.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BC.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BC.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BC.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BC.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BC.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BC.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)]),new CJ(["contenteditable","false"]),new CJ(["class","render-node"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BC.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BC.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.Contains(a.Previous.Tokens,F.CaretTokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BC.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;c[0]=$append(c[0],new CJ(["data-content",K.BytesToStr(e)]));c[0]=$append(c[0],new CJ(["data-subtype","math"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BC.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BC.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BC.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BC.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="td";if(107===a.Parent.Parent.Type){e="th";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;f=a.TableCellAlign;if(f===(1)){c[0]=$append(c[0],new CJ(["align","left"]));}else if(f===(2)){c[0]=$append(c[0],new CJ(["align","center"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["align","right"]));}d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BC.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BC.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("colgroup",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.IALAttr("colgroup");if(""===d){$s=5;continue;}$s=6;continue;case 5:if(!(CM.nil===a.FirstChild)){$s=8;continue;}$s=9;continue;case 8:e=a.FirstChild.FirstChild;case 10:if(!(!(CM.nil===e))){$s=11;continue;}if(109===e.Type){$s=12;continue;}$s=13;continue;case 12:f=e.IALAttr("style");if(!(""===f)){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",f])]),true);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:e=e.Next;$s=10;continue;case 11:case 9:$s=7;continue;case 6:g=C.Split(d,"|");h=g;i=0;case 19:if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(!(""===j)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",j])]),true);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:i++;$s=19;continue;case 20:case 7:$r=c.BaseRenderer.Tag("/colgroup",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BC.ptr.prototype.renderTable=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(CM.nil===a.FirstChild){$s=-1;return 1;}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"table");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("table",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/table",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BC.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BC.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BC.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BC.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BC.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BC.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BC.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!((34===a.Parent.Type))){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BC.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BC.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BC.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BC.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BC.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BC.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BC.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BC.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BC.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BC.ptr.prototype.renderImage=function(a,b){var{a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){d=true;$s=6;continue s;}e=a.Previous.Text();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d="\xE2\x80\xB8"===e;case 6:if(d||(a.ParentIs(109,CQ.nil)&&!(CM.nil===a.Previous)&&CM.nil===a.Previous.Previous)){$s=4;continue;}$s=5;continue;case 4:if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:if(456===a.Next.Type){$s=11;continue;}$s=12;continue;case 11:if(!A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 5:f=new CL([new CJ(["contenteditable","false"]),new CJ(["data-type","img"]),new CJ(["class","img"])]);g=a.IALAttr("parent-style");if(!(""===g)){f=$append(f,new CJ(["style",g]));}if(!C.Contains(g,"display")&&!C.Contains(g,"block")&&(c.BaseRenderer.LastOut===10)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:$r=c.BaseRenderer.Tag("span",f,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action protyle-icons"])]),false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:h=a.ChildByType(41).Tokens;if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=AE(h);$s=32;case 32:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;case 31:h=A.ReplaceAll(h,F.CaretTokens,CI.nil);j=h;k=K.BytesToStr(j);l=K.BytesToStr(c.BaseRenderer.LinkPath(h));m=new CL([new CJ(["src",l]),new CJ(["data-src",k])]);n=a.ChildByType(40);if(!(CM.nil===n)&&0");$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:m=new CL([new CJ(["class","protyle-action__title"])]);$r=c.BaseRenderer.Tag("span",m,false);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=c.BaseRenderer.Writer.Write(G.EscapeHTML(p));$s=44;case 44:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Next){x=true;$s=53;continue s;}y=a.Next.Text();$s=54;case 54:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x="\xE2\x80\xB8"===y;case 53:if(x){$s=51;continue;}$s=52;continue;case 51:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 52:if(!(456===a.Next.Type)){z=false;$s=58;continue s;}if(CM.nil===a.Next.Next){aa=true;$s=59;continue s;}ab=a.Next.Next.Text();$s=60;case 60:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa="\xE2\x80\xB8"===ab;case 59:z=aa;case 58:if(z){$s=56;continue;}$s=57;continue;case 56:if(A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 57:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderImage,$c:true,$r,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BC.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BC.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(41);e=d.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:f=A.TrimSpace(e);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=AE(e);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;h=A.ToLower(e);$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(A.HasPrefix(i,(new CI($stringToBytes("javascript:"))))){e=CI.nil;}case 5:e=c.BaseRenderer.LinkPath(e);j=A.Contains(e,F.CaretTokens);if(j){k=a.ChildByType(40);k.Tokens=$appendSlice(k.Tokens,F.CaretTokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);}l=new CL([new CJ(["data-type","a"]),new CJ(["data-href",($bytesToString(e))])]);m=a.ChildByType(42);if(!(CM.nil===m)&&!(CI.nil===m.Tokens)){l=$append(l,new CJ(["data-title",c.escapeRefText(($bytesToString(m.Tokens)))]));}$r=c.BaseRenderer.Tag("span",l,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BC.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.Tokens;e=A.ReplaceAll(e,F.CaretTokens,CI.nil);c[0]=$append(c[0],new CJ(["data-subtype","block"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["data-content",K.BytesToStr(G.EscapeHTML(e))])]);$r=d.BaseRenderer.Tag("protyle-html",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/protyle-html",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BC.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))||A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:a.Type=9;d=c.renderHTML(a,b);$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=8;case 8:return e;}return;}var $f={$blk:BC.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BC.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BC.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"p");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BC.ptr.prototype.renderText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace&&!((515===a.Parent.Type))){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(a.ParentIs(530,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:if("code"===a.Parent.TokensStr()){if(a.ParentIs(109,CQ.nil)){d=A.ReplaceAll(d,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}d=G.EscapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderText,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BC.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=15;continue;}$s=16;continue;case 15:h=a.NextNodeText();$s=17;case 17:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=18;continue;}$s=19;continue;case 18:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(32);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 16:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BC.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};BC.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BC.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};BC.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BC.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BC.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BC.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BC.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BC.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BC.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BC.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BC.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"bq");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BC.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BC.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(6>0));c[0]=$append(c[0],new CJ(["data-subtype","h"+e]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"h"+e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BC.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BC.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BC.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;e=a.ListData.Typ;if(e===(0)){c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(e===(1)){c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(e===(3)){c[0]=$append(c[0],new CJ(["data-subtype","t"]));}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"list");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BC.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e="li";c[0]=CL.nil;f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+"."]));c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","t"]));if(!(a.FirstChild===CM.nil)&&a.FirstChild.TaskListItemChecked){e=e+(" protyle-task--done");}}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0===a.ListData.Typ){$s=6;continue;}if(1===a.ListData.Typ){$s=7;continue;}$s=8;continue;case 6:g=new CL([new CJ(["class","protyle-action"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",g,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:h=new CL([new CJ(["class","protyle-action protyle-action--order"]),new CJ(["contenteditable","false"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",h,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(B.Itoa(a.ListData.Num)+".");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BC.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.TaskListItemChecked){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(CM.nil===a.Next){$s=8;continue;}$s=9;continue;case 8:d=H.NewNodeID();$s=10;case 10:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=a.InsertAfter(new H.Node.ptr(d,"","","",1,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BC.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"hr");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BC.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.renderBr(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BC.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Previous)&&((22===a.Previous.Type)||(17===a.Previous.Type)||(460===a.Previous.Type)||(101===a.Previous.Type)||(520===a.Previous.Type)||(456===a.Previous.Type))&&!(CM.nil===a.Next)&&A.Equal(F.CaretTokens,a.Next.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BC.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BC.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BC.ptr.prototype.blockNodeAttrs=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.nodeID(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nodeIndex(a,b);d.nodeDataType(a,b);d.nodeClass(a,b,c);e=a.KramdownIAL;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("id"===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])){f++;continue;}b.$set($append(b.$get(),new CJ([(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),C.ReplaceAll((1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]),"_esc_newline_","\n")])));f++;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.blockNodeAttrs,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.blockNodeAttrs=function(a,b,c){return this.$val.blockNodeAttrs(a,b,c);};BC.ptr.prototype.nodeClass=function(a,b,c){var a,b,c,d;d=this;b.$set($append(b.$get(),new CJ(["class",c])));};BC.prototype.nodeClass=function(a,b,c){return this.$val.nodeClass(a,b,c);};BC.ptr.prototype.nodeDataType=function(a,b){var a,b,c;c=this;b.$set($append(b.$get(),new CJ(["data-type",new H.NodeType(a.Type).String()])));};BC.prototype.nodeDataType=function(a,b){return this.$val.nodeDataType(a,b);};BC.ptr.prototype.nodeID=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.NodeID(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b.$set($append(b.$get(),new CJ(["data-node-id",d])));$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.nodeID,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.nodeID=function(a,b){return this.$val.nodeID(a,b);};BC.ptr.prototype.nodeIndex=function(a,b){var a,b,c;c=this;if(CM.nil===a.Parent||!((0===a.Parent.Type))){return;}b.$set($append(b.$get(),new CJ(["data-node-index",B.Itoa(c.NodeIndex)])));c.NodeIndex=c.NodeIndex+(1)>>0;return;};BC.prototype.nodeIndex=function(a,b){return this.$val.nodeIndex(a,b);};BC.ptr.prototype.spellcheck=function(a){var a,b;b=this;a.$set($append(a.$get(),new CJ(["spellcheck",B.FormatBool(b.BaseRenderer.Options.Spellcheck)])));return;};BC.prototype.spellcheck=function(a){return this.$val.spellcheck(a);};BC.ptr.prototype.contenteditable=function(a,b){var a,b,c,d;c=this;d=a.IALAttr("contenteditable");if(!(""===d)){b.$set($append(b.$get(),new CJ(["contenteditable",d])));}else{b.$set($append(b.$get(),new CJ(["contenteditable",B.FormatBool(c.BaseRenderer.Options.ProtyleContenteditable)])));}return;};BC.prototype.contenteditable=function(a,b){return this.$val.contenteditable(a,b);};BC.ptr.prototype.renderIAL=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=new CL([new CJ(["class","protyle-attr"]),new CJ(["contenteditable","false"])]);$r=b.BaseRenderer.Tag("div",c,false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.IALAttr("bookmark");if(!(""===d)){$s=2;continue;}$s=3;continue;case 2:d=C.ReplaceAll(d,"_esc_newline_","\n");d=G.EscapeHTMLStr(d);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--bookmark"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(d);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:e=a.IALAttr("name");if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:e=C.ReplaceAll(e,"_esc_newline_","\n");e=G.EscapeHTMLStr(e);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--name"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:f=a.IALAttr("alias");if(!(""===f)){$s=13;continue;}$s=14;continue;case 13:f=C.ReplaceAll(f,"_esc_newline_","\n");f=G.EscapeHTMLStr(f);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--alias"])]),false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(f);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:g=a.IALAttr("memo");if(!(""===g)){$s=19;continue;}$s=20;continue;case 19:g=C.ReplaceAll(g,"_esc_newline_","\n");g=G.EscapeHTMLStr(g);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--memo b3-tooltips b3-tooltips__nw"]),new CJ(["aria-label",g])]),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:h=a.IALAttr("custom-avs");if(!(""===h)){$s=24;continue;}$s=25;continue;case 24:h=C.ReplaceAll(h,"_esc_newline_","\n");h=G.EscapeHTMLStr(h);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--av"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:i=a.IALAttr("refcount");if(!(""===i)){$s=29;continue;}$s=30;continue;case 29:i=C.ReplaceAll(i,"_esc_newline_","\n");i=G.EscapeHTMLStr(i);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--refcount popover__block"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(i);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$r=b.BaseRenderer.WriteString("\xE2\x80\x8B");$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.renderIAL,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderIAL=function(a){return this.$val.renderIAL(a);};BC.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=C.ReplaceAll(a.TextMarkATitle,"\"","&quot;");if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=C.ReplaceAll(j,"_esc_newline_","\n");j=C.ReplaceAll(j,"\"","&quot;");b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;k=C.ReplaceAll(k,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};BC.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BF=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BE.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BF,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtylePreviewRenderer=BF;BE.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BE.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BE.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){e=C.ReplaceAll(e,"|","|");}else{e=C.ReplaceAll(e,"\\|","|");}e=C.ReplaceAll(e,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:f=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){f=$append(f,new CJ(["title",a.TextMarkATitle]));}$r=d.BaseRenderer.Tag("a",f,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(e);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=d.BaseRenderer.WriteString(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=d.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=d.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=d.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");$r=d.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:c[0]=d.renderTextMarkAttrs(a);d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(e);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BE.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BE.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BE.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BE.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BE.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BE.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BE.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BE.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BE.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BE.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BE.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BE.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BE.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BE.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BE.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BE.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BE.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BE.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BE.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BE.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BE.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BE.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BE.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BE.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BE.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BE.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BE.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BE.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BE.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BE.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BE.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BE.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BE.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BE.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BE.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BE.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BE.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BE.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BE.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BE.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BE.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BE.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BE.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BE.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BE.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BE.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BE.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BE.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BE.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BE.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BE.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BE.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BE.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BE.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BE.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BE.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BE.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BE.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BE.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BE.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BE.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=false;e="";if(!(CM.nil===a.FirstChild.Next)&&0");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:if(d){$s=-1;return 1;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/pre",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BE.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BE.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BE.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BE.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BE.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BE.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BE.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BE.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BE.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BE.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BE.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BE.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BE.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BE.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BE.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BE.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BE.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=CL.nil;e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d=$append(d,new CJ(["data-content",K.BytesToStr(e)]));d=$append(d,new CJ(["data-subtype","math"]));$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BE.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BE.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BE.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BE.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BE.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BE.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BE.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BE.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BE.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BE.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BE.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BE.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BE.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BE.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BE.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BE.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BE.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BE.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BE.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BE.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BE.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BE.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=new CL([new CJ(["class","img"])]);e=a.IALAttr("parent-style");if(!(""===e)){d=$append(d,new CJ(["style",e]));}$r=c.BaseRenderer.Tag("span",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"");$s=12;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(34);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=a.ChildByType(42);h=CI.nil;if(!(CM.nil===g)&&!(CI.nil===g.Tokens)){$s=16;continue;}$s=17;continue;case 16:h=G.EscapeHTML(g.Tokens);$r=c.BaseRenderer.WriteString(" title=\"");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(h);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:i=c.BaseRenderer.NodeAttrsStr(a);if(!(""===i)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.WriteString(" "+i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(" />");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BE.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BE.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);$r=c.BaseRenderer.WriteString(" "+(0>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])+"=\""+(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1])+"\"");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i++;$s=19;continue;case 20:case 18:case 13:case 10:$r=c.BaseRenderer.WriteString(">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:k=AT(a);$s=25;case 25:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+l]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+l])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString("
    >0))+">");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BE.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BE.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BE.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BE.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BE.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f="protyle-task";if(e.TaskListItemChecked){f=f+(" protyle-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BE.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BE.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BE.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BE.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BE.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BE.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BE.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BE.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BE.ptr.prototype.Render=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;$s=-1;return a;}return;}var $f={$blk:BE.ptr.prototype.Render,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.Render=function(){return this.$val.Render();};BJ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BI.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BJ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleExportMdRenderer=BJ;BI.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BI.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BI.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.ContainTextMarkTypes(new CJ(["strong","em","s"]))&&!a.IsTextMarkType("inline-math");if(b){$s=1;continue;}$s=2;continue;case 1:e=c.renderMdMarker(a,b);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!a.IsTextMarkType("a")&&!a.IsTextMarkType("inline-memo")&&!a.IsTextMarkType("block-ref")&&!a.IsTextMarkType("file-annotation-ref")&&!a.IsTextMarkType("inline-math")){$s=5;continue;}$s=6;continue;case 5:g=a.TextMarkTextContent;if(a.IsTextMarkType("code")){$s=8;continue;}$s=9;continue;case 8:g=G.UnescapeString(g);if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:h=I.RepeatBackslashBeforePipe(g);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:case 9:if(d){$s=13;continue;}$s=14;continue;case 13:i=E.DecodeRuneInString(g);j=i[0];k=I.IsUnicodeWhitespace(j);l=D.IsPunct(j)||D.IsSymbol(j);if(k||l){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(32);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:$r=c.BaseRenderer.WriteString(f);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$s=3;continue;case 2:m=c.renderMdMarker(a,b);$s=21;case 21:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.WriteString(n);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=23;continue;}$s=24;continue;case 23:if(530===a.Next.Type){$s=25;continue;}$s=26;continue;case 25:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=27;continue;case 26:if(d){$s=29;continue;}$s=30;continue;case 29:o=a.TextMarkTextContent;p=E.DecodeLastRuneInString(o);q=p[0];r=I.IsUnicodeWhitespace(q);s=D.IsPunct(q)||D.IsSymbol(q);if(r||s){$s=31;continue;}$s=32;continue;case 31:$r=c.BaseRenderer.WriteByte(32);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 32:case 30:case 27:case 24:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};BI.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BI.ptr.prototype.renderMdMarker=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c="";d=this;e=C.Split(a.TextMarkType," ");if(1===e.$length){$s=1;continue;}$s=2;continue;case 1:f=d.renderMdMarker0(a,(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]),b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}c=f;g=c;$s=4;case 4:return g;case 2:h=CJ.nil;i=e;j=0;while(true){if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);if("a"===l||"inline-memo"===l||"block-ref"===l||"file-annotation-ref"===l||"inline-math"===l){h=$append(h,l);e=$appendSlice($subslice(e,0,k),$subslice(e,(k+1>>0)));break;}j++;}e=$appendSlice(h,e);m=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if("a"===m||"inline-memo"===m||"block-ref"===m||"file-annotation-ref"===m||"inline-math"===m){$s=5;continue;}$s=6;continue;case 5:n=$subslice(e,1);if(b){$s=8;continue;}$s=9;continue;case 8:o=n;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if(!("code"===q)){c=c+(d.renderMdMarker1(a,q,b));}p++;}r=m;if(r===("a")){$s=12;continue;}if(r===("block-ref")){$s=13;continue;}if(r===("file-annotation-ref")){$s=14;continue;}if(r===("inline-memo")){$s=15;continue;}if(r===("inline-math")){$s=16;continue;}$s=17;continue;case 12:s=a.TextMarkAHref;s=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(s))))));s=G.UnescapeHTMLStr(s);s=d.BaseRenderer.EncodeLinkSpace(s);c=c+("[");t=n;u=0;while(true){if(!(u=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]);if("code"===v){c=c+(d.renderMdMarker1(a,v,b));}u++;}$s=-1;return c;case 13:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){c=c+(" \""+a.TextMarkTextContent+"\"");}else{c=c+(" '"+a.TextMarkTextContent+"'");}c=c+("))");$s=17;continue;case 14:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("<<"+a.TextMarkFileAnnotationRefID);c=c+(" \""+a.TextMarkTextContent+"\"");c=c+(">>");$s=17;continue;case 15:w=E.DecodeLastRuneInString(a.TextMarkTextContent);x=w[0];c=c+(a.TextMarkTextContent);y=a.TextMarkInlineMemoContent;y=C.ReplaceAll(y,"_esc_newline_"," ");if(AB(x)){c=c+("^\xEF\xBC\x88"+y+"\xEF\xBC\x89^");}else{c=c+("^("+y+")^");}$s=17;continue;case 16:z=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=18;continue;}$s=19;continue;case 18:aa=I.RepeatBackslashBeforePipe(z);$s=20;case 20:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;z=C.ReplaceAll(z,"\n","
    ");case 19:z=C.ReplaceAll(z,"_esc_newline_"," ");c=c+("$"+z+"$");case 17:case 11:$s=10;continue;case 9:ab=m;if(ab===("a")){ac=a.TextMarkAHref;ac=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(ac))))));ac=G.UnescapeHTMLStr(ac);ac=d.BaseRenderer.EncodeLinkSpace(ac);c=c+(($bytesToString(I.EscapeProtyleMarkers((new CI($stringToBytes(a.TextMarkTextContent)))))));ad=n;ae=0;while(true){if(!(ae=ad.$length)?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+ae]);if("code"===af){c=c+(d.renderMdMarker1(a,af,b));}ae++;}c=c+("]("+ac);if(!(""===a.TextMarkATitle)){c=c+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}c=c+(")");}ag=n;ah=0;while(true){if(!(ah=ag.$length)?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+ah]);if(!("code"===ai)){c=c+(d.renderMdMarker1(a,ai,b));}ah++;}case 10:$s=7;continue;case 6:if(!b){BK(e);}aj=e;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);c=c+(d.renderMdMarker1(a,al,b));ak++;}case 7:$s=-1;return c;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderMdMarker=function(a,b){return this.$val.renderMdMarker(a,b);};BK=function(a){var a,b,c,d,e,f,g,h;b=a.$length-1>>0;c=0;while(true){if(!(c<(d=a.$length/2,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError("integer divide by zero")))){break;}e=(f=b-c>>0,((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]));g=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]=e);(h=b-c>>0,((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]=g));c=c+(1)>>0;}};BI.ptr.prototype.renderMdMarker0=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=b;if(f===("a")){$s=2;continue;}if(f===("block-ref")){$s=3;continue;}if(f===("file-annotation-ref")){$s=4;continue;}if(f===("inline-memo")){$s=5;continue;}if(f===("inline-math")){$s=6;continue;}$s=7;continue;case 2:g=a.TextMarkAHref;g=($bytesToString(e.BaseRenderer.LinkPath((new CI($stringToBytes(g))))));g=G.UnescapeHTMLStr(g);g=e.BaseRenderer.EncodeLinkSpace(g);if(c){d=d+("["+a.TextMarkTextContent+"]("+g);if(!(""===a.TextMarkATitle)){d=d+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}d=d+(")");}$s=8;continue;case 3:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){d=d+(" \""+a.TextMarkTextContent+"\"");}else{d=d+(" '"+a.TextMarkTextContent+"'");}d=d+("))");}$s=8;continue;case 4:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("<<"+a.TextMarkFileAnnotationRefID);d=d+(" \""+a.TextMarkTextContent+"\"");d=d+(">>");}$s=8;continue;case 5:if(c){h=E.DecodeLastRuneInString(a.TextMarkTextContent);i=h[0];d=d+(a.TextMarkTextContent);j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");if(AB(i)){d=d+("^\xEF\xBC\x88"+j+"\xEF\xBC\x89^");}else{d=d+("^("+j+")^");}}$s=8;continue;case 6:if(c){$s=9;continue;}$s=10;continue;case 9:k=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=12;continue;}$s=13;continue;case 12:l=I.RepeatBackslashBeforePipe(k);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;k=C.ReplaceAll(k,"\n","
    ");case 13:k=C.ReplaceAll(k,"_esc_newline_"," ");d=d+("$"+k);$s=11;continue;case 10:d=d+("$");case 11:$s=8;continue;case 7:d=d+(e.renderMdMarker1(a,b,c));case 8:case 1:$s=-1;return d;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BI.prototype.renderMdMarker0=function(a,b,c){return this.$val.renderMdMarker0(a,b,c);};BI.ptr.prototype.renderMdMarker1=function(a,b,c){var a,b,c,d,e,f;d="";e=this;f=b;if(f===("strong")){d=d+("**");}else if(f===("em")){d=d+("*");}else if(f===("code")){d=d+("`");}else if(f===("tag")){d=d+("#");}else if(f===("s")){d=d+("~~");}else if(f===("mark")){d=d+("==");}else if(f===("u")){if(c){d=d+("");}else{d=d+("");}}else if(f===("sup")){if(c){d=d+("^");}else{d=d+("^");}}else if(f===("sub")){if(c){d=d+("~");}else{d=d+("~");}}else if(f===("kbd")){if(c){d=d+("");}else{d=d+("");}}return d;};BI.prototype.renderMdMarker1=function(a,b,c){return this.$val.renderMdMarker1(a,b,c);};BI.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BI.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BI.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BI.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BI.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BI.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BI.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BI.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BI.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BI.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BI.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BI.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BI.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BI.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BI.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BI.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BI.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BI.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BI.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BI.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BI.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BI.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BI.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BI.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BI.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BI.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BI.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BI.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BI.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BI.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BI.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BI.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BI.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BI.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BI.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BI.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BI.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BI.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BI.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BI.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BI.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BI.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BI.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BI.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BI.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BI.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BI.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BI.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BI.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BI.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BI.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BI.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BI.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BI.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BI.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BI.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BI.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};BI.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BI.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BI.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BI.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BI.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BI.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BI.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BI.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BI.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BI.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BI.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BI.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BI.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BI.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BI.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);d=(new CI($stringToBytes(c.BaseRenderer.EncodeLinkSpace(($bytesToString(d))))));$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BI.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BI.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BI.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BI.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BI.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BI.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BI.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BI.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BI.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BI.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BI.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BI.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BI.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BI.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BI.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BI.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BI.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.ChineseParagraphBeginningSpace&&(0===a.Parent.Type)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE3\x80\x80\xE3\x80\x80");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=7;continue;}$s=8;continue;case 7:d=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 8:if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("

    ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=-1;return 2;case 11:if(c.withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=18;continue;}$s=19;continue;case 18:if(c.withoutKramdownBlockIAL(a)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BI.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BI.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BI.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BI.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BI.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BI.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1");case 4:e=C.ReplaceAll(e,"_esc_newline_"," ");$r=c.BaseRenderer.WriteString(e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BI.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BI.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(36);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.UnescapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BI.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BI.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=2;continue;}$s=3;continue;case 2:if(c.withoutKramdownBlockIAL(a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BI.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a.Parent)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BI.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;e=a.Parent.ChildByType(14);if(!(CM.nil===e)&&BA(($bytesToString(e.CodeBlockInfo)))){d=G.UnescapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BI.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BI.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BI.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=11;continue;}$s=12;continue;case 11:if(c.withoutKramdownBlockIAL(a)){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(10);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 12:$s=-1;return 1;case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BI.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BI.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BI.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BI.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BI.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BI.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BI.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BI.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BI.ptr.prototype.renderBlockquote=function(a,b){var{a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BI.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BI.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BI.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BI.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BI.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BI.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BI.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();if(A.HasPrefix(k,(new CI($stringToBytes("* "))))){k=$appendSlice((new CI($stringToBytes(" \n\n"))),k);}l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BI.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BI.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BI.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BI.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BI.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};BI.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};BN=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(K.StrToBytes(a));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=K.BytesToStr(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BN,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmapStr=BN;BO=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=G.EncodeDestination(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BO,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmap=BO;BP=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];a=A.ReplaceAll(a,F.CaretTokens,CI.nil);c=J.Parse("",a,J.NewOptions());$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(CM.nil===d.Root.FirstChild||!((7===d.Root.FirstChild.Type))){$s=-1;return(new CI($stringToBytes("{}")));}e=CN.nil;f=d.Root.FirstChild;while(true){if(!(!(CM.nil===f))){break;}if(!((7===f.Type))){e=$append(e,f);}f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(d.Root,(function(b){return function $b(j,k){var{j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{j,k});$s=$s||0;s:while(true){switch($s){case 0:l=j.Type;if(l===(0)){$s=2;continue;}if(l===(7)){$s=3;continue;}if(l===(8)){$s=4;continue;}$s=5;continue;case 2:if(k){$s=7;continue;}$s=8;continue;case 7:if(BR(j)){$s=10;continue;}$s=11;continue;case 10:m=b[0].WriteString("{\"name\": \"Root\", \"children\": [");$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 11:$s=9;continue;case 8:if(BR(j)){$s=13;continue;}$s=14;continue;case 13:n=b[0].WriteString("]}");$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 14:case 9:$s=-1;return 2;case 3:$s=-1;return 2;case 4:o=!(CM.nil===j.ChildByType(7));if(k){$s=16;continue;}$s=17;continue;case 16:p=BQ(j.FirstChild);$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=b[0].WriteString("{\"name\": \""+p+"\"");$s=20;case 20:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o){$s=21;continue;}$s=22;continue;case 21:r=b[0].WriteString(", \"children\": [");$s=23;case 23:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 22:$s=18;continue;case 17:if(o){$s=24;continue;}$s=25;continue;case 24:s=b[0].WriteString("]");$s=26;case 26:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 25:t=b[0].WriteString("}");$s=27;case 27:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;if(!(CM.nil===j.Next)||!(CM.nil===j.Parent.Next)){$s=28;continue;}$s=29;continue;case 28:u=b[0].WriteString(", ");$s=30;case 30:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;case 29:case 18:$s=6;continue;case 5:$s=-1;return 2;case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};})(b));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0].Bytes();}return;}var $f={$blk:BP,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BQ=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c="";if(CM.nil===a){c="";$s=-1;return c;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(d,e){var{d,e,f,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if((7===d.Type)||(8===d.Type)){$s=-1;return 2;}if(((16===d.Type)||(40===d.Type))&&e){$s=1;continue;}$s=2;continue;case 1:f=b[0].Write(d.Tokens);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();c=C.ReplaceAll(c,"\\","\\\\");c=C.ReplaceAll(c,"\"","\\\"");c=C.ReplaceAll(c,"\xE2\x80\xB8","");$s=-1;return c;}return;}var $f={$blk:BQ,$c:true,$r,a,b,c,$s};return $f;};BR=function(a){var a,b,c,d;b=0;c=a.FirstChild;while(true){if(!(!(CM.nil===c))){break;}if(7===c.Type){b=b+(1)>>0;}c=c.Next;}if(1>0;}d=d.Next;}if(1a.$length){return true;}if(47===(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])){return false;}return!A.Contains(a,(new CI($stringToBytes(":/"))))&&!A.Contains(a,(new CI($stringToBytes(":\\"))))&&!A.Contains(a,(new CI($stringToBytes(":%5C"))));};AQ.prototype.isRelativePath=function(a){return this.$val.isRelativePath(a);};BT=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BS.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderCodeBlock")});h=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderMathBlock")});i=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderBlockquote")});j=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderSuperBlock")});k=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderHeading")});l=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderList")});m=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderListItem")});n=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderThematicBreak")});o=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHTML")});p=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderTable")});q=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderToC")});r=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderYamlFrontMatter")});s=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderBlockQueryEmbed")});t=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderKramdownBlockIAL")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:BT,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$pkg.NewKityMinderJSONRenderer=BT;BS.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};BS.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};BS.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BS.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BS.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BS.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BS.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BS.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BS.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){if(a.Parent.FirstChild===a&&a.Parent.LastChild===a){$s=-1;return 2;}}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BS.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BS.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BS.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BS.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;while(true){if(!(!(CM.nil===d))){break;}d.Unlink();d=d.Next;}e=BU(a);f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);a.AppendChild(h);g++;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BS.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BS.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BS.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BS.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BS.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BS.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 1;};BS.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BS.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"root\":");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BS.ptr.prototype.data=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=this;$r=c.BaseRenderer.WriteString("\"data\":");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.Type;if(e===(0)){$s=4;continue;}if(e===(7)){$s=5;continue;}if(e===(5)){$s=6;continue;}if(e===(475)){$s=7;continue;}$s=8;continue;case 4:d=c.BaseRenderer.Tree.Name;$s=9;continue;case 5:if(0===a.ListData.Typ){$s=10;continue;}if(1===a.ListData.Typ){$s=11;continue;}$s=12;continue;case 10:$r=c.BaseRenderer.WriteString("\"priority\": \"iconList\",");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 11:$r=c.BaseRenderer.WriteString("\"priority\": \"iconOrderedList\",");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\"priority\": \"iconCheck\",");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=9;continue;case 6:$r=c.BaseRenderer.WriteString("\"priority\": \"iconQuote\",");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 7:$r=c.BaseRenderer.WriteString("\"priority\": \"iconSuper\",");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(f,g){var{f,g,h,i,j,$s,$r,$c}=$restore(this,{f,g});$s=$s||0;s:while(true){switch($s){case 0:if(!g){$s=-1;return 2;}if(460===f.Type){$s=1;continue;}$s=2;continue;case 1:h=f.Text();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=b[0].WriteString("#"+h+"#");$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return 1;case 2:if((16===f.Type)||(40===f.Type)||(433===f.Type)||(434===f.Type)||(29===f.Type)||(15===f.Type)||(42===f.Type)||(302===f.Type)||(306===f.Type)||(427===f.Type)){$s=5;continue;}$s=6;continue;case 5:j=b[0].Write(f.Tokens);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,f,g,h,i,j,$s};return $f;};})(b));$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=b[0].String();case 9:case 3:f=C.NewReplacer(new CJ(["\\","","\n","","\"","","\t","","'",""]));g=f.Replace(d);$s=20;case 20:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}d=g;d=C.ReplaceAll(d,"'","");if(16=e.HeadingLevel){break;}}if(455===e.Type){if(!A.Contains(e.Tokens,(new CI($stringToBytes("type=\"doc\""))))){b=$append(b,e);}}else{b=$append(b,e);}e=e.Next;}return b;};BW=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=CN.nil;$r=H.Walk(a.Root,(function(c){return function(d,e){var d,e;if(!e||!((455===d.Type))){return 2;}c[0]=$append(c[0],d);return 2;};})(c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c[0];e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);f.Unlink();e++;}g=AR(a,b);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new BV.ptr(g);h.BaseRenderer.DefaultRendererFunc=$methodVal(h,"renderNode");$s=-1;return h;}return;}var $f={$blk:BW,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};$pkg.NewJSONRenderer=BW;BV.ptr.prototype.renderNode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(",");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:d=K.BytesToStr(a.Tokens);e=new H.NodeType(a.Type).String();a.Data=d;a.TypeStr=e;a.Properties=BX(a.KramdownIAL);$mapDelete(a.Properties,$String.keyFor("refcount"));g=M.Marshal(a);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j="";k="";a.Data=j;a.TypeStr=k;a.Properties=false;if(!($interfaceIsEqual($ifaceNil,i))){$s=8;continue;}$s=9;continue;case 8:l=i.Error();$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$panic(new $String("marshal node to json failed: "+l));$s=-1;return 0;case 9:m=K.BytesToStr(h);m=$substring(m,0,(m.length-1>>0));$r=c.BaseRenderer.WriteString(m);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.FirstChild)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(",\"Children\":[");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString("}");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$s=3;continue;case 2:if(!(CM.nil===a.FirstChild)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(93);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("}");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BV.ptr.prototype.renderNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BV.prototype.renderNode=function(a,b){return this.$val.renderNode(a,b);};BX=function(a){var a,b,c,d,e,f;b=false;b=$makeMap($String.keyFor,[]);c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);(b||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])});d++;}return b;};BZ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BY.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BZ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewHtmlRenderer=BZ;BY.ptr.prototype.Render=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;d=a;e=b.RenderFootnotes();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;a=$appendSlice(d,f);$s=-1;return a;}return;}var $f={$blk:BY.ptr.prototype.Render,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.Render=function(){return this.$val.Render();};BY.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BY.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BY.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){e=C.ReplaceAll(e,"|","|");}else{e=C.ReplaceAll(e,"\\|","|");}e=C.ReplaceAll(e,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:f=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){f=$append(f,new CJ(["title",a.TextMarkATitle]));}$r=d.BaseRenderer.Tag("a",f,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(e);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=d.BaseRenderer.WriteString(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=d.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=d.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=d.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(a.TextMarkInlineMemoContent);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:c[0]=d.renderTextMarkAttrs(a);d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(e);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BY.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BY.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BY.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BY.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BY.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BY.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BY.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BY.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BY.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BY.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BY.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BY.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BY.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BY.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BY.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BY.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BY.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BY.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BY.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BY.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BY.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BY.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BY.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BY.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BY.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BY.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BY.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BY.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BY.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BY.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BY.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BY.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BY.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BY.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BY.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BY.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BY.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BY.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BY.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BY.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BY.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BY.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BY.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BY.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BY.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BY.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BY.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BY.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BY.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BY.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BY.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BY.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BY.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BY.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BY.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BY.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BY.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BY.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BY.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BY.ptr.prototype.RenderFootnotes=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(1>a.BaseRenderer.FootnotesDefs.$length){$s=-1;return CI.nil;}b=new A.Buffer.ptr(CI.nil,0,0);c=b.WriteString("
    ");$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;d=b.WriteString("
    \n");$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=b.WriteString("
      ");$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=a.BaseRenderer.FootnotesDefs;g=0;case 4:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=b.WriteString("
    1. >0)+"\">");$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=new J.Tree.ptr(CM.nil,a.BaseRenderer.Tree.Context,DF.nil,DG.nil,"","","","","",CJ.nil,new $Int64(0,0),new $Int64(0,0),"");k.Context.Tree=k;k.Root=new H.Node.ptr("","","","",0,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");k.Root.AppendChild(i);l=BZ(k,a.BaseRenderer.Options);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=k.Root.LastDeepestChild();h=i.FootnotesRefs.$length-1>>0;while(true){if(!(0<=h)){break;}p=(o=i.FootnotesRefs,((h<0||h>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+h]));q=" \xE2\x86\xA9";r=new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,K.StrToBytes(q),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");n.InsertAfter(r);h=h-(1)>>0;}m.BaseRenderer.RenderingFootnotes=true;s=m.Render();$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=b.Write(t);$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=b.WriteString("
    2. \n");$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;g++;$s=4;continue;case 5:w=b.WriteString("
    ");$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return b.Bytes();}return;}var $f={$blk:BY.ptr.prototype.RenderFootnotes,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BY.prototype.RenderFootnotes=function(){return this.$val.RenderFootnotes();};BY.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c,d,e,f,g;c=this;if(b){if(!c.BaseRenderer.RenderingFootnotes){d=false;e=c.BaseRenderer.FootnotesDefs;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(A.EqualFold(a.Tokens,g.Tokens)){d=true;break;}f++;}if(!d){c.BaseRenderer.FootnotesDefs=$append(c.BaseRenderer.FootnotesDefs,a);}return 1;}}return 2;};BY.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BY.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BY.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BY.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BY.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BY.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BY.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BY.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BY.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BY.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BY.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","language-math"])]);$r=c.BaseRenderer.Tag("span",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BY.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BY.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BY.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BY.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BY.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-math"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BY.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BY.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BY.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BY.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.handleKramdownBlockIAL(a);$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BY.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BY.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BY.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BY.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BY.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BY.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BY.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BY.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BY.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BY.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BY.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BY.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BY.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BY.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BY.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BY.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BY.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=a.IALAttr("parent-style");if(!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["style",d])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("\"");$s=14;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(34);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=a.ChildByType(42);if(!(CM.nil===f)&&!(CI.nil===f.Tokens)){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" title=\"");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(f.Tokens));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:g=c.BaseRenderer.NodeAttrsStr(a);if(!(""===g)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString(" "+g);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString(" />");$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.IALAttr("style");if(!(""===h)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=c.BaseRenderer.Writer.Bytes();j=A.LastIndex(i,(new CI($stringToBytes("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BY.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BY.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]))+"\"");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:if(1=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);$r=c.BaseRenderer.WriteString(" "+(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])+"=\""+(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])+"\"");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k++;$s=17;continue;case 18:case 16:case 11:case 8:$r=c.BaseRenderer.WriteString(">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:m=AT(a);$s=23;case 23:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+n]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+n])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};BY.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BY.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BY.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BY.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}d.handleKramdownBlockIAL(a);c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BY.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(""===c.BaseRenderer.Options.GFMTaskListItemClass)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f=c.BaseRenderer.Options.GFMTaskListItemClass;if(e.TaskListItemChecked){f=f+(" vditor-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BY.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BY.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BY.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BY.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BY.ptr.prototype.handleKramdownBlockIAL=function(a){var a,b,c,d;b=this;if(b.BaseRenderer.Options.KramdownBlockIAL&&!("id"===b.BaseRenderer.Options.KramdownIALIDRenderName)&&0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=b.BaseRenderer.Options.KramdownIALIDRenderName));}};BY.prototype.handleKramdownBlockIAL=function(a){return this.$val.handleKramdownBlockIAL(a);};BY.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BY.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BY.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BY.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};CB=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CA.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:CB,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewFormatRenderer=CB;CA.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};CA.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};CA.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(c.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:d=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=10;continue;}$s=11;continue;case 10:f=E.DecodeLastRuneInString(e);g=f[0];if("\xE2\x80\x8B"===($encodeRune(g))){e=C.TrimSuffix(e,"\xE2\x80\x8B");h=E.DecodeLastRuneInString(e);g=h[0];}if(D.IsLetter(g)||D.IsDigit(g)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:i=c.renderTextMarkAttrs(a);$r=c.BaseRenderer.Tag("span",i,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"\\|","|");j=C.ReplaceAll(j,"|","\\|");j=C.ReplaceAll(j,"\n","
    ");if(C.Contains(a.TextMarkType,"code")){j=C.ReplaceAll(j,"
    ","");}}if(c.BaseRenderer.Options.AutoSpace&&!J.ContainTextMark(a,new CJ(["block-ref","code","inline-math","kbd","tag"]))){j=($bytesToString(c.BaseRenderer.Space((new CI($stringToBytes(j))))));}$r=c.BaseRenderer.WriteString(j);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=19;continue;}$s=20;continue;case 19:if(c.BaseRenderer.Options.AutoSpace){$s=22;continue;}$s=23;continue;case 22:k=a.NextNodeText();$s=24;case 24:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!(""===l)){$s=25;continue;}$s=26;continue;case 25:m=E.DecodeRuneInString(l);n=m[0];if("\xE2\x80\x8B"===($encodeRune(n))){l=C.TrimPrefix(l,"\xE2\x80\x8B");o=E.DecodeRuneInString(l);n=o[0];}if(D.IsLetter(n)||D.IsDigit(n)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteByte(32);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:case 26:case 23:$s=21;continue;case 20:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CA.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};CA.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");h=C.ReplaceAll(h,"|","\\|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=a.TextMarkATitle;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");i=C.ReplaceAll(i,"|","\\|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=G.EscapeHTMLStr(j);b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};CA.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};CA.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};CA.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};CA.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};CA.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};CA.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};CA.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};CA.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};CA.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};CA.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};CA.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};CA.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};CA.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};CA.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};CA.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};CA.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};CA.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};CA.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};CA.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};CA.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};CA.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};CA.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};CA.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};CA.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};CA.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};CA.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CA.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CA.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CA.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};CA.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};CA.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};CA.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};CA.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CA.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};CA.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};CA.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CA.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};CA.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};CA.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};CA.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CA.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CA.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};CA.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};CA.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};CA.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};CA.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CA.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};CA.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};CA.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};CA.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};CA.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CA.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CA.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CA.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CA.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CA.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CA.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};CA.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};CA.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CA.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CA.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CA.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CA.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CA.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};CA.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CA.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CA.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};CA.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CA.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CA.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};CA.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};CA.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};CA.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};CA.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};CA.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};CA.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};CA.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};CA.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};CA.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};CA.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};CA.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};CA.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};CA.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};CA.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};CA.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CA.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CA.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CA.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CA.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CA.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=3;continue;}$s=4;continue;case 3:d=A.TrimSpace(a.FirstChild.Tokens);$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 4:if(a.ParentIs(109,CQ.nil)){$s=6;continue;}$s=7;continue;case 6:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("

    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 2;case 7:if(c.withoutKramdownBlockIAL(a)){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.Newline();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=14;continue;}$s=15;continue;case 14:if(c.withoutKramdownBlockIAL(a)){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:case 15:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};CA.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CA.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};CA.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};CA.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};CA.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};CA.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};CA.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};CA.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CA.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};CA.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};CA.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CA.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CA.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CA.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CA.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CA.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CA.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CA.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};CA.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};CH=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CG.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeBlock")});j=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderMathBlock")});k=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderInlineMath")});l=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderEmphasis")});m=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderStrong")});n=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderBlockquote")});o=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHeading")});p=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderList")});q=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderListItem")});r=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderThematicBreak")});s=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderHardBreak")});t=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderSoftBreak")});u=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderHTML")});v=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineHTML")});w=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderLink")});x=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderImage")});y=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderStrikethrough")});z=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderTaskListItemMarker")});aa=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderTable")});ab=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderTableHead")});ac=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderTableRow")});ad=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderTableCell")});ae=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderEmoji")});af=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderEmojiUnicode")});ag=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderEmojiImg")});ah=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderEmojiAlias")});ai=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderFootnotesDef")});aj=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderFootnotesRef")});ak=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderToC")});al=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderBackslash")});am=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderBackslashContent")});an=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderHtmlEntity")});ao=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderYamlFrontMatter")});ap=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderBlockRef")});aq=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderFileAnnotationRef")});ar=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderMark")});as=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderSup")});at=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderSub")});au=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderKramdownBlockIAL")});av=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderKramdownSpanIAL")});aw=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBlockQueryEmbed")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:CH,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewEChartsJSONRenderer=CH;CG.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(K.IsDocIAL(a.Tokens)){e=c.BaseRenderer.Tree.ID;}$r=c.leaf("Block IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CG.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.leaf("Span IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CG.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Mark\nmark",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CG.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sup\nsup",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CG.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sub\nsub",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CG.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockQueryEmbed\n{{script}}",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CG.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockRef\n((id))",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CG.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("FileAnnotationRef\n<>",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CG.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};CG.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Front Matter\nYAML",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CG.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Entity\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CG.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CG.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Blackslash\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CG.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("ToC\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CG.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Footnotes Ref\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CG.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Footnotes Def\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CG.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline Math\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};CG.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Math Block\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};CG.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Img\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CG.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Unicode\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CG.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CG.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CG.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Cell\ntd",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CG.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Row\ntr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CG.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Head\nthead",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};CG.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Table\ntable",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CG.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Strikethrough\ndel",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CG.ptr.prototype.renderImage=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Image\nimg",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderImage,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CG.ptr.prototype.renderLink=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Link\na",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderLink,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CG.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Block\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CG.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline HTML\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CG.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Document",a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CG.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Paragraph\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CG.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=0;f="";g=d;h=0;while(true){if(!(h>0;f=f+(($encodeRune(j)));if(4>0));$r=c.val("Heading\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CG.ptr.prototype.renderList=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}$r=c.val("List\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderList,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CG.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("List Item\nli "+K.BytesToStr(a.ListData.Marker),a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CG.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=" ";if(a.TaskListItemChecked){d="X";}$r=c.val("Task List Item Marker\n["+d+"]",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CG.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Thematic Break\nhr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CG.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Hard Break\nbr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CG.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Soft Break\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CG.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Code Block\npre.code",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};CG.ptr.prototype.leaf=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.openObj();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(b);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.leaf,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.leaf=function(a,b){return this.$val.leaf(a,b);};CG.ptr.prototype.val=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;a=C.ReplaceAll(a,"\\","\\\\");a=C.ReplaceAll(a,"\n","\\n");a=C.ReplaceAll(a,"\"","");a=C.ReplaceAll(a,"'","");$r=c.BaseRenderer.WriteString("\"name\":\""+a+"\"");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.val,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.val=function(a,b){return this.$val.val(a,b);};CG.ptr.prototype.openObj=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteByte(123);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openObj,$c:true,$r,a,$s};return $f;};CG.prototype.openObj=function(){return this.$val.openObj();};CG.ptr.prototype.closeObj=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.BaseRenderer.WriteByte(125);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b.ignore(a.Next)){$s=2;continue;}$s=3;continue;case 2:$r=b.comma();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeObj,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeObj=function(a){return this.$val.closeObj(a);};CG.ptr.prototype.openChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteString(",\"children\":[");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.openChildren=function(a){return this.$val.openChildren(a);};CG.ptr.prototype.closeChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeChildren=function(a){return this.$val.closeChildren(a);};CG.ptr.prototype.comma=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteString(",");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.comma,$c:true,$r,a,$s};return $f;};CG.prototype.comma=function(){return this.$val.comma();};CG.ptr.prototype.ignore=function(a){var a,b;b=this;return CM.nil===a||(6===a.Type)||(18===a.Type)||(19===a.Type)||(20===a.Type)||(21===a.Type)||(23===a.Type)||(24===a.Type)||(25===a.Type)||(26===a.Type)||(102===a.Type)||(103===a.Type)||(104===a.Type)||(105===a.Type)||(301===a.Type)||(302===a.Type)||(303===a.Type)||(305===a.Type)||(306===a.Type)||(307===a.Type)||(426===a.Type)||(428===a.Type)||(427===a.Type);};CG.prototype.ignore=function(a){return this.$val.ignore(a);};BY.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=2;continue;}$s=3;continue;case 2:if(b){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.FirstChild.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 5:$s=-1;return 2;case 6:case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BY.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="";if(0=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])));}f=BA(d);if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=CL.nil;c.handleKramdownBlockIAL(a);g=$appendSlice(g,a.KramdownIAL);if(!f){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("pre",g,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:h=a.Tokens;if(0");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:if(f){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString("
    ");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 13:h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=3;continue;case 2:if(f){$s=26;continue;}$s=27;continue;case 26:$r=c.BaseRenderer.WriteString("
    ");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:$r=c.BaseRenderer.Newline();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BY.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};DH.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DI.methods=[{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"inListItem",name:"inListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"popWriteClass",name:"popWriteClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"popWriter",name:"popWriter",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderClass",name:"renderClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"domAttrValue",name:"domAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String],[$String],false)},{prop:"domSetAttrValue",name:"domSetAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String,$String],[],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DJ.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"tagMatchClose",name:"tagMatchClose",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"tagMatchOpen",name:"tagMatchOpen",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSpanNode",name:"renderSpanNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderDivNode",name:"renderDivNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DK.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI,CJ],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CK.methods=[{prop:"FixTermTypo",name:"FixTermTypo",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"fixTermTypo0",name:"fixTermTypo0",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"TextAutoSpacePrevious",name:"TextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"TextAutoSpaceNext",name:"TextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpacePrevious",name:"LinkTextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpaceNext",name:"LinkTextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC0",name:"renderToC0",pkg:"github.com/88250/lute/render",typ:$funcType([DB],[],false)},{prop:"Tag",name:"Tag",pkg:"",typ:$funcType([$String,CL,$Bool],[],false)},{prop:"headings",name:"headings",pkg:"github.com/88250/lute/render",typ:$funcType([],[DC],false)},{prop:"setextHeadingLen",name:"setextHeadingLen",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Int],false)},{prop:"renderListStyle",name:"renderListStyle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"tagSrc",name:"tagSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"tagSrcPath",name:"tagSrcPath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"isLastNode",name:"isLastNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CM],[$Bool],false)},{prop:"NodeID",name:"NodeID",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"NodeAttrs",name:"NodeAttrs",pkg:"",typ:$funcType([CM],[CL],false)},{prop:"NodeAttrsStr",name:"NodeAttrsStr",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"EncodeLinkSpace",name:"EncodeLinkSpace",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LinkPath",name:"LinkPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"PrefixPath",name:"PrefixPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"RelativePath",name:"RelativePath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"isRelativePath",name:"isRelativePath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[$Bool],false)}];DO.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"replaceSrc",name:"replaceSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI,CI,CI],[CI],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"escapeRefText",name:"escapeRefText",pkg:"github.com/88250/lute/render",typ:$funcType([$String],[$String],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"blockNodeAttrs",name:"blockNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeClass",name:"nodeClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeDataType",name:"nodeDataType",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeID",name:"nodeID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeIndex",name:"nodeIndex",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"spellcheck",name:"spellcheck",pkg:"github.com/88250/lute/render",typ:$funcType([CR],[],false)},{prop:"contenteditable",name:"contenteditable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderIAL",name:"renderIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)}];DP.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)}];DR.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMdMarker",name:"renderMdMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[$String],false)},{prop:"renderMdMarker0",name:"renderMdMarker0",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderMdMarker1",name:"renderMdMarker1",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DT.methods=[{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"data",name:"data",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)}];DU.methods=[{prop:"renderNode",name:"renderNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DV.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"RenderFootnotes",name:"RenderFootnotes",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"handleKramdownBlockIAL",name:"handleKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CX.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DW.methods=[{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"leaf",name:"leaf",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"val",name:"val",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"ignore",name:"ignore",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];N.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"commentStackDepth",name:"commentStackDepth",embedded:false,exported:false,typ:$Int,tag:""}]);P.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"nodeWriterStack",name:"nodeWriterStack",embedded:false,exported:false,typ:CT,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:CI,tag:""}]);R.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);T.init("github.com/88250/lute/render",[{prop:"FormatRenderer",name:"FormatRenderer",embedded:true,exported:true,typ:CX,tag:""},{prop:"linkPrefixes",name:"linkPrefixes",embedded:false,exported:false,typ:CJ,tag:""},{prop:"originalLink",name:"originalLink",embedded:false,exported:false,typ:CJ,tag:""}]);AL.init([CM,$Bool],[H.WalkStatus],false);AM.init([CM,$Bool],[$String,H.WalkStatus],false);AO.init("",[{prop:"SoftBreak2HardBreak",name:"SoftBreak2HardBreak",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"AutoSpace",name:"AutoSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"RenderListStyle",name:"RenderListStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlight",name:"CodeSyntaxHighlight",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightDetectLang",name:"CodeSyntaxHighlightDetectLang",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightInlineStyle",name:"CodeSyntaxHighlightInlineStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightLineNum",name:"CodeSyntaxHighlightLineNum",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightStyleName",name:"CodeSyntaxHighlightStyleName",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorWYSIWYG",name:"VditorWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorIR",name:"VditorIR",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorSV",name:"VditorSV",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleWYSIWYG",name:"ProtyleWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownBlockIAL",name:"KramdownBlockIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownSpanIAL",name:"KramdownSpanIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"SuperBlock",name:"SuperBlock",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ImageLazyLoading",name:"ImageLazyLoading",embedded:false,exported:true,typ:$String,tag:""},{prop:"ChineseParagraphBeginningSpace",name:"ChineseParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Sanitize",name:"Sanitize",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"FixTermTypo",name:"FixTermTypo",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Terms",name:"Terms",embedded:false,exported:true,typ:DL,tag:""},{prop:"ToC",name:"ToC",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"HeadingID",name:"HeadingID",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownIALIDRenderName",name:"KramdownIALIDRenderName",embedded:false,exported:true,typ:$String,tag:""},{prop:"HeadingAnchor",name:"HeadingAnchor",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"GFMTaskListItemClass",name:"GFMTaskListItemClass",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorCodeBlockPreview",name:"VditorCodeBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorMathBlockPreview",name:"VditorMathBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorHTMLBlockPreview",name:"VditorHTMLBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"LinkBase",name:"LinkBase",embedded:false,exported:true,typ:$String,tag:""},{prop:"LinkPrefix",name:"LinkPrefix",embedded:false,exported:true,typ:$String,tag:""},{prop:"NodeIndexStart",name:"NodeIndexStart",embedded:false,exported:true,typ:$Int,tag:""},{prop:"ProtyleContenteditable",name:"ProtyleContenteditable",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KeepParagraphBeginningSpace",name:"KeepParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleMarkNetImg",name:"ProtyleMarkNetImg",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Spellcheck",name:"Spellcheck",embedded:false,exported:true,typ:$Bool,tag:""}]);AQ.init("",[{prop:"Options",name:"Options",embedded:false,exported:true,typ:CZ,tag:""},{prop:"RendererFuncs",name:"RendererFuncs",embedded:false,exported:true,typ:DM,tag:""},{prop:"DefaultRendererFunc",name:"DefaultRendererFunc",embedded:false,exported:true,typ:AL,tag:""},{prop:"ExtRendererFuncs",name:"ExtRendererFuncs",embedded:false,exported:true,typ:DN,tag:""},{prop:"Writer",name:"Writer",embedded:false,exported:true,typ:CS,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:$Uint8,tag:""},{prop:"Tree",name:"Tree",embedded:false,exported:true,typ:DA,tag:""},{prop:"DisableTags",name:"DisableTags",embedded:false,exported:true,typ:$Int,tag:""},{prop:"FootnotesDefs",name:"FootnotesDefs",embedded:false,exported:true,typ:CN,tag:""},{prop:"RenderingFootnotes",name:"RenderingFootnotes",embedded:false,exported:true,typ:$Bool,tag:""}]);AW.init("github.com/88250/lute/render",[{prop:"ID",name:"ID",embedded:false,exported:true,typ:$String,tag:"json:\"id\""},{prop:"Box",name:"Box",embedded:false,exported:true,typ:$String,tag:"json:\"box\""},{prop:"Path",name:"Path",embedded:false,exported:true,typ:$String,tag:"json:\"path\""},{prop:"HPath",name:"HPath",embedded:false,exported:true,typ:$String,tag:"json:\"hPath\""},{prop:"Content",name:"Content",embedded:false,exported:true,typ:$String,tag:"json:\"content\""},{prop:"Level",name:"Level",embedded:false,exported:true,typ:$Int,tag:"json:\"level\""},{prop:"Children",name:"Children",embedded:false,exported:true,typ:DC,tag:"json:\"children\""},{prop:"parent",name:"parent",embedded:false,exported:false,typ:DB,tag:""}]);BC.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeIndex",name:"NodeIndex",embedded:false,exported:true,typ:$Int,tag:""}]);BE.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BI.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);BS.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BV.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BY.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);CA.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);CG.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.NewlineSV=(new CI($stringToBytes("
    \n
    ")));X=$makeMap($String.keyFor,[{k:"flutter",v:"Flutter"},{k:"netty",v:"Netty"},{k:"jetty",v:"Jetty"},{k:"tomcat",v:"Tomcat"},{k:"jdbc",v:"JDBC"},{k:"mariadb",v:"MariaDB"},{k:"ipfs",v:"IPFS"},{k:"saas",v:"SaaS"},{k:"paas",v:"PaaS"},{k:"iaas",v:"IaaS"},{k:"ioc",v:"IoC"},{k:"freemarker",v:"FreeMarker"},{k:"ruby",v:"Ruby"},{k:"rails",v:"Rails"},{k:"mina",v:"Mina"},{k:"puppet",v:"Puppet"},{k:"vagrant",v:"Vagrant"},{k:"chef",v:"Chef"},{k:"beego",v:"Beego"},{k:"gin",v:"Gin"},{k:"iris",v:"Iris"},{k:"php",v:"PHP"},{k:"ssh",v:"SSH"},{k:"web",v:"Web"},{k:"websocket",v:"WebSocket"},{k:"api",v:"API"},{k:"css",v:"CSS"},{k:"html",v:"HTML"},{k:"json",v:"JSON"},{k:"jsonp",v:"JSONP"},{k:"xml",v:"XML"},{k:"yaml",v:"YAML"},{k:"csv",v:"CSV"},{k:"soap",v:"SOAP"},{k:"ajax",v:"AJAX"},{k:"messagepack",v:"MessagePack"},{k:"javascript",v:"JavaScript"},{k:"java",v:"Java"},{k:"jsp",v:"JSP"},{k:"restful",v:"RESTFul"},{k:"graphql",v:"GraphQL"},{k:"gorm",v:"GORM"},{k:"orm",v:"ORM"},{k:"oauth",v:"OAuth"},{k:"facebook",v:"Facebook"},{k:"github",v:"GitHub"},{k:"gist",v:"Gist"},{k:"heroku",v:"Heroku"},{k:"twitter",v:"Twitter"},{k:"youtube",v:"YouTube"},{k:"dynamodb",v:"DynamoDB"},{k:"mysql",v:"MySQL"},{k:"postgresql",v:"PostgreSQL"},{k:"sqlite",v:"SQLite"},{k:"memcached",v:"Memcached"},{k:"mongodb",v:"MongoDB"},{k:"redis",v:"Redis"},{k:"elasticsearch",v:"Elasticsearch"},{k:"solr",v:"Solr"},{k:"b3log",v:"B3log"},{k:"hacpai",v:"HacPai"},{k:"sphinx",v:"Sphinx"},{k:"linux",v:"Linux"},{k:"ubuntu",v:"Ubuntu"},{k:"centos",v:"CentOS"},{k:"centos7",v:"CentOS7"},{k:"redhat",v:"RedHat"},{k:"gitlab",v:"GitLab"},{k:"jquery",v:"jQuery"},{k:"angularjs",v:"AngularJS"},{k:"ffmpeg",v:"FFmpeg"},{k:"git",v:"Git"},{k:"svn",v:"SVN"},{k:"vim",v:"VIM"},{k:"emacs",v:"Emacs"},{k:"sublime",v:"Sublime"},{k:"virtualbox",v:"VirtualBox"},{k:"safari",v:"Safari"},{k:"chrome",v:"Chrome"},{k:"ie",v:"IE"},{k:"firefox",v:"Firefox"},{k:"iterm",v:"iTerm"},{k:"iterm2",v:"iTerm2"},{k:"iwork",v:"iWork"},{k:"itunes",v:"iTunes"},{k:"iphoto",v:"iPhoto"},{k:"ibook",v:"iBook"},{k:"imessage",v:"iMessage"},{k:"photoshop",v:"Photoshop"},{k:"excel",v:"Excel"},{k:"powerpoint",v:"PowerPoint"},{k:"ios",v:"iOS"},{k:"iphone",v:"iPhone"},{k:"ipad",v:"iPad"},{k:"android",v:"Android"},{k:"imac",v:"iMac"},{k:"macbook",v:"MacBook"},{k:"vps",v:"VPS"},{k:"vpn",v:"VPN"},{k:"cpu",v:"CPU"},{k:"spring",v:"Spring"},{k:"springboot",v:"SpringBoot"},{k:"springcloud",v:"SpringCloud"},{k:"springmvc",v:"SpringMVC"},{k:"mybatis",v:"MyBatis"},{k:"qq",v:"QQ"},{k:"sql",v:"SQL"},{k:"markdown",v:"Markdown"},{k:"jdk",v:"JDK"},{k:"openjdk",v:"OpenJDK"},{k:"cors",v:"CORS"},{k:"protobuf",v:"Protobuf"},{k:"google",v:"Google"},{k:"ibm",v:"IBM"},{k:"oracle",v:"Oracle"},{k:"typora",v:"Typora"}]);AC=$makeMap($String.keyFor,[{k:"frame",v:$ifaceNil},{k:"frameset",v:$ifaceNil},{k:"noembed",v:$ifaceNil},{k:"noframes",v:$ifaceNil},{k:"noscript",v:$ifaceNil},{k:"nostyle",v:$ifaceNil},{k:"object",v:$ifaceNil},{k:"script",v:$ifaceNil},{k:"style",v:$ifaceNil},{k:"title",v:$ifaceNil}]);AK=$makeMap($String.keyFor,[{k:"onafterprint",v:$ifaceNil},{k:"onbeforeprint",v:$ifaceNil},{k:"onbeforeunload",v:$ifaceNil},{k:"onerror",v:$ifaceNil},{k:"onhashchange",v:$ifaceNil},{k:"onload",v:$ifaceNil},{k:"onmessage",v:$ifaceNil},{k:"onoffline",v:$ifaceNil},{k:"ononline",v:$ifaceNil},{k:"onpagehide",v:$ifaceNil},{k:"onpageshow",v:$ifaceNil},{k:"onpopstate",v:$ifaceNil},{k:"onresize",v:$ifaceNil},{k:"onstorage",v:$ifaceNil},{k:"onunload",v:$ifaceNil},{k:"onblur",v:$ifaceNil},{k:"onchange",v:$ifaceNil},{k:"oncontextmenu",v:$ifaceNil},{k:"onfocus",v:$ifaceNil},{k:"oninput",v:$ifaceNil},{k:"oninvalid",v:$ifaceNil},{k:"onreset",v:$ifaceNil},{k:"onsearch",v:$ifaceNil},{k:"onselect",v:$ifaceNil},{k:"onsubmit",v:$ifaceNil},{k:"onkeydown",v:$ifaceNil},{k:"onkeypress",v:$ifaceNil},{k:"onkeyup",v:$ifaceNil},{k:"onclick",v:$ifaceNil},{k:"ondblclick",v:$ifaceNil},{k:"onmousedown",v:$ifaceNil},{k:"onmousemove",v:$ifaceNil},{k:"onmouseout",v:$ifaceNil},{k:"onmouseover",v:$ifaceNil},{k:"onmouseleave",v:$ifaceNil},{k:"onmouseenter",v:$ifaceNil},{k:"onmouseup",v:$ifaceNil},{k:"onmousewheel",v:$ifaceNil},{k:"onwheel",v:$ifaceNil},{k:"ondrag",v:$ifaceNil},{k:"ondragend",v:$ifaceNil},{k:"ondragenter",v:$ifaceNil},{k:"ondragleave",v:$ifaceNil},{k:"ondragover",v:$ifaceNil},{k:"ondragstart",v:$ifaceNil},{k:"ondrop",v:$ifaceNil},{k:"onscroll",v:$ifaceNil},{k:"oncopy",v:$ifaceNil},{k:"oncut",v:$ifaceNil},{k:"onpaste",v:$ifaceNil},{k:"onabort",v:$ifaceNil},{k:"oncanplay",v:$ifaceNil},{k:"oncanplaythrough",v:$ifaceNil},{k:"oncuechange",v:$ifaceNil},{k:"ondurationchange",v:$ifaceNil},{k:"onemptied",v:$ifaceNil},{k:"onended",v:$ifaceNil},{k:"onloadeddata",v:$ifaceNil},{k:"onloadedmetadata",v:$ifaceNil},{k:"onloadstart",v:$ifaceNil},{k:"onpause",v:$ifaceNil},{k:"onplay",v:$ifaceNil},{k:"onplaying",v:$ifaceNil},{k:"onprogress",v:$ifaceNil},{k:"onratechange",v:$ifaceNil},{k:"onseeked",v:$ifaceNil},{k:"onseeking",v:$ifaceNil},{k:"onstalled",v:$ifaceNil},{k:"onsuspend",v:$ifaceNil},{k:"ontimeupdate",v:$ifaceNil},{k:"onvolumechange",v:$ifaceNil},{k:"onwaiting",v:$ifaceNil},{k:"ontoggle",v:$ifaceNil},{k:"onbegin",v:$ifaceNil},{k:"onend",v:$ifaceNil},{k:"onrepeat",v:$ifaceNil},{k:"http-equiv",v:$ifaceNil},{k:"formaction",v:$ifaceNil}]);AZ=new CJ(["mermaid","echarts","abc","graphviz","mindmap","flowchart","plantuml"]);CF=new CJ(["jpg","png","gif","webp","cr2","tif","bmp","heif","jxr","psd","ico","dwg","mp4","m4v","mkv","webm","mov","avi","wmv","mpg","flv","3gp","mid","mp3","m4a","ogg","flac","wav","amr","aac","epub","zip","tar","rar","gz","bz2","7z","xz","pdf","exe","swf","rtf","iso","eot","ps","sqli","nes","crx","cab","deb","ar","Z","lz","rpm","elf","dcm","doc","docx","xls","xlsx","ppt","pptx","md","txt","woff","woff2","ttf","otf","wasm","exe","html","js","css","go","java","textbundle"]);CD=CF.$length;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); +$packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,A,M,H,F,G,I,J,K,L,B,C,D,E,N,P,R,T,AL,AM,AO,AQ,AW,BC,BE,BI,BS,BV,BY,CA,CG,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DR,DT,DU,DV,DW,X,AC,AK,AZ,CD,CF,O,Q,S,U,V,W,Y,Z,AA,AB,AD,AE,AF,AG,AH,AI,AJ,AP,AR,AS,AT,AU,AV,AX,AY,BA,BD,BF,BJ,BK,BN,BO,BP,BQ,BR,BT,BU,BW,BX,BZ,CB,CH;A=$packages["bytes"];M=$packages["encoding/json"];H=$packages["github.com/88250/lute/ast"];F=$packages["github.com/88250/lute/editor"];G=$packages["github.com/88250/lute/html"];I=$packages["github.com/88250/lute/lex"];J=$packages["github.com/88250/lute/parse"];K=$packages["github.com/88250/lute/util"];L=$packages["io"];B=$packages["strconv"];C=$packages["strings"];D=$packages["unicode"];E=$packages["unicode/utf8"];N=$pkg.VditorRenderer=$newType(0,$kindStruct,"render.VditorRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,commentStackDepth_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.commentStackDepth=0;return;}this.BaseRenderer=BaseRenderer_;this.commentStackDepth=commentStackDepth_;});P=$pkg.VditorSVRenderer=$newType(0,$kindStruct,"render.VditorSVRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,nodeWriterStack_,LastOut_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.nodeWriterStack=CT.nil;this.LastOut=CI.nil;return;}this.BaseRenderer=BaseRenderer_;this.nodeWriterStack=nodeWriterStack_;this.LastOut=LastOut_;});R=$pkg.VditorIRRenderer=$newType(0,$kindStruct,"render.VditorIRRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});T=$pkg.TextBundleRenderer=$newType(0,$kindStruct,"render.TextBundleRenderer",true,"github.com/88250/lute/render",true,function(FormatRenderer_,linkPrefixes_,originalLink_){this.$val=this;if(arguments.length===0){this.FormatRenderer=CX.nil;this.linkPrefixes=CJ.nil;this.originalLink=CJ.nil;return;}this.FormatRenderer=FormatRenderer_;this.linkPrefixes=linkPrefixes_;this.originalLink=originalLink_;});AL=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AM=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AO=$pkg.Options=$newType(0,$kindStruct,"render.Options",true,"github.com/88250/lute/render",true,function(SoftBreak2HardBreak_,AutoSpace_,RenderListStyle_,CodeSyntaxHighlight_,CodeSyntaxHighlightDetectLang_,CodeSyntaxHighlightInlineStyle_,CodeSyntaxHighlightLineNum_,CodeSyntaxHighlightStyleName_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,KramdownBlockIAL_,KramdownSpanIAL_,SuperBlock_,ImageLazyLoading_,ChineseParagraphBeginningSpace_,Sanitize_,FixTermTypo_,Terms_,ToC_,HeadingID_,KramdownIALIDRenderName_,HeadingAnchor_,GFMTaskListItemClass_,VditorCodeBlockPreview_,VditorMathBlockPreview_,VditorHTMLBlockPreview_,LinkBase_,LinkPrefix_,NodeIndexStart_,ProtyleContenteditable_,KeepParagraphBeginningSpace_,ProtyleMarkNetImg_,Spellcheck_){this.$val=this;if(arguments.length===0){this.SoftBreak2HardBreak=false;this.AutoSpace=false;this.RenderListStyle=false;this.CodeSyntaxHighlight=false;this.CodeSyntaxHighlightDetectLang=false;this.CodeSyntaxHighlightInlineStyle=false;this.CodeSyntaxHighlightLineNum=false;this.CodeSyntaxHighlightStyleName="";this.VditorWYSIWYG=false;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.KramdownBlockIAL=false;this.KramdownSpanIAL=false;this.SuperBlock=false;this.ImageLazyLoading="";this.ChineseParagraphBeginningSpace=false;this.Sanitize=false;this.FixTermTypo=false;this.Terms=false;this.ToC=false;this.HeadingID=false;this.KramdownIALIDRenderName="";this.HeadingAnchor=false;this.GFMTaskListItemClass="";this.VditorCodeBlockPreview=false;this.VditorMathBlockPreview=false;this.VditorHTMLBlockPreview=false;this.LinkBase="";this.LinkPrefix="";this.NodeIndexStart=0;this.ProtyleContenteditable=false;this.KeepParagraphBeginningSpace=false;this.ProtyleMarkNetImg=false;this.Spellcheck=false;return;}this.SoftBreak2HardBreak=SoftBreak2HardBreak_;this.AutoSpace=AutoSpace_;this.RenderListStyle=RenderListStyle_;this.CodeSyntaxHighlight=CodeSyntaxHighlight_;this.CodeSyntaxHighlightDetectLang=CodeSyntaxHighlightDetectLang_;this.CodeSyntaxHighlightInlineStyle=CodeSyntaxHighlightInlineStyle_;this.CodeSyntaxHighlightLineNum=CodeSyntaxHighlightLineNum_;this.CodeSyntaxHighlightStyleName=CodeSyntaxHighlightStyleName_;this.VditorWYSIWYG=VditorWYSIWYG_;this.VditorIR=VditorIR_;this.VditorSV=VditorSV_;this.ProtyleWYSIWYG=ProtyleWYSIWYG_;this.KramdownBlockIAL=KramdownBlockIAL_;this.KramdownSpanIAL=KramdownSpanIAL_;this.SuperBlock=SuperBlock_;this.ImageLazyLoading=ImageLazyLoading_;this.ChineseParagraphBeginningSpace=ChineseParagraphBeginningSpace_;this.Sanitize=Sanitize_;this.FixTermTypo=FixTermTypo_;this.Terms=Terms_;this.ToC=ToC_;this.HeadingID=HeadingID_;this.KramdownIALIDRenderName=KramdownIALIDRenderName_;this.HeadingAnchor=HeadingAnchor_;this.GFMTaskListItemClass=GFMTaskListItemClass_;this.VditorCodeBlockPreview=VditorCodeBlockPreview_;this.VditorMathBlockPreview=VditorMathBlockPreview_;this.VditorHTMLBlockPreview=VditorHTMLBlockPreview_;this.LinkBase=LinkBase_;this.LinkPrefix=LinkPrefix_;this.NodeIndexStart=NodeIndexStart_;this.ProtyleContenteditable=ProtyleContenteditable_;this.KeepParagraphBeginningSpace=KeepParagraphBeginningSpace_;this.ProtyleMarkNetImg=ProtyleMarkNetImg_;this.Spellcheck=Spellcheck_;});AQ=$pkg.BaseRenderer=$newType(0,$kindStruct,"render.BaseRenderer",true,"github.com/88250/lute/render",true,function(Options_,RendererFuncs_,DefaultRendererFunc_,ExtRendererFuncs_,Writer_,LastOut_,Tree_,DisableTags_,FootnotesDefs_,RenderingFootnotes_){this.$val=this;if(arguments.length===0){this.Options=CZ.nil;this.RendererFuncs=false;this.DefaultRendererFunc=$throwNilPointerError;this.ExtRendererFuncs=false;this.Writer=CS.nil;this.LastOut=0;this.Tree=DA.nil;this.DisableTags=0;this.FootnotesDefs=CN.nil;this.RenderingFootnotes=false;return;}this.Options=Options_;this.RendererFuncs=RendererFuncs_;this.DefaultRendererFunc=DefaultRendererFunc_;this.ExtRendererFuncs=ExtRendererFuncs_;this.Writer=Writer_;this.LastOut=LastOut_;this.Tree=Tree_;this.DisableTags=DisableTags_;this.FootnotesDefs=FootnotesDefs_;this.RenderingFootnotes=RenderingFootnotes_;});AW=$pkg.Heading=$newType(0,$kindStruct,"render.Heading",true,"github.com/88250/lute/render",true,function(ID_,Box_,Path_,HPath_,Content_,Level_,Children_,parent_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.HPath="";this.Content="";this.Level=0;this.Children=DC.nil;this.parent=DB.nil;return;}this.ID=ID_;this.Box=Box_;this.Path=Path_;this.HPath=HPath_;this.Content=Content_;this.Level=Level_;this.Children=Children_;this.parent=parent_;});BC=$pkg.ProtyleRenderer=$newType(0,$kindStruct,"render.ProtyleRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeIndex_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeIndex=0;return;}this.BaseRenderer=BaseRenderer_;this.NodeIndex=NodeIndex_;});BE=$pkg.ProtylePreviewRenderer=$newType(0,$kindStruct,"render.ProtylePreviewRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BI=$pkg.ProtyleExportMdRenderer=$newType(0,$kindStruct,"render.ProtyleExportMdRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});BS=$pkg.KityMinderJSONRenderer=$newType(0,$kindStruct,"render.KityMinderJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BV=$pkg.JSONRenderer=$newType(0,$kindStruct,"render.JSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BY=$pkg.HtmlRenderer=$newType(0,$kindStruct,"render.HtmlRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CA=$pkg.FormatRenderer=$newType(0,$kindStruct,"render.FormatRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});CG=$pkg.EChartsJSONRenderer=$newType(0,$kindStruct,"render.EChartsJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CI=$sliceType($Uint8);CJ=$sliceType($String);CK=$ptrType(AQ);CL=$sliceType(CJ);CM=$ptrType(H.Node);CN=$sliceType(CM);CO=$ptrType(H.ListData);CP=$sliceType($Int);CQ=$sliceType(H.NodeType);CR=$ptrType(CL);CS=$ptrType(A.Buffer);CT=$sliceType(CS);CU=$ptrType(G.Node);CV=$ptrType(G.Attribute);CW=$sliceType(CV);CX=$ptrType(CA);CY=$sliceType($Int32);CZ=$ptrType(AO);DA=$ptrType(J.Tree);DB=$ptrType(AW);DC=$sliceType(DB);DD=$sliceType(CN);DE=$ptrType(J.Context);DF=$ptrType(I.Lexer);DG=$ptrType(J.InlineContext);DH=$ptrType(N);DI=$ptrType(P);DJ=$ptrType(R);DK=$ptrType(T);DL=$mapType($String,$String);DM=$mapType(H.NodeType,AL);DN=$mapType(H.NodeType,AM);DO=$ptrType(BC);DP=$ptrType(BE);DR=$ptrType(BI);DT=$ptrType(BS);DU=$ptrType(BV);DV=$ptrType(BY);DW=$ptrType(CG);O=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new N.ptr(c,0);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderMark2OpenMarker")});ck=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderMark2CloseMarker")});cl=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSup")});cm=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSupOpenMarker")});cn=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSupCloseMarker")});co=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSub")});cp=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderSubOpenMarker")});cq=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderSubCloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:O,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorRenderer=O;N.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};N.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};N.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};N.ptr.prototype.renderMark=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};N.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};N.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};N.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","=="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};N.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};N.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};N.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-marker","^"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};N.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};N.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};N.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};N.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("
    ");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};N.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};N.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};N.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-entity"]),new CJ(["style","display: none"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),a.HtmlEntityTokens);$r=c.BaseRenderer.Write(G.EscapeHTML(f));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=A.ReplaceAll(a.HtmlEntityTokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(g);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};N.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};N.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};N.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:N.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};N.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};N.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)&&A.EqualFold(a.Previous.Tokens,a.Tokens)){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
  • ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 4:if(!(!(CM.nil===d))){$s=5;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=4;continue;case 5:$r=c[0].BaseRenderer.WriteString("
  • ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};N.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=8;case 8:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=G.EscapeString(l);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=AS(m,24);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new CL([new CJ(["data-type","footnotes-ref"]),new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]),new CJ(["class","vditor-tooltipped vditor-tooltipped__s"]),new CJ(["aria-label",n])]);$r=c.BaseRenderer.Tag("sup",o,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};N.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};N.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};N.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};N.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};N.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};N.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};N.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};N.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};N.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);e=d;f=new CL([new CJ(["data-type","math-inline"])]);if(!A.Contains(e,F.CaretTokens)){f=$append(f,new CJ(["style","display: none"]));}$r=c.BaseRenderer.WriteString("");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};N.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};N.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};N.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};N.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=CL.nil;if(!A.Contains(e,F.CaretTokens)&&c.BaseRenderer.Options.VditorMathBlockPreview){f=$append(f,new CJ(["style","display: none"]));}g=e.$length;h=1>g||((3===g)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.Tokens;i=A.ReplaceAll(i,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(i));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};N.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};N.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};N.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};N.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};N.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};N.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};N.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};N.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};N.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};N.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};N.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};N.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};N.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};N.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};N.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};N.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};N.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};N.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};N.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};N.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};N.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};N.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){$s=3;continue;}$s=4;continue;case 3:d=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteString("\"");$s=12;case");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.Writer.Bytes();l=A.LastIndex(k,(new CI($stringToBytes("\"");$s=32;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=33;continue;}$s=34;continue;case 33:$r=c.BaseRenderer.WriteByte(34);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=a.ChildByType(42);if(!(CM.nil===r)&&!(CI.nil===r.Tokens)){$s=36;continue;}$s=37;continue;case 36:$r=c.BaseRenderer.WriteString(" title=\"");$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r.Tokens=A.ReplaceAll(r.Tokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(r.Tokens);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:$r=c.BaseRenderer.WriteString(" />");$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=c.BaseRenderer.Writer.Bytes();t=A.LastIndex(s,(new CI($stringToBytes("=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]).Tokens));}i=($bytesToString(a.LinkRefLabel));j=new CL([new CJ(["data-type","link-ref"]),new CJ(["data-link-label",i])]);$r=c.BaseRenderer.Tag("span",j,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(h);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 4:$s=-1;return 2;case 5:case 2:if(b){$s=15;continue;}$s=16;continue;case 15:k=a.ChildByType(41);l=k.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=18;continue;}$s=19;continue;case 18:m=A.TrimSpace(l);$s=20;case 20:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=A.ToLower(n);$s=21;case 21:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;if(A.HasPrefix(n,(new CI($stringToBytes("javascript:"))))){l=CI.nil;}case 19:l=c.BaseRenderer.LinkPath(l);p=A.Contains(l,F.CaretTokens);if(p){q=a.ChildByType(40);q.Tokens=$appendSlice(q.Tokens,F.CaretTokens);l=A.ReplaceAll(l,F.CaretTokens,CI.nil);}r=new CL([new CJ(["href",($bytesToString(l))])]);s=a.ChildByType(42);if(!(CM.nil===s)&&!(CI.nil===s.Tokens)){s.Tokens=A.ReplaceAll(s.Tokens,F.CaretTokens,CI.nil);r=$append(r,new CJ(["title",($bytesToString(s.Tokens))]));}$r=c.BaseRenderer.Tag("a",r,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=17;continue;case 16:$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};N.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};N.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("
    ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:$r=c.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};N.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Contains(a.Tokens,(new CI($stringToBytes(">0;$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=7;continue;}$s=8;continue;case 7:if(0>0;$r=c.BaseRenderer.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 10:case 8:if(b){$s=12;continue;}$s=13;continue;case 12:d=a.PreviousNodeText();$s=14;case 14:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if("\xE2\x80\x8B"===e||""===e){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:f=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),f);g=A.TrimSpace(a.Tokens);$s=18;case 18:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.Tokens=g;$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-inline"])]),false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=G.EscapeHTML(f);$r=c.BaseRenderer.Write(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};N.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};N.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:e=new CL([new CJ(["data-block","0"])]);e=$appendSlice(e,a.KramdownIAL);$r=c.BaseRenderer.Tag("p",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};N.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=A.TrimRight(d,"\n");if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};N.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(32);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 6:$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-marker",C.Repeat("`",a.CodeMarkerLen)])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};N.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};N.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};N.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent;e=d.Parent;if(!(CM.nil===e)&&(33===e.Type)){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};N.ptr.prototype.renderEmphasis=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};N.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","*"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};N.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};N.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","_"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};N.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};N.ptr.prototype.renderStrong=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};N.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","**"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};N.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};N.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","__"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};N.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};N.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};N.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};N.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\"");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.ChildByType(420);if(!(CM.nil===e)){d=($bytesToString(e.Tokens));}if(c.BaseRenderer.Options.HeadingID&&!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(" data-id=\""+d+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:if(""===d){$s=8;continue;}$s=9;continue;case 8:f=AT(a);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;case 9:$r=c.BaseRenderer.WriteString(" id=\"wysiwyg-"+d+"\"");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:if(1===a.HeadingLevel){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 14:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:g=AT(a);$s=23;case 23:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+h]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+h])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};N.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};N.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};N.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};N.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};N.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};N.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};N.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CI.nil===a.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};N.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};N.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};N.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d="```";if(!(CM.nil===a.FirstChild)&&A.HasPrefix(a.FirstChild.Tokens,(new CI($stringToBytes(d))))){d=($bytesToString(a.FirstChild.Tokens));}$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};N.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g="";h=false;i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+g]));if("mindmap"===g){$s=5;continue;}$s=6;continue;case 5:k=BO(a.Tokens);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 6:case 4:case 2:m=new CL([new CJ(["class","vditor-wysiwyg__pre"])]);if(!A.Contains(a.Tokens,F.CaretTokens)&&!h&&c.BaseRenderer.Options.VditorCodeBlockPreview){m=$append(m,new CJ(["style","display: none"]));}$r=c.BaseRenderer.Tag("pre",m,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteString("\n");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=12;continue;case 11:if(h){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteString("");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(g);if(n){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.Tag("div",i,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=25;continue;case 24:$r=c.BaseRenderer.Tag("code",i,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.WriteString("");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=31;continue;case 30:$r=c.BaseRenderer.WriteString("");$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 21:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.WriteByte=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.BaseRenderer.Writer.WriteByte(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;b.LastOut=$append(b.LastOut,a);if(1024:");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=13;continue;}$s=14;continue;case 13:$r=c.WriteString(" ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=c.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(e);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};P.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kramdown-ial"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};P.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"mark");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};P.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};P.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};P.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};P.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};P.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sup");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};P.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};P.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};P.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sub");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};P.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};P.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};P.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};P.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};P.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};P.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};P.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};P.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("[toc]");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};P.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};P.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:a=[a];c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"]),new CJ(["data-type","footnotes-link"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].Write(a[0].Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteString(": ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a[0].FirstChild;case 13:if(!(!(CM.nil===d))){$s=14;continue;}$r=H.Walk(d,(function(a,c){return function $b(e,f){var{e,f,g,h,i,j,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f&&!(e===a[0].FirstChild)&&(e.IsBlock()||(15===e.Type)||(13===e.Type))){$s=1;continue;}$s=2;continue;case 1:g=" ";if(13===e.Type){$s=3;continue;}$s=4;continue;case 3:e.Tokens=$appendSlice((new CI($stringToBytes(g))),e.Tokens);$s=5;continue;case 4:$r=c[0].WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:i=(h=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),h!==undefined?h.v:$throwNilPointerError)(e,f);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=8;case 8:return j;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,j,$s};return $f;};})(a,c));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=13;continue;case 14:$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};P.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];i=h.Text();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new CL([new CJ(["data-type","footnotes-ref"])]);k=$append(k,new CJ(["class","b3-tooltips b3-tooltips__s"]));l=G.EscapeString(j);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=AS(l,24);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}k=$append(k,new CJ(["aria-label",m]));k=$append(k,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","sup"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};P.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};P.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.CodeBlockInfo);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};P.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};P.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!a.IsFencedCodeBlock){$s=10;continue;}$s=11;continue;case 10:$r=c.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$r=c.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};P.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};P.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};P.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};P.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};P.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};P.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};P.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};P.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};P.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};P.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};P.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};P.ptr.prototype.renderMathBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};P.ptr.prototype.renderTableCell=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};P.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};P.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};P.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","table"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};P.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"s");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};P.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};P.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};P.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};P.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};P.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};P.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"]),new CJ(["data-type","link-text"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};P.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};P.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};P.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};P.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};P.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};P.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};P.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};P.ptr.prototype.renderImage=function(a,b){var a,b,c,d;c=this;if(b){if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();d=a.ChildByType(43);if(!(CM.nil===d)){d.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}}return 2;};P.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};P.ptr.prototype.renderLink=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};P.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};P.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};P.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");c.BaseRenderer.Writer.Reset();$r=c.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};P.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.Parent;e=!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight;if(!e){$s=5;continue;}$s=6;continue;case 5:$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.popWriter(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};P.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(a.ParentIs(109,CQ.nil)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimRight(d,"\n");$r=c.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};P.ptr.prototype.renderCodeSpan=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};P.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};P.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};P.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};P.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"em");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};P.ptr.prototype.popWriteClass=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));$r=c.renderClass(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e])).Write(c.BaseRenderer.Writer.Bytes());$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;c.BaseRenderer.Writer=(g=c.nodeWriterStack,h=c.nodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriteClass,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};P.prototype.popWriteClass=function(a,b){return this.$val.popWriteClass(a,b);};P.ptr.prototype.popWriter=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;b.nodeWriterStack=$subslice(b.nodeWriterStack,0,(b.nodeWriterStack.$length-1>>0));e=(c=b.nodeWriterStack,d=b.nodeWriterStack.$length-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d])).Write(b.BaseRenderer.Writer.Bytes());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;b.BaseRenderer.Writer=(f=b.nodeWriterStack,g=b.nodeWriterStack.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriter,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.popWriter=function(a){return this.$val.popWriter(a);};P.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};P.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};P.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};P.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};P.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"strong");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};P.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};P.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};P.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};P.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};P.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h=(new CI($stringToBytes("> ")));g=$appendSlice(h,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,h));f.Reset();i=f.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;l=(j=c.nodeWriterStack,k=c.nodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;c.BaseRenderer.Writer=(m=c.nodeWriterStack,n=c.nodeWriterStack.$length-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};P.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};P.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};P.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=9;continue;}$s=10;continue;case 9:$r=c.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=13;case 13:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=14;continue;}$s=15;continue;case 14:$r=c.WriteString(C.Repeat("=",e));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.WriteString(C.Repeat("-",e));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:f="h"+$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.renderClass(a,f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.popWriter(a);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,$s};return $f;};P.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};P.ptr.prototype.renderClass=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.Writer.Bytes();e=A.NewReader(d);f=new G.Node.ptr(CU.nil,CU.nil,CU.nil,CU.nil,CU.nil,3,0,"","",CW.nil);h=G.ParseFragment(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];c.BaseRenderer.Writer.Reset();j=0;case 2:if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);l=c.domAttrValue(k,"class");if(""===l){l=b;}else{l=l+(" "+b);}c.domSetAttrValue(k,"class",l);m=G.Render(c.BaseRenderer.Writer,k);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;j=j+(1)>>0;$s=2;continue;case 3:$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.renderClass,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderClass=function(a,b){return this.$val.renderClass(a,b);};P.ptr.prototype.domAttrValue=function(a,b){var a,b,c,d,e,f;c=this;if(CU.nil===a){return"";}d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f.Key===b){return f.Val;}e++;}return"";};P.prototype.domAttrValue=function(a,b){return this.$val.domAttrValue(a,b);};P.ptr.prototype.domSetAttrValue=function(a,b,c){var a,b,c,d,e,f,g;d=this;if(CU.nil===a){return;}e=a.Attr;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(g.Key===b){g.Val=c;return;}f++;}a.Attr=$append(a.Attr,new G.Attribute.ptr("",b,c));};P.prototype.domSetAttrValue=function(a,b,c){return this.$val.domSetAttrValue(a,b,c);};P.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};P.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};P.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write($pkg.NewlineSV);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};P.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h="";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter));}else{h=($bytesToString(a.ListData.Marker));}i=(new CI($stringToBytes(""+h+" ")));g=$appendSlice(i,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}j=(new CI($stringToBytes(""+C.Repeat(" ",a.ListData.Padding)+"")));g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,j));f.Reset();k=f.Write(g);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;n=(l=c.nodeWriterStack,m=c.nodeWriterStack.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;c.BaseRenderer.Writer=(o=c.nodeWriterStack,p=c.nodeWriterStack.$length-1>>0,((p<0||p>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};P.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};P.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--strong"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(120);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("] ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.TrimPrefix(a.Next.Tokens,(new CI($stringToBytes(" "))));$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};P.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("---");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};P.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};P.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};P.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(9))||(f===(10))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:P.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};P.prototype.Text=function(a){return this.$val.Text(a);};S=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new R.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderSup")});ck=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderSupOpenMarker")});cl=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSupCloseMarker")});cm=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSub")});cn=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSubOpenMarker")});co=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSubCloseMarker")});cp=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderMark2OpenMarker")});cq=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderMark2CloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorIRRenderer=S;R.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};R.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};R.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};R.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};R.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};R.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};R.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};R.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};R.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};R.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};R.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};R.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};R.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};R.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__marker--pre"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"]),new CJ(["class","language-yaml"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};R.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};R.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};R.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};R.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};R.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};R.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:R.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};R.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};R.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.WriteString("["+($bytesToString(a.Tokens))+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 5:if(!(!(CM.nil===d))){$s=6;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=5;continue;case 6:$r=c[0].BaseRenderer.WriteString("
    ");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};R.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=new CL([new CJ(["data-type","footnotes-ref"])]);n=a.Text();$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=C.Contains(o,"\xE2\x80\xB8");if(p){m=$append(m,new CJ(["class","vditor-ir__node vditor-ir__node--expand vditor-tooltipped vditor-tooltipped__s"]));}else{m=$append(m,new CJ(["class","vditor-ir__node vditor-tooltipped vditor-tooltipped__s"]));}q=G.EscapeString(l);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=AS(q,24);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}m=$append(m,new CJ(["aria-label",r]));m=$append(m,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("sup",m,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker--hide"]),new CJ(["data-render","1"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};R.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};R.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};R.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};R.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};R.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g=false;h="";if(f){g=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+h]));if("mindmap"===h){$s=3;continue;}$s=4;continue;case 3:k=BO(a.Tokens);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 4:case 2:m="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorCodeBlockPreview){m=m+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",m])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=8;continue;}$s=9;continue;case 8:if(!g){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.WriteString("");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$r=c.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(h);if(n){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("div",i,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("code",i,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("");$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 19:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};R.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};R.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};R.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};R.ptr.prototype.renderEmoji=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.renderSpanNode(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmoji,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};R.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};R.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};R.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","math-inline"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};R.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};R.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};R.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorMathBlockPreview){g=g+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",g])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.Tokens;h=A.ReplaceAll(h,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(h));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};R.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};R.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};R.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};R.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};R.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};R.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};R.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"]),new CJ(["data-type","table"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};R.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};R.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};R.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};R.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};R.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.BaseRenderer.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};R.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};R.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__link"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.BaseRenderer.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};R.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};R.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};R.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};R.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};R.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};R.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};R.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};R.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=!(CM.nil===a.Next)&&(16===a.Next.Type)&&A.HasPrefix(a.Next.Tokens,F.CaretTokens);if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();e=a.ChildByType(43);if(!(CM.nil===e)){e.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}f=c.Text(a);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h="vditor-ir__node";if(C.Contains(g,"\xE2\x80\xB8")||d){h=h+(" vditor-ir__node--expand");}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class",h]),new CJ(["data-type","img"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(d){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.ReplaceAll(a.Next.Tokens,F.CaretTokens,CI.nil);case 7:i=a;if(3===a.LinkType){$s=9;continue;}$s=10;continue;case 9:j=c.BaseRenderer.Tree.FindLinkRefDefLink(a.LinkRefLabel);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 10:k=i.ChildByType(41).Tokens;k=c.BaseRenderer.LinkPath(k);k=A.ReplaceAll(k,F.CaretTokens,CI.nil);l=new CL([new CJ(["src",($bytesToString(k))])]);m=a.ChildByType(40);if(!(CM.nil===m)&&0");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-block"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=10;continue;}$s=11;continue;case 10:f=AE(e);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 11:$r=c.BaseRenderer.Write(e);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};R.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.Equal(a.Tokens,(new CI($stringToBytes(""))));e=A.Equal(a.Tokens,(new CI($stringToBytes(""))));if(d||e){$s=1;continue;}$s=2;continue;case 1:if(d){$s=4;continue;}$s=5;continue;case 4:if(c.tagMatchClose("kbd",a)){$s=7;continue;}$s=8;continue;case 7:$r=c.renderSpanNode(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("kbd",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.renderSpanNode(a);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=6;continue;case 5:if(c.tagMatchOpen("kbd",a)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("/kbd",CL.nil,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.renderSpanNode(a);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.renderSpanNode(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:case 6:$s=3;continue;case 2:$r=c.renderSpanNode(a);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};R.ptr.prototype.tagMatchClose=function(a,b){var a,b,c,d;c=this;d=b.Next;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&""===d.TokensStr()){return true;}d=d.Next;}return false;};R.prototype.tagMatchClose=function(a,b){return this.$val.tagMatchClose(a,b);};R.ptr.prototype.tagMatchOpen=function(a,b){var a,b,c,d;c=this;d=b.Previous;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&"<"+a+">"===d.TokensStr()){return true;}d=d.Previous;}return false;};R.prototype.tagMatchOpen=function(a,b){return this.$val.tagMatchOpen(a,b);};R.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};R.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};R.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};R.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};R.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};R.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};R.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};R.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};R.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};R.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};R.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};R.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};R.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};R.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};R.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};R.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};R.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};R.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};R.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};R.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=c.Text(a);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=a.ChildByType(420);if(C.Contains(e,"\xE2\x80\xB8")||(!(CM.nil===f)&&A.Contains(f.Tokens,F.CaretTokens))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node vditor-ir__node--expand\"");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node\"");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:g="";if(!(CM.nil===f)){g=($bytesToString(f.Tokens));}if(""===g){$s=10;continue;}$s=11;continue;case 10:h=AT(a);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:$r=c.BaseRenderer.WriteString(" id=\"ir-"+g+"\"");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:if(1===a.HeadingLevel){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:i=AT(a);$s=25;case 25:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+j]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+j])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:if(!a.HeadingSetext){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$s=3;continue;case 2:if(a.HeadingSetext){$s=34;continue;}$s=35;continue;case 34:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"]),new CJ(["data-render","2"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.setextHeadingLen(a);$s=38;case 38:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(1===a.HeadingLevel){$s=39;continue;}$s=40;continue;case 39:$r=c.BaseRenderer.WriteString(C.Repeat("=",l));$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=41;continue;case 40:$r=c.BaseRenderer.WriteString(C.Repeat("-",l));$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 35:$r=c.BaseRenderer.WriteString(">0))+">");$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};R.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};R.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","heading-id"]),new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};R.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};R.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};R.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};R.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};R.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};R.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};R.ptr.prototype.renderSpanNode=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=CL.nil;f=a.Type;if(f===(17)){e=$append(e,new CJ(["data-type","em"]));}else if(f===(22)){e=$append(e,new CJ(["data-type","strong"]));}else if(f===(101)){e=$append(e,new CJ(["data-type","s"]));}else if(f===(450)){e=$append(e,new CJ(["data-type","mark"]));}else if(f===(485)){e=$append(e,new CJ(["data-type","sup"]));}else if(f===(490)){e=$append(e,new CJ(["data-type","sub"]));}else if(f===(33)){if(!((3===a.LinkType))){e=$append(e,new CJ(["data-type","a"]));}else{e=$append(e,new CJ(["data-type","link-ref"]));}}else if(f===(34)){e=$append(e,new CJ(["data-type","img"]));}else if(f===(27)){e=$append(e,new CJ(["data-type","code"]));}else if(f===(200)){e=$append(e,new CJ(["data-type","emoji"]));}else if(f===(10)){e=$append(e,new CJ(["data-type","html-inline"]));}else if(f===(44)){e=$append(e,new CJ(["data-type","html-entity"]));}else if(f===(400)){e=$append(e,new CJ(["data-type","backslash"]));}else{e=$append(e,new CJ(["data-type","inline-node"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:g=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(C.HasSuffix(h,"\xE2\x80\xB8")){$s=6;continue;}$s=7;continue;case 6:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:i=a.NextNodeText();$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasPrefix(j,"\xE2\x80\xB8")){$s=10;continue;}$s=11;continue;case 10:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("span",e,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderSpanNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.renderSpanNode=function(a){return this.$val.renderSpanNode(a);};R.ptr.prototype.renderDivNode=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=new CL([new CJ(["data-block","0"])]);f=a.Type;if(f===(11)){e=$append(e,new CJ(["data-type","code-block"]));}else if(f===(9)){e=$append(e,new CJ(["data-type","html-block"]));}else if(f===(300)){e=$append(e,new CJ(["data-type","math-block"]));}else if(f===(425)){e=$append(e,new CJ(["data-type","yaml-front-matter"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("div",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("div",e,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderDivNode,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderDivNode=function(a){return this.$val.renderDivNode(a);};R.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:R.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};R.prototype.Text=function(a){return this.$val.Text(a);};U=function(a,b,c){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=CB(a,c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=new T.ptr(d,b,CJ.nil);f=41;(e.FormatRenderer.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(e,"renderLinkDest")});$s=-1;return e;}return;}var $f={$blk:U,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$pkg.NewTextBundleRenderer=U;T.ptr.prototype.Render=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=CJ.nil;c=this;d=c.FormatRenderer.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a=d;b=c.originalLink;$s=-1;return[a,b];}return;}var $f={$blk:T.ptr.prototype.Render,$c:true,$r,a,b,c,d,$s};return $f;};T.prototype.Render=function(){return this.$val.Render();};T.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=c.linkPrefixes;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!(""===g)&&C.HasPrefix(d,g)){c.originalLink=$append(c.originalLink,d);d="assets"+$substring(d,g.length);}f++;}$r=c.FormatRenderer.BaseRenderer.WriteString(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:T.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};T.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};AQ.ptr.prototype.FixTermTypo=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.fixTermTypo0(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:AQ.ptr.prototype.FixTermTypo,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.FixTermTypo=function(a){return this.$val.FixTermTypo(a);};AQ.ptr.prototype.fixTermTypo0=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.$length;d=0;e=0;f=0;g=0;h=0;i=e;j=f;k=g;l=h;m=0;n=0;o=m;p=n;q=CI.nil;case 1:if(!(i=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+i]);if(V(d)){i=i+(1)>>0;$s=1;continue;}if(1<=i){o=(r=i-1>>0,((r<0||r>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+r]));if(!V(o)){i=i+(1)>>0;$s=1;continue;}}if(I.IsASCIIPunct(o)){i=i+(1)>>0;$s=1;continue;}j=i;while(true){if(!(j=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]);if(V(p)||(46===p)){break;}j=j+(1)>>0;}if(I.IsASCIIPunct(p)){i=i+(1)>>0;$s=1;continue;}s=A.ToLower($subslice(a,i,j));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=s;t=(u=$mapIndex(b.Options.Terms,$String.keyFor(K.BytesToStr(q))),u!==undefined?[u.v,true]:["",false]);v=t[0];w=t[1];if(w){l=0;k=i;while(true){if(!(k=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]=v.charCodeAt(l));l=l+(1)>>0;k=k+(1)>>0;}}i=i+(1)>>0;$s=1;continue;case 2:$s=-1;return a;}return;}var $f={$blk:AQ.ptr.prototype.fixTermTypo0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};AQ.prototype.fixTermTypo0=function(a){return this.$val.fixTermTypo0(a);};V=function(a){var a;return a>=128||I.IsWhitespace(a)||I.IsASCIIPunct(a);};W=function(){var a,b,c,d,e,f,g,h,i,j,k;a=false;a=(b=(X?X.size:0),((b<0||b>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));c=X;d=0;e=c?c.keys():undefined;f=c?c.size:0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]);if(f<(d-3>>0)&&(105===(g=f+1>>0,((g<0||g>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+g])))&&(110===(h=f+2>>0,((h<0||h>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h])))&&(103===(i=f+3>>0,((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i])))&&D.Is(D.Han,((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]))){b=b+(($encodeRune(e))+"ing");f=f+(4)>>0;continue;}b=Z(b,e);f=f+(1)>>0;}return b;};$pkg.Space0=Y;Z=function(a,b){var a,b,c,d;if(0===a.length){return($encodeRune(b));}if("1"<=a&&"9">=a&&(65039===b)){return a+($encodeRune(b));}c=E.DecodeLastRuneInString(a);d=c[0];if(AA(d,b)){return a+" "+($encodeRune(b));}return a+($encodeRune(b));};AA=function(a,b){var a,b,c,d,e,f;if(D.IsSpace(a)||D.IsSpace(b)||((F.CaretRune===a))||((F.CaretRune===b))||!D.IsPrint(a)||!D.IsPrint(b)){return false;}c=AB(a);d=!((37===b))&&!((64===b))&&(D.IsPunct(b)||(126===b)||(61===b)||(35===b));if(c&&d){return false;}e=!((37===a))&&!((64===a))&&(D.IsPunct(a)||(126===a)||(61===a)||(35===a));f=AB(b);if(f&&e){return false;}if((!c&&!f)||(c&&f)){return false;}return true;};AB=function(a){var a;return D.Is(D.Han,a)||D.Is(D.Lm,a)||D.Is(D.Hiragana,a)||D.Is(D.Katakana,a)||D.Is(D.Hangul,a);};AD=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=AE((new CI($stringToBytes(a))));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($bytesToString(b));$s=2;case 2:return c;}return;}var $f={$blk:AD,$c:true,$r,a,b,c,$s};return $f;};$pkg.Sanitize=AD;AE=function(a){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=new A.Buffer.ptr(CI.nil,0,0);c=false;d=new $Int64(0,0);e="";f=A.Contains(a,(new CI($stringToBytes(" \xE2\x80\xB8"))));a=A.ReplaceAll(a,F.CaretTokens,(new CI($stringToBytes("caretreplacement"))));g=G.NewTokenizer(A.NewReader(a));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;case 2:i=[i];j=h.Next();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j===0){$s=4;continue;}$s=5;continue;case 4:k=h.Err();if($interfaceIsEqual(k,L.EOF)){l=b[0].Bytes();if(f){l=A.ReplaceAll(l,(new CI($stringToBytes("\"caretreplacement"))),(new CI($stringToBytes("\" caretreplacement"))));}else{l=A.ReplaceAll(l,(new CI($stringToBytes("\" caretreplacement"))),(new CI($stringToBytes("\"caretreplacement"))));}l=A.ReplaceAll(l,(new CI($stringToBytes("caretreplacement"))),F.CaretTokens);$s=-1;return l;}m=k.Error();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=K.StrToBytes(m);$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=9;case 9:return o;case 5:i[0]=$clone(h.Token(),G.Token);p=i[0].Type;if(p===(6)){$s=11;continue;}if(p===(5)){$s=12;continue;}if(p===(2)){$s=13;continue;}if(p===(3)){$s=14;continue;}if(p===(4)){$s=15;continue;}if(p===(1)){$s=16;continue;}$s=17;continue;case 11:$s=17;continue;case 12:$s=17;continue;case 13:e=i[0].Data;q=(r=$mapIndex(AC,$String.keyFor(i[0].Data)),r!==undefined?[r.v,true]:[$ifaceNil,false]);s=q[1];if(s){$s=18;continue;}$s=19;continue;case 18:c=true;d=(t=new $Int64(0,1),new $Int64(d.$high+t.$high,d.$low+t.$low));u=b[0].WriteString(" ");$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=10;continue;case 19:if(!((i[0].Attr.$length===0))){$s=21;continue;}$s=22;continue;case 21:v=AH(i[0].Attr);$s=23;case 23:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}i[0].Attr=v;case 22:if(!c){$s=24;continue;}$s=25;continue;case 24:if(AF(i[0].Data)){$s=26;continue;}$s=27;continue;case 26:$r=AG(b[0],i[0]);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:w=$clone(i[0],G.Token).String();$s=30;case 30:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=b[0].WriteString(w);$s=31;case 31:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 28:case 25:$s=17;continue;case 14:if(e===i[0].Data){e="";}y=(z=$mapIndex(AC,$String.keyFor(i[0].Data)),z!==undefined?[z.v,true]:[$ifaceNil,false]);aa=y[1];if(aa){$s=32;continue;}$s=33;continue;case 32:d=(ab=new $Int64(0,1),new $Int64(d.$high-ab.$high,d.$low-ab.$low));if((d.$high===0&&d.$low===0)){c=false;}ac=b[0].WriteString(" ");$s=34;case 34:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;$s=10;continue;case 33:if(!c){$s=35;continue;}$s=36;continue;case 35:ad=$clone(i[0],G.Token).String();$s=37;case 37:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=b[0].WriteString(ad);$s=38;case 38:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae;case 36:$s=17;continue;case 15:if(!((i[0].Attr.$length===0))){$s=39;continue;}$s=40;continue;case 39:af=AH(i[0].Attr);$s=41;case 41:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}i[0].Attr=af;case 40:if(!c){$s=42;continue;}$s=43;continue;case 42:if(AF(i[0].Data)){$s=44;continue;}$s=45;continue;case 44:$r=AG(b[0],i[0]);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 45:ag=$clone(i[0],G.Token).String();$s=48;case 48:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=b[0].WriteString(ag);$s=49;case 49:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;case 46:case 43:$s=17;continue;case 16:if(!c){$s=50;continue;}$s=51;continue;case 50:ai=e;if(ai===("script")){$s=53;continue;}if(ai===("style")){$s=54;continue;}$s=55;continue;case 53:aj=b[0].WriteString(i[0].Data);$s=57;case 57:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$s=56;continue;case 54:ak=b[0].WriteString(i[0].Data);$s=58;case 58:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;$s=56;continue;case 55:al=$clone(i[0],G.Token).String();$s=59;case 59:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=b[0].WriteString(al);$s=60;case 60:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;case 56:case 52:case 51:case 17:case 10:$s=2;continue;case 3:$s=-1;return CI.nil;}return;}var $f={$blk:AE,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AF=function(a){var a,b;b=a;if(b===("a")||b===("area")||b===("blockquote")||b===("img")||b===("link")||b===("script")){return true;}else{return false;}};AG=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=A.NewBufferString("");d=c.WriteString("<");$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=c.WriteString(b.Data);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=b.Attr;g=0;case 3:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key==="caretreplacement"){$s=5;continue;}$s=6;continue;case 5:i=c.WriteString(" caretreplacement");$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;g++;$s=3;continue;case 6:j=c.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=c.WriteString(h.Key);$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=c.WriteString("=\"");$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=h.Key;if(m===("href")||m===("src")){$s=12;continue;}$s=13;continue;case 12:n=G.EscapeString(h.Val);$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=c.WriteString(n);$s=16;case 16:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=14;continue;case 13:p=G.EscapeString(h.Val);$s=17;case 17:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=c.WriteString(p);$s=18;case 18:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 14:case 11:r=c.WriteByte(34);$s=19;case 19:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g++;$s=3;continue;case 4:if(b.Type===4){$s=20;continue;}$s=21;continue;case 20:s=c.WriteString(" /");$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 21:t=c.WriteString(">");$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=a.WriteString(c.String());$s=24;case 24:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=-1;return;}return;}var $f={$blk:AG,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};AH=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=CW.nil;c=a;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!AJ(e.Key)){d++;$s=1;continue;}if("src"===e.Key||"srcdoc"===e.Key||"srcset"===e.Key||"href"===e.Key){$s=3;continue;}$s=4;continue;case 3:f=C.TrimSpace(e.Val);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=C.ToLower(f);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;h=AI(h);if(C.HasPrefix(h,"data:image/svg+xml")||C.HasPrefix(h,"data:text/html")||C.HasPrefix(h,"javascript")){d++;$s=1;continue;}i=AE((new CI($stringToBytes(h))));$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=G.UnescapeAttrVal(($bytesToString(i)));$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(h===k)){d++;$s=1;continue;}case 4:b=$append(b,e);d++;$s=1;continue;case 2:$s=-1;return b;}return;}var $f={$blk:AH,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AI=function(a){var a,b,c,d,e,f;b=$makeSlice(CY,0,a.length);c=a;d=0;while(true){if(!(d>0,((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Write,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.Write=function(a){return this.$val.Write(a);};AQ.ptr.prototype.WriteString=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.length;if(0>0));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.WriteString,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.WriteString=function(a){return this.$val.WriteString(a);};AQ.ptr.prototype.Newline=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!((10===a.LastOut))){$s=1;continue;}$s=2;continue;case 1:b=a.Writer.WriteByte(10);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.LastOut=10;case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Newline,$c:true,$r,a,b,$s};return $f;};AQ.prototype.Newline=function(){return this.$val.Newline();};AQ.ptr.prototype.TextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Previous;if(!(CM.nil===e)&&(16===e.Type)){$s=1;continue;}$s=2;continue;case 1:f=E.DecodeLastRune(e.Tokens);g=f[0];h=E.DecodeRune(d);i=h[0];if(AA(g,i)){$s=3;continue;}$s=4;continue;case 3:j=b.Writer.WriteByte(32);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AQ.prototype.TextAutoSpacePrevious=function(a){return this.$val.TextAutoSpacePrevious(a);};AQ.ptr.prototype.TextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Next;if(!(CM.nil===e)){$s=1;continue;}$s=2;continue;case 1:if(16===e.Type){$s=3;continue;}if(456===e.Type){$s=4;continue;}$s=5;continue;case 3:f=E.DecodeRune(e.Tokens);g=f[0];h=E.DecodeLastRune(d);i=h[0];if(AA(i,g)){$s=6;continue;}$s=7;continue;case 6:j=b.Writer.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 7:$s=5;continue;case 4:e=e.Next;if(!(CM.nil===e)&&(16===e.Type)){k=E.DecodeRune(e.Tokens);l=k[0];m=E.DecodeLastRune(d);n=m[0];if(AA(n,l)){e.Tokens=$appendSlice(new CI([32]),e.Tokens);}}case 5:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};AQ.prototype.TextAutoSpaceNext=function(a){return this.$val.TextAutoSpaceNext(a);};AQ.ptr.prototype.LinkTextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Previous;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeLastRune(d.Tokens);f=e[0];g=E.DecodeRune(c.Tokens);h=g[0];if(AA(f,h)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpacePrevious=function(a){return this.$val.LinkTextAutoSpacePrevious(a);};AQ.ptr.prototype.LinkTextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Next;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeRune(d.Tokens);f=e[0];g=E.DecodeLastRune(c.Tokens);h=g[0];if(AA(h,f)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpaceNext=function(a){return this.$val.LinkTextAutoSpaceNext(a);};AS=function(a,b){var a,b,c,d,e,f,g,h;c="";d=0;e=0;while(true){if(!(e>0;c=c+(($encodeRune(g)));d=d+(1)>>0;if(b<=d){break;}}return c;};$pkg.SubStr=AS;AT=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";if(0===K.StrToBytes(a.HeadingNormalizedID).$length){$s=1;continue;}$s=2;continue;case 1:$r=AU(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:b=a.HeadingNormalizedID;$s=-1;return b;}return;}var $f={$blk:AT,$c:true,$r,a,b,$s};return $f;};$pkg.HeadingID=AT;AU=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=CM.nil;c=a.Parent;while(true){if(!(!((0===c.Type)))){break;}c=c.Parent;}b[0]=$makeMap($String.keyFor,[]);$r=H.Walk(c,(function(b){return function $b(d,e){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if(e){$s=1;continue;}$s=2;continue;case 1:if(2===d.Type){$s=3;continue;}$s=4;continue;case 3:f=AV(d);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;while(true){if(!(0<(h=$mapIndex(b[0],$String.keyFor(g)),h!==undefined?h.v:0))){break;}g=g+("-");}d.HeadingNormalizedID=g;i=g;(b[0]||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(i),{k:i,v:1});case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AU,$c:true,$r,a,b,c,$s};return $f;};AV=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=a.ChildByType(420);d="";if(!(CM.nil===c)){d=K.BytesToStr(c.Tokens);}if(""===d){$s=1;continue;}$s=2;continue;case 1:e=a.Text();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 2:d=C.TrimLeft(d,"#");d=C.ReplaceAll(d,"\xE2\x80\xB8","");f=d;g=0;while(true){if(!(g");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e;h=0;case 9:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);$r=c.renderToC0(i);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h++;$s=9;continue;case 10:$r=c.WriteString("");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.WriteString("[toc]
    ");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:AQ.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};AQ.ptr.prototype.renderToC0=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.WriteString("
  • ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("span",new CL([new CJ(["data-target-id",a.ID])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.WriteString(a.Content);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=a.Children;d=0;case 8:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);$r=b.renderToC0(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=8;continue;case 9:$r=b.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=b.WriteString("
  • ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.renderToC0,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.renderToC0=function(a){return this.$val.renderToC0(a);};AQ.ptr.prototype.Tag=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(d.DisableTags>0){$s=-1;return;}$r=d.WriteString("<");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.WriteString(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=d.WriteString(" "+(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])+"=\""+(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=5;continue;case 6:case 4:if(c){$s=8;continue;}$s=9;continue;case 8:$r=d.WriteString(" /");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=d.WriteString(">");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Tag,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};AQ.prototype.Tag=function(a,b,c){return this.$val.Tag(a,b,c);};AQ.ptr.prototype.headings=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=DC.nil;b=this;c=b.Tree.Root.ChildrenByType(2);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=DB.nil;f=d;g=0;case 2:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!(b.Tree.Root===h.Parent)){g++;$s=2;continue;}i=AT(h);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(b.Options.VditorWYSIWYG){j="wysiwyg-"+j;}else if(b.Options.VditorIR){j="ir-"+j;}if(b.Options.KramdownBlockIAL){k=h.KramdownIAL;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if("id"===(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0])){j=(1>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+1]);break;}l++;}}n=AY(h);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new AW.ptr(j,b.Tree.Box,b.Tree.Path,b.Tree.HPath,n,h.HeadingLevel,DC.nil,DB.nil);if(DB.nil===e){a=$append(a,o);}else{if(e.Level");$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=b[0].Write(G.EscapeHTML(d.Tokens));$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=b[0].WriteString("");$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=6;continue;case 4:k=b[0].WriteString("");$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=b[0].Write(G.EscapeHTML(d.Tokens));$s=12;case 12:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=b[0].WriteString("");$s=13;case 13:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=6;continue;case 5:if(d.ParentIs(22,CQ.nil)){$s=14;continue;}if(d.ParentIs(17,CQ.nil)){$s=15;continue;}$s=16;continue;case 14:n=b[0].WriteString("");$s=18;case 18:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=b[0].Write(G.EscapeHTML(d.Tokens));$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=b[0].WriteString("");$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=17;continue;case 15:q=b[0].WriteString("");$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=b[0].Write(G.EscapeHTML(d.Tokens));$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=b[0].WriteString("");$s=23;case 23:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=17;continue;case 16:if(!(CM.nil===d.Previous)&&(10===d.Previous.Type)){$s=24;continue;}$s=25;continue;case 24:if(A.HasPrefix(d.Previous.Tokens,(new CI($stringToBytes(""))))){$s=31;continue;}$s=32;continue;case 31:v=b[0].Write(d.Next.Tokens);$s=33;case 33:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 32:$s=26;continue;case 25:w=b[0].Write(G.EscapeHTML(d.Tokens));$s=34;case 34:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;case 26:case 17:case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();$s=-1;return c;}return;}var $f={$blk:AY,$c:true,$r,a,b,c,$s};return $f;};AQ.ptr.prototype.setextHeadingLen=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=0;d=this;b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(e,f){var{e,f,g,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(((16===e.Type)||(40===e.Type)||(32===e.Type))&&f){$s=1;continue;}$s=2;continue;case 1:g=b[0].Write(e.Tokens);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=b[0].String();e=C.ReplaceAll(e,"\xE2\x80\xB8","");f=C.Split(e,"\n");h=(g=f.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));i=h;j=0;while(true){if(!(j>0;}else{c=c+(1)>>0;}j+=k[1];}if(0===c){c=3;}$s=-1;return c;}return;}var $f={$blk:AQ.ptr.prototype.setextHeadingLen,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};AQ.prototype.setextHeadingLen=function(a){return this.$val.setextHeadingLen(a);};AQ.ptr.prototype.renderListStyle=function(a,b){var a,b,c,d;c=this;if(c.Options.RenderListStyle){d=a.ListData.Typ;if(d===(0)){b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}else if(d===(1)){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else if(d===(3)){if(0===a.ListData.BulletChar){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else{b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}}}};AQ.prototype.renderListStyle=function(a,b){return this.$val.renderListStyle(a,b);};AQ.ptr.prototype.tagSrc=function(a){var a,b,c,d;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>c){return CI.nil;}else{d=$subslice(a,(c+5>>0));d=$subslice(d,0,A.Index(d,(new CI($stringToBytes("\"")))));return d;}};AQ.prototype.tagSrc=function(a){return this.$val.tagSrc(a);};AQ.ptr.prototype.tagSrcPath=function(a){var a,b,c,d,e,f;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>0));if(1>A.ReplaceAll(d,F.CaretTokens,CI.nil).$length){return a;}e=b.LinkPath(d);f=($bytesToString(e));if(A.HasPrefix(e,(new CI($stringToBytes("//"))))){f="https:"+f;}a=A.ReplaceAll(a,d,(new CI($stringToBytes(f))));}return a;};AQ.prototype.tagSrcPath=function(a){return this.$val.tagSrcPath(a);};AQ.ptr.prototype.isLastNode=function(a,b){var a,b,c,d;c=this;if(a===b||CM.nil===b||CM.nil===b.Parent){return true;}if(!(CM.nil===b.Next)){return false;}if(0===b.Parent.Type){return a.LastChild===b;}d=CM.nil;d=b.Parent;while(true){if(CM.nil===d||CM.nil===d.Parent){return true;}if(0===d.Parent.Type){break;}d=d.Parent;}return a.LastChild===d;};AQ.prototype.isLastNode=function(a,b){return this.$val.isLastNode(a,b);};AQ.ptr.prototype.NodeID=function(a){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){b=(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]);$s=-1;return b;}e++;}g=H.NewNodeID();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}b=g;h=b;$s=2;case 2:return h;}return;}var $f={$blk:AQ.ptr.prototype.NodeID,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AQ.prototype.NodeID=function(a){return this.$val.NodeID(a);};AQ.ptr.prototype.NodeAttrs=function(a){var a,b,c,d,e,f;b=CL.nil;c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=$append(b,f);e++;}return b;};AQ.prototype.NodeAttrs=function(a){return this.$val.NodeAttrs(a);};AQ.ptr.prototype.NodeAttrsStr=function(a){var a,b,c,d,e,f;b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=b+((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])+"=\""+(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])+"\" ");e++;}if(!(""===b)){b=$substring(b,0,(b.length-1>>0));}return b;};AQ.prototype.NodeAttrsStr=function(a){return this.$val.NodeAttrsStr(a);};BA=function(a){var a,b,c,d;if(""===a){return false;}b=AZ;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(a===d){return true;}c++;}return false;};$pkg.NoHighlight=BA;AQ.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(43))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))||(f===(543))||(f===(542))||(f===(433))||(f===(434))||(f===(432))||(f===(456))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:AQ.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};AQ.prototype.Text=function(a){return this.$val.Text(a);};BD=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BC.ptr(c,b.NodeIndexStart);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BD,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleRenderer=BD;BC.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"custom-block");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BC.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"av");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BC.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(d.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:e=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!(""===f)){$s=10;continue;}$s=11;continue;case 10:g=E.DecodeLastRuneInString(f);h=g[0];if(D.IsLetter(h)||D.IsDigit(h)){$s=12;continue;}$s=13;continue;case 12:$r=d.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=d.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:c[0]=d.renderTextMarkAttrs(a);d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((CM.nil===a.Previous||(32===a.Previous.Type))&&J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=16;continue;}$s=17;continue;case 16:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:if(a.IsTextMarkType("code")){if(d.BaseRenderer.Options.Spellcheck){c[0]=$append(c[0],new CJ(["spellcheck","false"]));}}$r=d.BaseRenderer.Tag("span",c[0],false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=20;continue;}$s=21;continue;case 20:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:i=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){i=C.ReplaceAll(i,"|","|");}else{i=C.ReplaceAll(i,"\\|","|");}i=C.ReplaceAll(i,"\n","
    ");}$r=d.BaseRenderer.WriteString(i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=25;continue;}$s=26;continue;case 25:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 26:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=28;continue;}$s=29;continue;case 28:if(d.BaseRenderer.Options.AutoSpace){$s=31;continue;}$s=32;continue;case 31:j=a.NextNodeText();$s=33;case 33:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(""===k)){$s=34;continue;}$s=35;continue;case 34:l=E.DecodeRuneInString(k);m=l[0];if(D.IsLetter(m)||D.IsDigit(m)){$s=36;continue;}$s=37;continue;case 36:$r=d.BaseRenderer.WriteByte(32);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:case 35:case 32:$s=30;continue;case 29:$r=d.BaseRenderer.TextAutoSpaceNext(a);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BC.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BC.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BC.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","u"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BC.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BC.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BC.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kbd"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BC.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BC.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.ChildByType(468);if(CM.nil===e){$s=-1;return 2;}c[0]=CL.nil;f=e.Tokens;f=G.EscapeHTML(A.ReplaceAll(f,F.CaretTokens,CI.nil));g=K.BytesToStr(f);g=C.ReplaceAll(g,"_esc_newline_","\n");c[0]=$append(c[0],new CJ(["data-content",g]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BC.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BC.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BC.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BC.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=$append(c[0],new CJ(["data-subtype","widget"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BC.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BC.ptr.prototype.replaceSrc=function(a,b,c){var a,b,c,d,e,f;d=this;e=$appendSlice((new CI($stringToBytes(" src=\""))),b);e=$appendSlice(e,(new CI($stringToBytes("\""))));f=$appendSlice((new CI($stringToBytes(" src=\""))),c);f=$appendSlice(f,(new CI($stringToBytes("\""))));if(A.Contains(a,(new CI($stringToBytes("data-src="))))){return A.ReplaceAll(a,f,e);}e=$appendSlice(e,(new CI($stringToBytes(" data-src=\""+K.BytesToStr(c)+"\""))));return A.ReplaceAll(a,f,e);};BC.prototype.replaceSrc=function(a,b,c){return this.$val.replaceSrc(a,b,c);};BC.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(431);e="";f="";g=e;h=f;i=a.ChildByType(433);h="s";if(CM.nil===i){i=a.ChildByType(434);h="d";}if(!(CM.nil===i)){$s=3;continue;}$s=4;continue;case 3:j=i.Text();$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}g=j;case 4:g=c.escapeRefText(g);k=new CL([new CJ(["data-type","block-ref"]),new CJ(["data-subtype",h]),new CJ(["data-id",d.TokensStr()])]);$r=c.BaseRenderer.Tag("span",k,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=C.ReplaceAll(g,"&#124;","|");$r=c.BaseRenderer.WriteString(g);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BC.ptr.prototype.escapeRefText=function(a){var a,b;b=this;a=C.ReplaceAll(a,">",">");a=C.ReplaceAll(a,"<","<");a=C.ReplaceAll(a,"\"",""");a=C.ReplaceAll(a,"'","'");return a;};BC.prototype.escapeRefText=function(a){return this.$val.escapeRefText(a);};BC.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BC.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BC.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BC.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BC.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(541);e=d.TokensStr();f=e;g=a.ChildByType(543);if(!(CM.nil===g)){$s=3;continue;}$s=4;continue;case 3:h=g.Text();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 4:f=c.escapeRefText(f);i=new CL([new CJ(["data-type","file-annotation-ref"]),new CJ(["data-subtype","s"]),new CJ(["data-id",e])]);$r=c.BaseRenderer.Tag("span",i,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(f);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BC.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BC.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BC.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BC.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BC.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"git-conflict");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["spellcheck","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.TrimSpace(a.Tokens);$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$r=d.BaseRenderer.Write(G.EscapeHTML(f));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BC.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BC.ptr.prototype.renderGitConflict=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BC.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Previous||!((32===a.Previous.Type))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BC.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Parent.Text();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","tag"]),new CJ(["data-content",G.EscapeHTMLStr(e)])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BC.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BC.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"sb");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.FirstChild.Next.TokensStr();if(""===e){e="row";}c[0]=$append(c[0],new CJ(["data-sb-layout",e]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BC.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BC.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BC.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BC.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BC.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BC.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BC.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BC.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BC.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BC.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BC.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BC.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BC.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BC.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sup"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BC.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BC.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BC.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sub"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BC.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BC.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BC.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BC.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BC.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BC.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BC.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BC.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BC.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BC.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;f=false;g="";if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.Next)&&0e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="";h=false;if(!(CM.nil===a.Previous)){h=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}c[0]=new CL([new CJ(["class","protyle-action--first protyle-action__language"]),new CJ(["contenteditable","false"])]);if(!(CM.nil===a.Previous)&&0=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])));}$r=d.BaseRenderer.Tag("span",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(g);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","b3-tooltips__nw b3-tooltips protyle-icon protyle-icon--first protyle-action__copy"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["class","hljs"])]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));c[0]=$append(c[0],new CJ(["spellcheck","false"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=12;continue;}$s=13;continue;case 12:if(h){$s=15;continue;}$s=16;continue;case 15:$r=d.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=14;continue;case 13:j=G.EscapeHTML(a.Tokens);j=A.ReplaceAll(j,(new CI($stringToBytes("__@mark__"))),(new CI($stringToBytes(""))));j=A.ReplaceAll(j,(new CI($stringToBytes("__mark@__"))),(new CI($stringToBytes(""))));$r=d.BaseRenderer.Write(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BC.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BC.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BC.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BC.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BC.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BC.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BC.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)]),new CJ(["contenteditable","false"]),new CJ(["class","render-node"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BC.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BC.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.Contains(a.Previous.Tokens,F.CaretTokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BC.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;c[0]=$append(c[0],new CJ(["data-content",K.BytesToStr(e)]));c[0]=$append(c[0],new CJ(["data-subtype","math"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BC.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BC.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BC.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BC.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="td";if(107===a.Parent.Parent.Type){e="th";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;f=a.TableCellAlign;if(f===(1)){c[0]=$append(c[0],new CJ(["align","left"]));}else if(f===(2)){c[0]=$append(c[0],new CJ(["align","center"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["align","right"]));}d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BC.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BC.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("colgroup",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.IALAttr("colgroup");if(""===d){$s=5;continue;}$s=6;continue;case 5:if(!(CM.nil===a.FirstChild)){$s=8;continue;}$s=9;continue;case 8:e=a.FirstChild.FirstChild;case 10:if(!(!(CM.nil===e))){$s=11;continue;}if(109===e.Type){$s=12;continue;}$s=13;continue;case 12:f=e.IALAttr("style");if(!(""===f)){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",f])]),true);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:e=e.Next;$s=10;continue;case 11:case 9:$s=7;continue;case 6:g=C.Split(d,"|");h=g;i=0;case 19:if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(!(""===j)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",j])]),true);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:i++;$s=19;continue;case 20:case 7:$r=c.BaseRenderer.Tag("/colgroup",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BC.ptr.prototype.renderTable=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(CM.nil===a.FirstChild){$s=-1;return 1;}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"table");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("table",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/table",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BC.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BC.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BC.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BC.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BC.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BC.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BC.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!((34===a.Parent.Type))){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BC.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BC.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BC.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BC.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BC.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BC.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BC.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BC.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BC.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BC.ptr.prototype.renderImage=function(a,b){var{a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){d=true;$s=6;continue s;}e=a.Previous.Text();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d="\xE2\x80\xB8"===e;case 6:if(d||(a.ParentIs(109,CQ.nil)&&!(CM.nil===a.Previous)&&CM.nil===a.Previous.Previous)){$s=4;continue;}$s=5;continue;case 4:if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:if(456===a.Next.Type){$s=11;continue;}$s=12;continue;case 11:if(!A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 5:f=new CL([new CJ(["contenteditable","false"]),new CJ(["data-type","img"]),new CJ(["class","img"])]);g=a.IALAttr("parent-style");if(!(""===g)){f=$append(f,new CJ(["style",g]));}if(!C.Contains(g,"display")&&!C.Contains(g,"block")&&(c.BaseRenderer.LastOut===10)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:$r=c.BaseRenderer.Tag("span",f,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action protyle-icons"])]),false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:h=a.ChildByType(41).Tokens;if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=AE(h);$s=32;case 32:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;case 31:h=A.ReplaceAll(h,F.CaretTokens,CI.nil);j=h;k=K.BytesToStr(j);l=K.BytesToStr(c.BaseRenderer.LinkPath(h));m=new CL([new CJ(["src",l]),new CJ(["data-src",k])]);n=a.ChildByType(40);if(!(CM.nil===n)&&0");$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:m=new CL([new CJ(["class","protyle-action__title"])]);$r=c.BaseRenderer.Tag("span",m,false);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=c.BaseRenderer.Writer.Write(G.EscapeHTML(p));$s=44;case 44:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Next){x=true;$s=53;continue s;}y=a.Next.Text();$s=54;case 54:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x="\xE2\x80\xB8"===y;case 53:if(x){$s=51;continue;}$s=52;continue;case 51:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 52:if(!(456===a.Next.Type)){z=false;$s=58;continue s;}if(CM.nil===a.Next.Next){aa=true;$s=59;continue s;}ab=a.Next.Next.Text();$s=60;case 60:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa="\xE2\x80\xB8"===ab;case 59:z=aa;case 58:if(z){$s=56;continue;}$s=57;continue;case 56:if(A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 57:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderImage,$c:true,$r,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BC.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BC.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(41);e=d.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:f=A.TrimSpace(e);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=AE(e);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;h=A.ToLower(e);$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(A.HasPrefix(i,(new CI($stringToBytes("javascript:"))))){e=CI.nil;}case 5:e=c.BaseRenderer.LinkPath(e);j=A.Contains(e,F.CaretTokens);if(j){k=a.ChildByType(40);k.Tokens=$appendSlice(k.Tokens,F.CaretTokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);}l=new CL([new CJ(["data-type","a"]),new CJ(["data-href",($bytesToString(e))])]);m=a.ChildByType(42);if(!(CM.nil===m)&&!(CI.nil===m.Tokens)){l=$append(l,new CJ(["data-title",c.escapeRefText(($bytesToString(m.Tokens)))]));}$r=c.BaseRenderer.Tag("span",l,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BC.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.Tokens;e=A.ReplaceAll(e,F.CaretTokens,CI.nil);c[0]=$append(c[0],new CJ(["data-subtype","block"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["data-content",K.BytesToStr(G.EscapeHTML(e))])]);$r=d.BaseRenderer.Tag("protyle-html",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/protyle-html",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BC.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))||A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:a.Type=9;d=c.renderHTML(a,b);$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=8;case 8:return e;}return;}var $f={$blk:BC.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BC.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BC.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"p");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BC.ptr.prototype.renderText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace&&!((515===a.Parent.Type))){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(a.ParentIs(530,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:if("code"===a.Parent.TokensStr()){if(a.ParentIs(109,CQ.nil)){d=A.ReplaceAll(d,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}d=G.EscapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderText,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BC.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=15;continue;}$s=16;continue;case 15:h=a.NextNodeText();$s=17;case 17:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=18;continue;}$s=19;continue;case 18:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(32);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 16:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BC.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};BC.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BC.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};BC.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BC.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BC.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BC.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BC.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BC.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BC.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BC.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BC.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"bq");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BC.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BC.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(6>0));c[0]=$append(c[0],new CJ(["data-subtype","h"+e]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"h"+e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BC.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BC.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BC.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;e=a.ListData.Typ;if(e===(0)){c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(e===(1)){c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(e===(3)){c[0]=$append(c[0],new CJ(["data-subtype","t"]));}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"list");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BC.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e="li";c[0]=CL.nil;f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+"."]));c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","t"]));if(!(a.FirstChild===CM.nil)&&a.FirstChild.TaskListItemChecked){e=e+(" protyle-task--done");}}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0===a.ListData.Typ){$s=6;continue;}if(1===a.ListData.Typ){$s=7;continue;}$s=8;continue;case 6:g=new CL([new CJ(["class","protyle-action"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",g,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:h=new CL([new CJ(["class","protyle-action protyle-action--order"]),new CJ(["contenteditable","false"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",h,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(B.Itoa(a.ListData.Num)+".");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BC.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.TaskListItemChecked){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(CM.nil===a.Next){$s=8;continue;}$s=9;continue;case 8:d=H.NewNodeID();$s=10;case 10:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=a.InsertAfter(new H.Node.ptr(d,"","","",1,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BC.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"hr");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BC.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.renderBr(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BC.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Previous)&&((22===a.Previous.Type)||(17===a.Previous.Type)||(460===a.Previous.Type)||(101===a.Previous.Type)||(520===a.Previous.Type)||(456===a.Previous.Type))&&!(CM.nil===a.Next)&&A.Equal(F.CaretTokens,a.Next.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BC.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BC.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BC.ptr.prototype.blockNodeAttrs=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.nodeID(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nodeIndex(a,b);d.nodeDataType(a,b);d.nodeClass(a,b,c);e=a.KramdownIAL;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("id"===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])){f++;continue;}b.$set($append(b.$get(),new CJ([(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),C.ReplaceAll((1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]),"_esc_newline_","\n")])));f++;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.blockNodeAttrs,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.blockNodeAttrs=function(a,b,c){return this.$val.blockNodeAttrs(a,b,c);};BC.ptr.prototype.nodeClass=function(a,b,c){var a,b,c,d;d=this;b.$set($append(b.$get(),new CJ(["class",c])));};BC.prototype.nodeClass=function(a,b,c){return this.$val.nodeClass(a,b,c);};BC.ptr.prototype.nodeDataType=function(a,b){var a,b,c;c=this;b.$set($append(b.$get(),new CJ(["data-type",new H.NodeType(a.Type).String()])));};BC.prototype.nodeDataType=function(a,b){return this.$val.nodeDataType(a,b);};BC.ptr.prototype.nodeID=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.NodeID(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b.$set($append(b.$get(),new CJ(["data-node-id",d])));$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.nodeID,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.nodeID=function(a,b){return this.$val.nodeID(a,b);};BC.ptr.prototype.nodeIndex=function(a,b){var a,b,c;c=this;if(CM.nil===a.Parent||!((0===a.Parent.Type))){return;}b.$set($append(b.$get(),new CJ(["data-node-index",B.Itoa(c.NodeIndex)])));c.NodeIndex=c.NodeIndex+(1)>>0;return;};BC.prototype.nodeIndex=function(a,b){return this.$val.nodeIndex(a,b);};BC.ptr.prototype.spellcheck=function(a){var a,b;b=this;a.$set($append(a.$get(),new CJ(["spellcheck",B.FormatBool(b.BaseRenderer.Options.Spellcheck)])));return;};BC.prototype.spellcheck=function(a){return this.$val.spellcheck(a);};BC.ptr.prototype.contenteditable=function(a,b){var a,b,c,d;c=this;d=a.IALAttr("contenteditable");if(!(""===d)){b.$set($append(b.$get(),new CJ(["contenteditable",d])));}else{b.$set($append(b.$get(),new CJ(["contenteditable",B.FormatBool(c.BaseRenderer.Options.ProtyleContenteditable)])));}return;};BC.prototype.contenteditable=function(a,b){return this.$val.contenteditable(a,b);};BC.ptr.prototype.renderIAL=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=new CL([new CJ(["class","protyle-attr"]),new CJ(["contenteditable","false"])]);$r=b.BaseRenderer.Tag("div",c,false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.IALAttr("bookmark");if(!(""===d)){$s=2;continue;}$s=3;continue;case 2:d=C.ReplaceAll(d,"_esc_newline_","\n");d=G.EscapeHTMLStr(d);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--bookmark"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(d);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:e=a.IALAttr("name");if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:e=C.ReplaceAll(e,"_esc_newline_","\n");e=G.EscapeHTMLStr(e);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--name"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:f=a.IALAttr("alias");if(!(""===f)){$s=13;continue;}$s=14;continue;case 13:f=C.ReplaceAll(f,"_esc_newline_","\n");f=G.EscapeHTMLStr(f);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--alias"])]),false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(f);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:g=a.IALAttr("memo");if(!(""===g)){$s=19;continue;}$s=20;continue;case 19:g=C.ReplaceAll(g,"_esc_newline_","\n");g=G.EscapeHTMLStr(g);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--memo b3-tooltips b3-tooltips__nw"]),new CJ(["aria-label",g])]),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:h=a.IALAttr("custom-avs");if(!(""===h)){$s=24;continue;}$s=25;continue;case 24:h=C.ReplaceAll(h,"_esc_newline_","\n");h=G.EscapeHTMLStr(h);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--av"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:i=a.IALAttr("refcount");if(!(""===i)){$s=29;continue;}$s=30;continue;case 29:i=C.ReplaceAll(i,"_esc_newline_","\n");i=G.EscapeHTMLStr(i);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--refcount popover__block"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(i);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$r=b.BaseRenderer.WriteString("\xE2\x80\x8B");$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.renderIAL,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderIAL=function(a){return this.$val.renderIAL(a);};BC.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=C.ReplaceAll(a.TextMarkATitle,"\"","&quot;");if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=C.ReplaceAll(j,"_esc_newline_","\n");j=C.ReplaceAll(j,"\"","&quot;");b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;k=C.ReplaceAll(k,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};BC.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BF=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BE.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BF,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtylePreviewRenderer=BF;BE.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BE.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BE.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BE.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BE.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BE.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BE.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BE.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BE.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BE.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BE.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BE.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BE.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BE.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BE.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BE.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BE.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BE.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BE.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BE.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BE.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BE.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BE.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BE.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BE.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BE.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BE.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BE.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BE.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BE.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BE.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BE.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BE.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BE.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BE.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BE.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BE.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BE.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BE.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BE.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BE.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BE.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BE.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BE.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BE.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BE.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BE.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BE.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BE.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BE.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BE.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BE.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BE.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BE.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BE.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BE.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BE.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BE.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BE.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BE.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BE.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BE.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BE.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BE.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=false;e="";if(!(CM.nil===a.FirstChild.Next)&&0");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:if(d){$s=-1;return 1;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/pre",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BE.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BE.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BE.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BE.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BE.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BE.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BE.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BE.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BE.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BE.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BE.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BE.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BE.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BE.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BE.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BE.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BE.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=CL.nil;e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d=$append(d,new CJ(["data-content",K.BytesToStr(e)]));d=$append(d,new CJ(["data-subtype","math"]));$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BE.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BE.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BE.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BE.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BE.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BE.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BE.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BE.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BE.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BE.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BE.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BE.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BE.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BE.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BE.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BE.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BE.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BE.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BE.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BE.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BE.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BE.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=new CL([new CJ(["class","img"])]);e=a.IALAttr("parent-style");if(!(""===e)){d=$append(d,new CJ(["style",e]));}$r=c.BaseRenderer.Tag("span",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"");$s=12;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(34);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=a.ChildByType(42);h=CI.nil;if(!(CM.nil===g)&&!(CI.nil===g.Tokens)){$s=16;continue;}$s=17;continue;case 16:h=G.EscapeHTML(g.Tokens);$r=c.BaseRenderer.WriteString(" title=\"");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(h);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:i=c.BaseRenderer.NodeAttrsStr(a);if(!(""===i)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.WriteString(" "+i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(" />");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BE.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BE.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);$r=c.BaseRenderer.WriteString(" "+(0>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])+"=\""+(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1])+"\"");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i++;$s=19;continue;case 20:case 18:case 13:case 10:$r=c.BaseRenderer.WriteString(">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:k=AT(a);$s=25;case 25:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+l]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+l])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString("
    >0))+">");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BE.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BE.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BE.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BE.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BE.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f="protyle-task";if(e.TaskListItemChecked){f=f+(" protyle-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BE.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BE.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BE.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BE.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BE.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BE.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BE.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BE.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BE.ptr.prototype.Render=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;$s=-1;return a;}return;}var $f={$blk:BE.ptr.prototype.Render,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.Render=function(){return this.$val.Render();};BJ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BI.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BJ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleExportMdRenderer=BJ;BI.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BI.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BI.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.ContainTextMarkTypes(new CJ(["strong","em","s"]))&&!a.IsTextMarkType("inline-math");if(b){$s=1;continue;}$s=2;continue;case 1:e=c.renderMdMarker(a,b);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!a.IsTextMarkType("a")&&!a.IsTextMarkType("inline-memo")&&!a.IsTextMarkType("block-ref")&&!a.IsTextMarkType("file-annotation-ref")&&!a.IsTextMarkType("inline-math")){$s=5;continue;}$s=6;continue;case 5:g=a.TextMarkTextContent;if(a.IsTextMarkType("code")){$s=8;continue;}$s=9;continue;case 8:g=G.UnescapeString(g);if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:h=I.RepeatBackslashBeforePipe(g);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:case 9:if(d){$s=13;continue;}$s=14;continue;case 13:i=E.DecodeRuneInString(g);j=i[0];k=I.IsUnicodeWhitespace(j);l=D.IsPunct(j)||D.IsSymbol(j);if(k||l){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(32);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:$r=c.BaseRenderer.WriteString(f);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$s=3;continue;case 2:m=c.renderMdMarker(a,b);$s=21;case 21:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.WriteString(n);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=23;continue;}$s=24;continue;case 23:if(530===a.Next.Type){$s=25;continue;}$s=26;continue;case 25:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=27;continue;case 26:if(d){$s=29;continue;}$s=30;continue;case 29:o=a.TextMarkTextContent;p=E.DecodeLastRuneInString(o);q=p[0];r=I.IsUnicodeWhitespace(q);s=D.IsPunct(q)||D.IsSymbol(q);if(r||s){$s=31;continue;}$s=32;continue;case 31:$r=c.BaseRenderer.WriteByte(32);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 32:case 30:case 27:case 24:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};BI.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BI.ptr.prototype.renderMdMarker=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c="";d=this;e=C.Split(a.TextMarkType," ");if(1===e.$length){$s=1;continue;}$s=2;continue;case 1:f=d.renderMdMarker0(a,(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]),b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}c=f;g=c;$s=4;case 4:return g;case 2:h=CJ.nil;i=e;j=0;while(true){if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);if("a"===l||"inline-memo"===l||"block-ref"===l||"file-annotation-ref"===l||"inline-math"===l){h=$append(h,l);e=$appendSlice($subslice(e,0,k),$subslice(e,(k+1>>0)));break;}j++;}e=$appendSlice(h,e);m=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if("a"===m||"inline-memo"===m||"block-ref"===m||"file-annotation-ref"===m||"inline-math"===m){$s=5;continue;}$s=6;continue;case 5:n=$subslice(e,1);if(b){$s=8;continue;}$s=9;continue;case 8:o=n;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if(!("code"===q)){c=c+(d.renderMdMarker1(a,q,b));}p++;}r=m;if(r===("a")){$s=12;continue;}if(r===("block-ref")){$s=13;continue;}if(r===("file-annotation-ref")){$s=14;continue;}if(r===("inline-memo")){$s=15;continue;}if(r===("inline-math")){$s=16;continue;}$s=17;continue;case 12:s=a.TextMarkAHref;s=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(s))))));s=G.UnescapeHTMLStr(s);s=d.BaseRenderer.EncodeLinkSpace(s);c=c+("[");t=n;u=0;while(true){if(!(u=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]);if("code"===v){c=c+(d.renderMdMarker1(a,v,b));}u++;}$s=-1;return c;case 13:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){c=c+(" \""+a.TextMarkTextContent+"\"");}else{c=c+(" '"+a.TextMarkTextContent+"'");}c=c+("))");$s=17;continue;case 14:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("<<"+a.TextMarkFileAnnotationRefID);c=c+(" \""+a.TextMarkTextContent+"\"");c=c+(">>");$s=17;continue;case 15:w=E.DecodeLastRuneInString(a.TextMarkTextContent);x=w[0];c=c+(a.TextMarkTextContent);y=a.TextMarkInlineMemoContent;y=C.ReplaceAll(y,"_esc_newline_"," ");if(AB(x)){c=c+("^\xEF\xBC\x88"+y+"\xEF\xBC\x89^");}else{c=c+("^("+y+")^");}$s=17;continue;case 16:z=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=18;continue;}$s=19;continue;case 18:aa=I.RepeatBackslashBeforePipe(z);$s=20;case 20:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;z=C.ReplaceAll(z,"\n","
    ");case 19:z=C.ReplaceAll(z,"_esc_newline_"," ");c=c+("$"+z+"$");case 17:case 11:$s=10;continue;case 9:ab=m;if(ab===("a")){ac=a.TextMarkAHref;ac=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(ac))))));ac=G.UnescapeHTMLStr(ac);ac=d.BaseRenderer.EncodeLinkSpace(ac);c=c+(($bytesToString(I.EscapeProtyleMarkers((new CI($stringToBytes(a.TextMarkTextContent)))))));ad=n;ae=0;while(true){if(!(ae=ad.$length)?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+ae]);if("code"===af){c=c+(d.renderMdMarker1(a,af,b));}ae++;}c=c+("]("+ac);if(!(""===a.TextMarkATitle)){c=c+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}c=c+(")");}ag=n;ah=0;while(true){if(!(ah=ag.$length)?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+ah]);if(!("code"===ai)){c=c+(d.renderMdMarker1(a,ai,b));}ah++;}case 10:$s=7;continue;case 6:if(!b){BK(e);}aj=e;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);c=c+(d.renderMdMarker1(a,al,b));ak++;}case 7:$s=-1;return c;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderMdMarker=function(a,b){return this.$val.renderMdMarker(a,b);};BK=function(a){var a,b,c,d,e,f,g,h;b=a.$length-1>>0;c=0;while(true){if(!(c<(d=a.$length/2,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError("integer divide by zero")))){break;}e=(f=b-c>>0,((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]));g=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]=e);(h=b-c>>0,((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]=g));c=c+(1)>>0;}};BI.ptr.prototype.renderMdMarker0=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=b;if(f===("a")){$s=2;continue;}if(f===("block-ref")){$s=3;continue;}if(f===("file-annotation-ref")){$s=4;continue;}if(f===("inline-memo")){$s=5;continue;}if(f===("inline-math")){$s=6;continue;}$s=7;continue;case 2:g=a.TextMarkAHref;g=($bytesToString(e.BaseRenderer.LinkPath((new CI($stringToBytes(g))))));g=G.UnescapeHTMLStr(g);g=e.BaseRenderer.EncodeLinkSpace(g);if(c){d=d+("["+a.TextMarkTextContent+"]("+g);if(!(""===a.TextMarkATitle)){d=d+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}d=d+(")");}$s=8;continue;case 3:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){d=d+(" \""+a.TextMarkTextContent+"\"");}else{d=d+(" '"+a.TextMarkTextContent+"'");}d=d+("))");}$s=8;continue;case 4:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("<<"+a.TextMarkFileAnnotationRefID);d=d+(" \""+a.TextMarkTextContent+"\"");d=d+(">>");}$s=8;continue;case 5:if(c){h=E.DecodeLastRuneInString(a.TextMarkTextContent);i=h[0];d=d+(a.TextMarkTextContent);j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");if(AB(i)){d=d+("^\xEF\xBC\x88"+j+"\xEF\xBC\x89^");}else{d=d+("^("+j+")^");}}$s=8;continue;case 6:if(c){$s=9;continue;}$s=10;continue;case 9:k=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=12;continue;}$s=13;continue;case 12:l=I.RepeatBackslashBeforePipe(k);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;k=C.ReplaceAll(k,"\n","
    ");case 13:k=C.ReplaceAll(k,"_esc_newline_"," ");d=d+("$"+k);$s=11;continue;case 10:d=d+("$");case 11:$s=8;continue;case 7:d=d+(e.renderMdMarker1(a,b,c));case 8:case 1:$s=-1;return d;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BI.prototype.renderMdMarker0=function(a,b,c){return this.$val.renderMdMarker0(a,b,c);};BI.ptr.prototype.renderMdMarker1=function(a,b,c){var a,b,c,d,e,f;d="";e=this;f=b;if(f===("strong")){d=d+("**");}else if(f===("em")){d=d+("*");}else if(f===("code")){d=d+("`");}else if(f===("tag")){d=d+("#");}else if(f===("s")){d=d+("~~");}else if(f===("mark")){d=d+("==");}else if(f===("u")){if(c){d=d+("");}else{d=d+("");}}else if(f===("sup")){if(c){d=d+("^");}else{d=d+("^");}}else if(f===("sub")){if(c){d=d+("~");}else{d=d+("~");}}else if(f===("kbd")){if(c){d=d+("");}else{d=d+("");}}return d;};BI.prototype.renderMdMarker1=function(a,b,c){return this.$val.renderMdMarker1(a,b,c);};BI.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BI.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BI.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BI.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BI.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BI.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BI.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BI.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BI.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BI.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BI.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BI.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BI.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BI.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BI.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BI.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BI.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BI.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BI.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BI.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BI.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BI.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BI.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BI.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BI.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BI.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BI.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BI.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BI.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BI.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BI.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BI.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BI.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BI.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BI.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BI.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BI.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BI.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BI.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BI.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BI.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BI.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BI.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BI.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BI.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BI.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BI.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BI.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BI.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BI.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BI.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BI.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BI.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BI.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BI.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BI.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BI.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};BI.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BI.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BI.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BI.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BI.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BI.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BI.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BI.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BI.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BI.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BI.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BI.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BI.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BI.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BI.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);d=(new CI($stringToBytes(c.BaseRenderer.EncodeLinkSpace(($bytesToString(d))))));$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BI.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BI.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BI.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BI.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BI.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BI.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BI.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BI.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BI.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BI.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BI.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BI.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BI.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BI.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BI.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BI.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BI.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.ChineseParagraphBeginningSpace&&(0===a.Parent.Type)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE3\x80\x80\xE3\x80\x80");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=7;continue;}$s=8;continue;case 7:d=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 8:if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("

    ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=-1;return 2;case 11:if(c.withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=18;continue;}$s=19;continue;case 18:if(c.withoutKramdownBlockIAL(a)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BI.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BI.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BI.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BI.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BI.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BI.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1");case 4:e=C.ReplaceAll(e,"_esc_newline_"," ");$r=c.BaseRenderer.WriteString(e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BI.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BI.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(36);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.UnescapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BI.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BI.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=2;continue;}$s=3;continue;case 2:if(c.withoutKramdownBlockIAL(a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BI.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a.Parent)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BI.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;e=a.Parent.ChildByType(14);if(!(CM.nil===e)&&BA(($bytesToString(e.CodeBlockInfo)))){d=G.UnescapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BI.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BI.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BI.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=11;continue;}$s=12;continue;case 11:if(c.withoutKramdownBlockIAL(a)){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(10);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 12:$s=-1;return 1;case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BI.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BI.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BI.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BI.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BI.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BI.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BI.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BI.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BI.ptr.prototype.renderBlockquote=function(a,b){var{a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BI.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BI.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BI.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BI.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BI.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BI.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BI.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();if(A.HasPrefix(k,(new CI($stringToBytes("* "))))){k=$appendSlice((new CI($stringToBytes(" \n\n"))),k);}l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BI.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BI.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BI.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BI.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BI.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};BI.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};BN=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(K.StrToBytes(a));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=K.BytesToStr(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BN,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmapStr=BN;BO=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=G.EncodeDestination(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BO,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmap=BO;BP=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];a=A.ReplaceAll(a,F.CaretTokens,CI.nil);c=J.Parse("",a,J.NewOptions());$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(CM.nil===d.Root.FirstChild||!((7===d.Root.FirstChild.Type))){$s=-1;return(new CI($stringToBytes("{}")));}e=CN.nil;f=d.Root.FirstChild;while(true){if(!(!(CM.nil===f))){break;}if(!((7===f.Type))){e=$append(e,f);}f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(d.Root,(function(b){return function $b(j,k){var{j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{j,k});$s=$s||0;s:while(true){switch($s){case 0:l=j.Type;if(l===(0)){$s=2;continue;}if(l===(7)){$s=3;continue;}if(l===(8)){$s=4;continue;}$s=5;continue;case 2:if(k){$s=7;continue;}$s=8;continue;case 7:if(BR(j)){$s=10;continue;}$s=11;continue;case 10:m=b[0].WriteString("{\"name\": \"Root\", \"children\": [");$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 11:$s=9;continue;case 8:if(BR(j)){$s=13;continue;}$s=14;continue;case 13:n=b[0].WriteString("]}");$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 14:case 9:$s=-1;return 2;case 3:$s=-1;return 2;case 4:o=!(CM.nil===j.ChildByType(7));if(k){$s=16;continue;}$s=17;continue;case 16:p=BQ(j.FirstChild);$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=b[0].WriteString("{\"name\": \""+p+"\"");$s=20;case 20:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o){$s=21;continue;}$s=22;continue;case 21:r=b[0].WriteString(", \"children\": [");$s=23;case 23:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 22:$s=18;continue;case 17:if(o){$s=24;continue;}$s=25;continue;case 24:s=b[0].WriteString("]");$s=26;case 26:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 25:t=b[0].WriteString("}");$s=27;case 27:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;if(!(CM.nil===j.Next)||!(CM.nil===j.Parent.Next)){$s=28;continue;}$s=29;continue;case 28:u=b[0].WriteString(", ");$s=30;case 30:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;case 29:case 18:$s=6;continue;case 5:$s=-1;return 2;case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};})(b));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0].Bytes();}return;}var $f={$blk:BP,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BQ=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c="";if(CM.nil===a){c="";$s=-1;return c;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(d,e){var{d,e,f,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if((7===d.Type)||(8===d.Type)){$s=-1;return 2;}if(((16===d.Type)||(40===d.Type))&&e){$s=1;continue;}$s=2;continue;case 1:f=b[0].Write(d.Tokens);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();c=C.ReplaceAll(c,"\\","\\\\");c=C.ReplaceAll(c,"\"","\\\"");c=C.ReplaceAll(c,"\xE2\x80\xB8","");$s=-1;return c;}return;}var $f={$blk:BQ,$c:true,$r,a,b,c,$s};return $f;};BR=function(a){var a,b,c,d;b=0;c=a.FirstChild;while(true){if(!(!(CM.nil===c))){break;}if(7===c.Type){b=b+(1)>>0;}c=c.Next;}if(1>0;}d=d.Next;}if(1a.$length){return true;}if(47===(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])){return false;}return!A.Contains(a,(new CI($stringToBytes(":/"))))&&!A.Contains(a,(new CI($stringToBytes(":\\"))))&&!A.Contains(a,(new CI($stringToBytes(":%5C"))));};AQ.prototype.isRelativePath=function(a){return this.$val.isRelativePath(a);};BT=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BS.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderCodeBlock")});h=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderMathBlock")});i=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderBlockquote")});j=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderSuperBlock")});k=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderHeading")});l=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderList")});m=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderListItem")});n=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderThematicBreak")});o=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHTML")});p=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderTable")});q=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderToC")});r=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderYamlFrontMatter")});s=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderBlockQueryEmbed")});t=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderKramdownBlockIAL")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:BT,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$pkg.NewKityMinderJSONRenderer=BT;BS.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};BS.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};BS.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BS.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BS.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BS.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BS.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BS.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BS.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){if(a.Parent.FirstChild===a&&a.Parent.LastChild===a){$s=-1;return 2;}}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BS.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BS.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BS.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BS.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;while(true){if(!(!(CM.nil===d))){break;}d.Unlink();d=d.Next;}e=BU(a);f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);a.AppendChild(h);g++;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BS.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BS.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BS.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BS.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BS.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BS.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 1;};BS.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BS.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"root\":");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BS.ptr.prototype.data=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=this;$r=c.BaseRenderer.WriteString("\"data\":");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.Type;if(e===(0)){$s=4;continue;}if(e===(7)){$s=5;continue;}if(e===(5)){$s=6;continue;}if(e===(475)){$s=7;continue;}$s=8;continue;case 4:d=c.BaseRenderer.Tree.Name;$s=9;continue;case 5:if(0===a.ListData.Typ){$s=10;continue;}if(1===a.ListData.Typ){$s=11;continue;}$s=12;continue;case 10:$r=c.BaseRenderer.WriteString("\"priority\": \"iconList\",");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 11:$r=c.BaseRenderer.WriteString("\"priority\": \"iconOrderedList\",");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\"priority\": \"iconCheck\",");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=9;continue;case 6:$r=c.BaseRenderer.WriteString("\"priority\": \"iconQuote\",");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 7:$r=c.BaseRenderer.WriteString("\"priority\": \"iconSuper\",");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(f,g){var{f,g,h,i,j,$s,$r,$c}=$restore(this,{f,g});$s=$s||0;s:while(true){switch($s){case 0:if(!g){$s=-1;return 2;}if(460===f.Type){$s=1;continue;}$s=2;continue;case 1:h=f.Text();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=b[0].WriteString("#"+h+"#");$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return 1;case 2:if((16===f.Type)||(40===f.Type)||(433===f.Type)||(434===f.Type)||(29===f.Type)||(15===f.Type)||(42===f.Type)||(302===f.Type)||(306===f.Type)||(427===f.Type)){$s=5;continue;}$s=6;continue;case 5:j=b[0].Write(f.Tokens);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,f,g,h,i,j,$s};return $f;};})(b));$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=b[0].String();case 9:case 3:f=C.NewReplacer(new CJ(["\\","","\n","","\"","","\t","","'",""]));g=f.Replace(d);$s=20;case 20:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}d=g;d=C.ReplaceAll(d,"'","");if(16=e.HeadingLevel){break;}}if(455===e.Type){if(!A.Contains(e.Tokens,(new CI($stringToBytes("type=\"doc\""))))){b=$append(b,e);}}else{b=$append(b,e);}e=e.Next;}return b;};BW=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=CN.nil;$r=H.Walk(a.Root,(function(c){return function(d,e){var d,e;if(!e||!((455===d.Type))){return 2;}c[0]=$append(c[0],d);return 2;};})(c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c[0];e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);f.Unlink();e++;}g=AR(a,b);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new BV.ptr(g);h.BaseRenderer.DefaultRendererFunc=$methodVal(h,"renderNode");$s=-1;return h;}return;}var $f={$blk:BW,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};$pkg.NewJSONRenderer=BW;BV.ptr.prototype.renderNode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(",");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:d=K.BytesToStr(a.Tokens);e=new H.NodeType(a.Type).String();a.Data=d;a.TypeStr=e;a.Properties=BX(a.KramdownIAL);$mapDelete(a.Properties,$String.keyFor("refcount"));g=M.Marshal(a);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j="";k="";a.Data=j;a.TypeStr=k;a.Properties=false;if(!($interfaceIsEqual($ifaceNil,i))){$s=8;continue;}$s=9;continue;case 8:l=i.Error();$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$panic(new $String("marshal node to json failed: "+l));$s=-1;return 0;case 9:m=K.BytesToStr(h);m=$substring(m,0,(m.length-1>>0));$r=c.BaseRenderer.WriteString(m);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.FirstChild)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(",\"Children\":[");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString("}");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$s=3;continue;case 2:if(!(CM.nil===a.FirstChild)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(93);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("}");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BV.ptr.prototype.renderNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BV.prototype.renderNode=function(a,b){return this.$val.renderNode(a,b);};BX=function(a){var a,b,c,d,e,f;b=false;b=$makeMap($String.keyFor,[]);c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);(b||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])});d++;}return b;};BZ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BY.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BZ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewHtmlRenderer=BZ;BY.ptr.prototype.Render=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;d=a;e=b.RenderFootnotes();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;a=$appendSlice(d,f);$s=-1;return a;}return;}var $f={$blk:BY.ptr.prototype.Render,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.Render=function(){return this.$val.Render();};BY.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BY.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BY.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(a.TextMarkInlineMemoContent);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BY.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BY.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BY.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BY.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BY.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BY.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BY.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BY.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BY.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BY.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BY.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BY.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BY.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BY.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BY.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BY.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BY.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BY.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BY.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BY.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BY.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BY.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BY.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BY.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BY.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BY.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BY.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BY.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BY.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BY.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BY.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BY.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BY.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BY.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BY.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BY.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BY.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BY.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BY.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BY.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BY.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BY.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BY.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BY.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BY.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BY.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BY.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BY.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BY.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BY.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BY.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BY.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BY.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BY.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BY.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BY.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BY.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BY.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BY.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BY.ptr.prototype.RenderFootnotes=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(1>a.BaseRenderer.FootnotesDefs.$length){$s=-1;return CI.nil;}b=new A.Buffer.ptr(CI.nil,0,0);c=b.WriteString("
    ");$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;d=b.WriteString("
    \n");$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=b.WriteString("
      ");$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=a.BaseRenderer.FootnotesDefs;g=0;case 4:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=b.WriteString("
    1. >0)+"\">");$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=new J.Tree.ptr(CM.nil,a.BaseRenderer.Tree.Context,DF.nil,DG.nil,"","","","","",CJ.nil,new $Int64(0,0),new $Int64(0,0),"");k.Context.Tree=k;k.Root=new H.Node.ptr("","","","",0,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");k.Root.AppendChild(i);l=BZ(k,a.BaseRenderer.Options);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=k.Root.LastDeepestChild();h=i.FootnotesRefs.$length-1>>0;while(true){if(!(0<=h)){break;}p=(o=i.FootnotesRefs,((h<0||h>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+h]));q=" \xE2\x86\xA9";r=new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,K.StrToBytes(q),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");n.InsertAfter(r);h=h-(1)>>0;}m.BaseRenderer.RenderingFootnotes=true;s=m.Render();$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=b.Write(t);$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=b.WriteString("
    2. \n");$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;g++;$s=4;continue;case 5:w=b.WriteString("
    ");$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return b.Bytes();}return;}var $f={$blk:BY.ptr.prototype.RenderFootnotes,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BY.prototype.RenderFootnotes=function(){return this.$val.RenderFootnotes();};BY.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c,d,e,f,g;c=this;if(b){if(!c.BaseRenderer.RenderingFootnotes){d=false;e=c.BaseRenderer.FootnotesDefs;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(A.EqualFold(a.Tokens,g.Tokens)){d=true;break;}f++;}if(!d){c.BaseRenderer.FootnotesDefs=$append(c.BaseRenderer.FootnotesDefs,a);}return 1;}}return 2;};BY.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BY.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BY.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BY.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BY.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BY.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BY.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BY.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BY.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BY.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BY.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","language-math"])]);$r=c.BaseRenderer.Tag("span",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BY.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BY.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BY.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BY.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BY.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-math"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BY.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BY.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BY.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BY.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.handleKramdownBlockIAL(a);$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BY.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BY.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BY.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BY.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BY.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BY.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BY.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BY.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BY.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BY.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BY.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BY.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BY.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BY.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BY.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BY.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BY.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=a.IALAttr("parent-style");if(!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["style",d])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("\"");$s=14;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(34);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=a.ChildByType(42);if(!(CM.nil===f)&&!(CI.nil===f.Tokens)){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" title=\"");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(f.Tokens));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:g=c.BaseRenderer.NodeAttrsStr(a);if(!(""===g)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString(" "+g);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString(" />");$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.IALAttr("style");if(!(""===h)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=c.BaseRenderer.Writer.Bytes();j=A.LastIndex(i,(new CI($stringToBytes("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BY.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BY.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]))+"\"");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:if(1=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);$r=c.BaseRenderer.WriteString(" "+(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])+"=\""+(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])+"\"");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k++;$s=17;continue;case 18:case 16:case 11:case 8:$r=c.BaseRenderer.WriteString(">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:m=AT(a);$s=23;case 23:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+n]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+n])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};BY.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BY.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BY.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BY.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}d.handleKramdownBlockIAL(a);c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BY.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(""===c.BaseRenderer.Options.GFMTaskListItemClass)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f=c.BaseRenderer.Options.GFMTaskListItemClass;if(e.TaskListItemChecked){f=f+(" vditor-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BY.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BY.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BY.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BY.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BY.ptr.prototype.handleKramdownBlockIAL=function(a){var a,b,c,d;b=this;if(b.BaseRenderer.Options.KramdownBlockIAL&&!("id"===b.BaseRenderer.Options.KramdownIALIDRenderName)&&0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=b.BaseRenderer.Options.KramdownIALIDRenderName));}};BY.prototype.handleKramdownBlockIAL=function(a){return this.$val.handleKramdownBlockIAL(a);};BY.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BY.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BY.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BY.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};CB=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CA.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:CB,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewFormatRenderer=CB;CA.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};CA.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};CA.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(c.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:d=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=10;continue;}$s=11;continue;case 10:f=E.DecodeLastRuneInString(e);g=f[0];if("\xE2\x80\x8B"===($encodeRune(g))){e=C.TrimSuffix(e,"\xE2\x80\x8B");h=E.DecodeLastRuneInString(e);g=h[0];}if(D.IsLetter(g)||D.IsDigit(g)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:i=c.renderTextMarkAttrs(a);$r=c.BaseRenderer.Tag("span",i,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"\\|","|");j=C.ReplaceAll(j,"|","\\|");j=C.ReplaceAll(j,"\n","
    ");if(C.Contains(a.TextMarkType,"code")){j=C.ReplaceAll(j,"
    ","");}}if(c.BaseRenderer.Options.AutoSpace&&!J.ContainTextMark(a,new CJ(["block-ref","code","inline-math","kbd","tag"]))){j=($bytesToString(c.BaseRenderer.Space((new CI($stringToBytes(j))))));}$r=c.BaseRenderer.WriteString(j);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=19;continue;}$s=20;continue;case 19:if(c.BaseRenderer.Options.AutoSpace){$s=22;continue;}$s=23;continue;case 22:k=a.NextNodeText();$s=24;case 24:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!(""===l)){$s=25;continue;}$s=26;continue;case 25:m=E.DecodeRuneInString(l);n=m[0];if("\xE2\x80\x8B"===($encodeRune(n))){l=C.TrimPrefix(l,"\xE2\x80\x8B");o=E.DecodeRuneInString(l);n=o[0];}if(D.IsLetter(n)||D.IsDigit(n)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteByte(32);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:case 26:case 23:$s=21;continue;case 20:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CA.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};CA.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");h=C.ReplaceAll(h,"|","\\|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=a.TextMarkATitle;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");i=C.ReplaceAll(i,"|","\\|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=G.EscapeHTMLStr(j);b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};CA.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};CA.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};CA.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};CA.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};CA.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};CA.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};CA.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};CA.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};CA.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};CA.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};CA.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};CA.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};CA.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};CA.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};CA.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};CA.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};CA.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};CA.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};CA.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};CA.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};CA.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};CA.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};CA.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};CA.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};CA.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};CA.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CA.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CA.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CA.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};CA.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};CA.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};CA.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};CA.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CA.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};CA.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};CA.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CA.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};CA.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};CA.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};CA.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CA.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CA.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};CA.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};CA.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};CA.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};CA.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CA.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};CA.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};CA.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};CA.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};CA.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CA.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CA.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CA.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CA.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CA.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CA.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};CA.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};CA.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CA.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CA.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CA.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CA.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CA.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};CA.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CA.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CA.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};CA.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CA.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CA.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};CA.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};CA.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};CA.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};CA.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};CA.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};CA.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};CA.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};CA.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};CA.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};CA.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};CA.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};CA.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};CA.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};CA.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};CA.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CA.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CA.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CA.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CA.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CA.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=3;continue;}$s=4;continue;case 3:d=A.TrimSpace(a.FirstChild.Tokens);$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 4:if(a.ParentIs(109,CQ.nil)){$s=6;continue;}$s=7;continue;case 6:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("

    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 2;case 7:if(c.withoutKramdownBlockIAL(a)){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.Newline();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=14;continue;}$s=15;continue;case 14:if(c.withoutKramdownBlockIAL(a)){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:case 15:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};CA.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CA.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};CA.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};CA.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};CA.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};CA.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};CA.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};CA.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CA.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};CA.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};CA.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CA.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CA.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CA.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CA.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CA.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CA.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CA.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};CA.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};CH=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CG.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeBlock")});j=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderMathBlock")});k=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderInlineMath")});l=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderEmphasis")});m=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderStrong")});n=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderBlockquote")});o=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHeading")});p=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderList")});q=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderListItem")});r=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderThematicBreak")});s=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderHardBreak")});t=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderSoftBreak")});u=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderHTML")});v=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineHTML")});w=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderLink")});x=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderImage")});y=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderStrikethrough")});z=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderTaskListItemMarker")});aa=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderTable")});ab=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderTableHead")});ac=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderTableRow")});ad=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderTableCell")});ae=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderEmoji")});af=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderEmojiUnicode")});ag=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderEmojiImg")});ah=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderEmojiAlias")});ai=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderFootnotesDef")});aj=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderFootnotesRef")});ak=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderToC")});al=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderBackslash")});am=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderBackslashContent")});an=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderHtmlEntity")});ao=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderYamlFrontMatter")});ap=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderBlockRef")});aq=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderFileAnnotationRef")});ar=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderMark")});as=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderSup")});at=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderSub")});au=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderKramdownBlockIAL")});av=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderKramdownSpanIAL")});aw=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBlockQueryEmbed")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:CH,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewEChartsJSONRenderer=CH;CG.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(K.IsDocIAL(a.Tokens)){e=c.BaseRenderer.Tree.ID;}$r=c.leaf("Block IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CG.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.leaf("Span IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CG.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Mark\nmark",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CG.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sup\nsup",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CG.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sub\nsub",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CG.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockQueryEmbed\n{{script}}",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CG.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockRef\n((id))",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CG.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("FileAnnotationRef\n<>",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CG.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};CG.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Front Matter\nYAML",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CG.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Entity\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CG.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CG.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Blackslash\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CG.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("ToC\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CG.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Footnotes Ref\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CG.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Footnotes Def\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CG.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline Math\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};CG.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Math Block\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};CG.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Img\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CG.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Unicode\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CG.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CG.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CG.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Cell\ntd",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CG.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Row\ntr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CG.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Head\nthead",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};CG.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Table\ntable",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CG.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Strikethrough\ndel",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CG.ptr.prototype.renderImage=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Image\nimg",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderImage,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CG.ptr.prototype.renderLink=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Link\na",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderLink,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CG.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Block\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CG.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline HTML\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CG.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Document",a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CG.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Paragraph\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CG.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=0;f="";g=d;h=0;while(true){if(!(h>0;f=f+(($encodeRune(j)));if(4>0));$r=c.val("Heading\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CG.ptr.prototype.renderList=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}$r=c.val("List\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderList,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CG.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("List Item\nli "+K.BytesToStr(a.ListData.Marker),a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CG.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=" ";if(a.TaskListItemChecked){d="X";}$r=c.val("Task List Item Marker\n["+d+"]",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CG.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Thematic Break\nhr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CG.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Hard Break\nbr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CG.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Soft Break\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CG.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Code Block\npre.code",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};CG.ptr.prototype.leaf=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.openObj();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(b);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.leaf,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.leaf=function(a,b){return this.$val.leaf(a,b);};CG.ptr.prototype.val=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;a=C.ReplaceAll(a,"\\","\\\\");a=C.ReplaceAll(a,"\n","\\n");a=C.ReplaceAll(a,"\"","");a=C.ReplaceAll(a,"'","");$r=c.BaseRenderer.WriteString("\"name\":\""+a+"\"");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.val,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.val=function(a,b){return this.$val.val(a,b);};CG.ptr.prototype.openObj=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteByte(123);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openObj,$c:true,$r,a,$s};return $f;};CG.prototype.openObj=function(){return this.$val.openObj();};CG.ptr.prototype.closeObj=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.BaseRenderer.WriteByte(125);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b.ignore(a.Next)){$s=2;continue;}$s=3;continue;case 2:$r=b.comma();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeObj,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeObj=function(a){return this.$val.closeObj(a);};CG.ptr.prototype.openChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteString(",\"children\":[");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.openChildren=function(a){return this.$val.openChildren(a);};CG.ptr.prototype.closeChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeChildren=function(a){return this.$val.closeChildren(a);};CG.ptr.prototype.comma=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteString(",");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.comma,$c:true,$r,a,$s};return $f;};CG.prototype.comma=function(){return this.$val.comma();};CG.ptr.prototype.ignore=function(a){var a,b;b=this;return CM.nil===a||(6===a.Type)||(18===a.Type)||(19===a.Type)||(20===a.Type)||(21===a.Type)||(23===a.Type)||(24===a.Type)||(25===a.Type)||(26===a.Type)||(102===a.Type)||(103===a.Type)||(104===a.Type)||(105===a.Type)||(301===a.Type)||(302===a.Type)||(303===a.Type)||(305===a.Type)||(306===a.Type)||(307===a.Type)||(426===a.Type)||(428===a.Type)||(427===a.Type);};CG.prototype.ignore=function(a){return this.$val.ignore(a);};BY.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=2;continue;}$s=3;continue;case 2:if(b){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.FirstChild.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 5:$s=-1;return 2;case 6:case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BY.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="";if(0=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])));}f=BA(d);if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=CL.nil;c.handleKramdownBlockIAL(a);g=$appendSlice(g,a.KramdownIAL);if(!f){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("pre",g,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:h=a.Tokens;if(0");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:if(f){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString("
    ");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 13:h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=3;continue;case 2:if(f){$s=26;continue;}$s=27;continue;case 26:$r=c.BaseRenderer.WriteString("
    ");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:$r=c.BaseRenderer.Newline();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BY.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};DH.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DI.methods=[{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"inListItem",name:"inListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"popWriteClass",name:"popWriteClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"popWriter",name:"popWriter",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderClass",name:"renderClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"domAttrValue",name:"domAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String],[$String],false)},{prop:"domSetAttrValue",name:"domSetAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String,$String],[],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DJ.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"tagMatchClose",name:"tagMatchClose",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"tagMatchOpen",name:"tagMatchOpen",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSpanNode",name:"renderSpanNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderDivNode",name:"renderDivNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DK.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI,CJ],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CK.methods=[{prop:"FixTermTypo",name:"FixTermTypo",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"fixTermTypo0",name:"fixTermTypo0",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"TextAutoSpacePrevious",name:"TextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"TextAutoSpaceNext",name:"TextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpacePrevious",name:"LinkTextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpaceNext",name:"LinkTextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC0",name:"renderToC0",pkg:"github.com/88250/lute/render",typ:$funcType([DB],[],false)},{prop:"Tag",name:"Tag",pkg:"",typ:$funcType([$String,CL,$Bool],[],false)},{prop:"headings",name:"headings",pkg:"github.com/88250/lute/render",typ:$funcType([],[DC],false)},{prop:"setextHeadingLen",name:"setextHeadingLen",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Int],false)},{prop:"renderListStyle",name:"renderListStyle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"tagSrc",name:"tagSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"tagSrcPath",name:"tagSrcPath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"isLastNode",name:"isLastNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CM],[$Bool],false)},{prop:"NodeID",name:"NodeID",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"NodeAttrs",name:"NodeAttrs",pkg:"",typ:$funcType([CM],[CL],false)},{prop:"NodeAttrsStr",name:"NodeAttrsStr",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"EncodeLinkSpace",name:"EncodeLinkSpace",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LinkPath",name:"LinkPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"PrefixPath",name:"PrefixPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"RelativePath",name:"RelativePath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"isRelativePath",name:"isRelativePath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[$Bool],false)}];DO.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"replaceSrc",name:"replaceSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI,CI,CI],[CI],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"escapeRefText",name:"escapeRefText",pkg:"github.com/88250/lute/render",typ:$funcType([$String],[$String],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"blockNodeAttrs",name:"blockNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeClass",name:"nodeClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeDataType",name:"nodeDataType",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeID",name:"nodeID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeIndex",name:"nodeIndex",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"spellcheck",name:"spellcheck",pkg:"github.com/88250/lute/render",typ:$funcType([CR],[],false)},{prop:"contenteditable",name:"contenteditable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderIAL",name:"renderIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)}];DP.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)}];DR.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMdMarker",name:"renderMdMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[$String],false)},{prop:"renderMdMarker0",name:"renderMdMarker0",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderMdMarker1",name:"renderMdMarker1",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DT.methods=[{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"data",name:"data",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)}];DU.methods=[{prop:"renderNode",name:"renderNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DV.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"RenderFootnotes",name:"RenderFootnotes",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"handleKramdownBlockIAL",name:"handleKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CX.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DW.methods=[{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"leaf",name:"leaf",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"val",name:"val",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"ignore",name:"ignore",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];N.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"commentStackDepth",name:"commentStackDepth",embedded:false,exported:false,typ:$Int,tag:""}]);P.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"nodeWriterStack",name:"nodeWriterStack",embedded:false,exported:false,typ:CT,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:CI,tag:""}]);R.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);T.init("github.com/88250/lute/render",[{prop:"FormatRenderer",name:"FormatRenderer",embedded:true,exported:true,typ:CX,tag:""},{prop:"linkPrefixes",name:"linkPrefixes",embedded:false,exported:false,typ:CJ,tag:""},{prop:"originalLink",name:"originalLink",embedded:false,exported:false,typ:CJ,tag:""}]);AL.init([CM,$Bool],[H.WalkStatus],false);AM.init([CM,$Bool],[$String,H.WalkStatus],false);AO.init("",[{prop:"SoftBreak2HardBreak",name:"SoftBreak2HardBreak",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"AutoSpace",name:"AutoSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"RenderListStyle",name:"RenderListStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlight",name:"CodeSyntaxHighlight",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightDetectLang",name:"CodeSyntaxHighlightDetectLang",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightInlineStyle",name:"CodeSyntaxHighlightInlineStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightLineNum",name:"CodeSyntaxHighlightLineNum",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightStyleName",name:"CodeSyntaxHighlightStyleName",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorWYSIWYG",name:"VditorWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorIR",name:"VditorIR",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorSV",name:"VditorSV",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleWYSIWYG",name:"ProtyleWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownBlockIAL",name:"KramdownBlockIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownSpanIAL",name:"KramdownSpanIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"SuperBlock",name:"SuperBlock",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ImageLazyLoading",name:"ImageLazyLoading",embedded:false,exported:true,typ:$String,tag:""},{prop:"ChineseParagraphBeginningSpace",name:"ChineseParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Sanitize",name:"Sanitize",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"FixTermTypo",name:"FixTermTypo",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Terms",name:"Terms",embedded:false,exported:true,typ:DL,tag:""},{prop:"ToC",name:"ToC",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"HeadingID",name:"HeadingID",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownIALIDRenderName",name:"KramdownIALIDRenderName",embedded:false,exported:true,typ:$String,tag:""},{prop:"HeadingAnchor",name:"HeadingAnchor",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"GFMTaskListItemClass",name:"GFMTaskListItemClass",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorCodeBlockPreview",name:"VditorCodeBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorMathBlockPreview",name:"VditorMathBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorHTMLBlockPreview",name:"VditorHTMLBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"LinkBase",name:"LinkBase",embedded:false,exported:true,typ:$String,tag:""},{prop:"LinkPrefix",name:"LinkPrefix",embedded:false,exported:true,typ:$String,tag:""},{prop:"NodeIndexStart",name:"NodeIndexStart",embedded:false,exported:true,typ:$Int,tag:""},{prop:"ProtyleContenteditable",name:"ProtyleContenteditable",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KeepParagraphBeginningSpace",name:"KeepParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleMarkNetImg",name:"ProtyleMarkNetImg",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Spellcheck",name:"Spellcheck",embedded:false,exported:true,typ:$Bool,tag:""}]);AQ.init("",[{prop:"Options",name:"Options",embedded:false,exported:true,typ:CZ,tag:""},{prop:"RendererFuncs",name:"RendererFuncs",embedded:false,exported:true,typ:DM,tag:""},{prop:"DefaultRendererFunc",name:"DefaultRendererFunc",embedded:false,exported:true,typ:AL,tag:""},{prop:"ExtRendererFuncs",name:"ExtRendererFuncs",embedded:false,exported:true,typ:DN,tag:""},{prop:"Writer",name:"Writer",embedded:false,exported:true,typ:CS,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:$Uint8,tag:""},{prop:"Tree",name:"Tree",embedded:false,exported:true,typ:DA,tag:""},{prop:"DisableTags",name:"DisableTags",embedded:false,exported:true,typ:$Int,tag:""},{prop:"FootnotesDefs",name:"FootnotesDefs",embedded:false,exported:true,typ:CN,tag:""},{prop:"RenderingFootnotes",name:"RenderingFootnotes",embedded:false,exported:true,typ:$Bool,tag:""}]);AW.init("github.com/88250/lute/render",[{prop:"ID",name:"ID",embedded:false,exported:true,typ:$String,tag:"json:\"id\""},{prop:"Box",name:"Box",embedded:false,exported:true,typ:$String,tag:"json:\"box\""},{prop:"Path",name:"Path",embedded:false,exported:true,typ:$String,tag:"json:\"path\""},{prop:"HPath",name:"HPath",embedded:false,exported:true,typ:$String,tag:"json:\"hPath\""},{prop:"Content",name:"Content",embedded:false,exported:true,typ:$String,tag:"json:\"content\""},{prop:"Level",name:"Level",embedded:false,exported:true,typ:$Int,tag:"json:\"level\""},{prop:"Children",name:"Children",embedded:false,exported:true,typ:DC,tag:"json:\"children\""},{prop:"parent",name:"parent",embedded:false,exported:false,typ:DB,tag:""}]);BC.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeIndex",name:"NodeIndex",embedded:false,exported:true,typ:$Int,tag:""}]);BE.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BI.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);BS.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BV.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BY.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);CA.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);CG.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.NewlineSV=(new CI($stringToBytes("
    \n
    ")));X=$makeMap($String.keyFor,[{k:"flutter",v:"Flutter"},{k:"netty",v:"Netty"},{k:"jetty",v:"Jetty"},{k:"tomcat",v:"Tomcat"},{k:"jdbc",v:"JDBC"},{k:"mariadb",v:"MariaDB"},{k:"ipfs",v:"IPFS"},{k:"saas",v:"SaaS"},{k:"paas",v:"PaaS"},{k:"iaas",v:"IaaS"},{k:"ioc",v:"IoC"},{k:"freemarker",v:"FreeMarker"},{k:"ruby",v:"Ruby"},{k:"rails",v:"Rails"},{k:"mina",v:"Mina"},{k:"puppet",v:"Puppet"},{k:"vagrant",v:"Vagrant"},{k:"chef",v:"Chef"},{k:"beego",v:"Beego"},{k:"gin",v:"Gin"},{k:"iris",v:"Iris"},{k:"php",v:"PHP"},{k:"ssh",v:"SSH"},{k:"web",v:"Web"},{k:"websocket",v:"WebSocket"},{k:"api",v:"API"},{k:"css",v:"CSS"},{k:"html",v:"HTML"},{k:"json",v:"JSON"},{k:"jsonp",v:"JSONP"},{k:"xml",v:"XML"},{k:"yaml",v:"YAML"},{k:"csv",v:"CSV"},{k:"soap",v:"SOAP"},{k:"ajax",v:"AJAX"},{k:"messagepack",v:"MessagePack"},{k:"javascript",v:"JavaScript"},{k:"java",v:"Java"},{k:"jsp",v:"JSP"},{k:"restful",v:"RESTFul"},{k:"graphql",v:"GraphQL"},{k:"gorm",v:"GORM"},{k:"orm",v:"ORM"},{k:"oauth",v:"OAuth"},{k:"facebook",v:"Facebook"},{k:"github",v:"GitHub"},{k:"gist",v:"Gist"},{k:"heroku",v:"Heroku"},{k:"twitter",v:"Twitter"},{k:"youtube",v:"YouTube"},{k:"dynamodb",v:"DynamoDB"},{k:"mysql",v:"MySQL"},{k:"postgresql",v:"PostgreSQL"},{k:"sqlite",v:"SQLite"},{k:"memcached",v:"Memcached"},{k:"mongodb",v:"MongoDB"},{k:"redis",v:"Redis"},{k:"elasticsearch",v:"Elasticsearch"},{k:"solr",v:"Solr"},{k:"b3log",v:"B3log"},{k:"hacpai",v:"HacPai"},{k:"sphinx",v:"Sphinx"},{k:"linux",v:"Linux"},{k:"ubuntu",v:"Ubuntu"},{k:"centos",v:"CentOS"},{k:"centos7",v:"CentOS7"},{k:"redhat",v:"RedHat"},{k:"gitlab",v:"GitLab"},{k:"jquery",v:"jQuery"},{k:"angularjs",v:"AngularJS"},{k:"ffmpeg",v:"FFmpeg"},{k:"git",v:"Git"},{k:"svn",v:"SVN"},{k:"vim",v:"VIM"},{k:"emacs",v:"Emacs"},{k:"sublime",v:"Sublime"},{k:"virtualbox",v:"VirtualBox"},{k:"safari",v:"Safari"},{k:"chrome",v:"Chrome"},{k:"ie",v:"IE"},{k:"firefox",v:"Firefox"},{k:"iterm",v:"iTerm"},{k:"iterm2",v:"iTerm2"},{k:"iwork",v:"iWork"},{k:"itunes",v:"iTunes"},{k:"iphoto",v:"iPhoto"},{k:"ibook",v:"iBook"},{k:"imessage",v:"iMessage"},{k:"photoshop",v:"Photoshop"},{k:"excel",v:"Excel"},{k:"powerpoint",v:"PowerPoint"},{k:"ios",v:"iOS"},{k:"iphone",v:"iPhone"},{k:"ipad",v:"iPad"},{k:"android",v:"Android"},{k:"imac",v:"iMac"},{k:"macbook",v:"MacBook"},{k:"vps",v:"VPS"},{k:"vpn",v:"VPN"},{k:"cpu",v:"CPU"},{k:"spring",v:"Spring"},{k:"springboot",v:"SpringBoot"},{k:"springcloud",v:"SpringCloud"},{k:"springmvc",v:"SpringMVC"},{k:"mybatis",v:"MyBatis"},{k:"qq",v:"QQ"},{k:"sql",v:"SQL"},{k:"markdown",v:"Markdown"},{k:"jdk",v:"JDK"},{k:"openjdk",v:"OpenJDK"},{k:"cors",v:"CORS"},{k:"protobuf",v:"Protobuf"},{k:"google",v:"Google"},{k:"ibm",v:"IBM"},{k:"oracle",v:"Oracle"},{k:"typora",v:"Typora"}]);AC=$makeMap($String.keyFor,[{k:"frame",v:$ifaceNil},{k:"frameset",v:$ifaceNil},{k:"noembed",v:$ifaceNil},{k:"noframes",v:$ifaceNil},{k:"noscript",v:$ifaceNil},{k:"nostyle",v:$ifaceNil},{k:"object",v:$ifaceNil},{k:"script",v:$ifaceNil},{k:"style",v:$ifaceNil},{k:"title",v:$ifaceNil}]);AK=$makeMap($String.keyFor,[{k:"onafterprint",v:$ifaceNil},{k:"onbeforeprint",v:$ifaceNil},{k:"onbeforeunload",v:$ifaceNil},{k:"onerror",v:$ifaceNil},{k:"onhashchange",v:$ifaceNil},{k:"onload",v:$ifaceNil},{k:"onmessage",v:$ifaceNil},{k:"onoffline",v:$ifaceNil},{k:"ononline",v:$ifaceNil},{k:"onpagehide",v:$ifaceNil},{k:"onpageshow",v:$ifaceNil},{k:"onpopstate",v:$ifaceNil},{k:"onresize",v:$ifaceNil},{k:"onstorage",v:$ifaceNil},{k:"onunload",v:$ifaceNil},{k:"onblur",v:$ifaceNil},{k:"onchange",v:$ifaceNil},{k:"oncontextmenu",v:$ifaceNil},{k:"onfocus",v:$ifaceNil},{k:"oninput",v:$ifaceNil},{k:"oninvalid",v:$ifaceNil},{k:"onreset",v:$ifaceNil},{k:"onsearch",v:$ifaceNil},{k:"onselect",v:$ifaceNil},{k:"onsubmit",v:$ifaceNil},{k:"onkeydown",v:$ifaceNil},{k:"onkeypress",v:$ifaceNil},{k:"onkeyup",v:$ifaceNil},{k:"onclick",v:$ifaceNil},{k:"ondblclick",v:$ifaceNil},{k:"onmousedown",v:$ifaceNil},{k:"onmousemove",v:$ifaceNil},{k:"onmouseout",v:$ifaceNil},{k:"onmouseover",v:$ifaceNil},{k:"onmouseleave",v:$ifaceNil},{k:"onmouseenter",v:$ifaceNil},{k:"onmouseup",v:$ifaceNil},{k:"onmousewheel",v:$ifaceNil},{k:"onwheel",v:$ifaceNil},{k:"ondrag",v:$ifaceNil},{k:"ondragend",v:$ifaceNil},{k:"ondragenter",v:$ifaceNil},{k:"ondragleave",v:$ifaceNil},{k:"ondragover",v:$ifaceNil},{k:"ondragstart",v:$ifaceNil},{k:"ondrop",v:$ifaceNil},{k:"onscroll",v:$ifaceNil},{k:"oncopy",v:$ifaceNil},{k:"oncut",v:$ifaceNil},{k:"onpaste",v:$ifaceNil},{k:"onabort",v:$ifaceNil},{k:"oncanplay",v:$ifaceNil},{k:"oncanplaythrough",v:$ifaceNil},{k:"oncuechange",v:$ifaceNil},{k:"ondurationchange",v:$ifaceNil},{k:"onemptied",v:$ifaceNil},{k:"onended",v:$ifaceNil},{k:"onloadeddata",v:$ifaceNil},{k:"onloadedmetadata",v:$ifaceNil},{k:"onloadstart",v:$ifaceNil},{k:"onpause",v:$ifaceNil},{k:"onplay",v:$ifaceNil},{k:"onplaying",v:$ifaceNil},{k:"onprogress",v:$ifaceNil},{k:"onratechange",v:$ifaceNil},{k:"onseeked",v:$ifaceNil},{k:"onseeking",v:$ifaceNil},{k:"onstalled",v:$ifaceNil},{k:"onsuspend",v:$ifaceNil},{k:"ontimeupdate",v:$ifaceNil},{k:"onvolumechange",v:$ifaceNil},{k:"onwaiting",v:$ifaceNil},{k:"ontoggle",v:$ifaceNil},{k:"onbegin",v:$ifaceNil},{k:"onend",v:$ifaceNil},{k:"onrepeat",v:$ifaceNil},{k:"http-equiv",v:$ifaceNil},{k:"formaction",v:$ifaceNil}]);AZ=new CJ(["mermaid","echarts","abc","graphviz","mindmap","flowchart","plantuml"]);CF=new CJ(["jpg","png","gif","webp","cr2","tif","bmp","heif","jxr","psd","ico","dwg","mp4","m4v","mkv","webm","mov","avi","wmv","mpg","flv","3gp","mid","mp3","m4a","ogg","flac","wav","amr","aac","epub","zip","tar","rar","gz","bz2","7z","xz","pdf","exe","swf","rtf","iso","eot","ps","sqli","nes","crx","cab","deb","ar","Z","lz","rpm","elf","dcm","doc","docx","xls","xlsx","ppt","pptx","md","txt","woff","woff2","ttf","otf","wasm","exe","html","js","css","go","java","textbundle"]);CD=CF.$length;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,B,C,N,P,R,Z,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AY,BA,BB,BC,BD,BE,BF,BG,BH,T,W,a,b,Q,S,AA;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];P=$packages["unicode"];R=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AO.nil;this.RenderOptions=AC.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});Z=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(H.Tree);AC=$ptrType(I.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(H.Context);AH=$ptrType(L.Lexer);AI=$ptrType(H.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(H.Options);AP=$sliceType(AE);AQ=$ptrType(AP);AR=$ptrType(F.Attribute);AS=$sliceType(AR);AT=$sliceType(G.Atom);AU=$sliceType($emptyInterface);AV=$ptrType(R);AW=$sliceType(Z);AY=$ptrType(A.Buffer);BA=$mapType($String,$emptyInterface);BB=$sliceType(D.NodeType);BC=$sliceType($Int32);BD=$mapType($String,$String);BE=$ptrType(O.Object);BF=$mapType($String,BE);BG=$mapType($String,BF);BH=$mapType(D.NodeType,I.ExtRendererFunc);R.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};R.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};R.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorDOM=function(c){return this.$val.SpinVditorDOM(c);};R.ptr.prototype.HTML2VditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorDOM2Md=function(c){return this.$val.vditorDOM2Md(c);};R.ptr.prototype.parseHTML=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=C.NewReader(c);g=F.Parse(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=-1;return AE.nil;}if(!("html"===h.FirstChild.Data)){$s=-1;return h;}$s=-1;return h.FirstChild.LastChild;}return;}var $f={$blk:R.ptr.prototype.parseHTML,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.parseHTML=function(c){return this.$val.parseHTML(c);};R.ptr.prototype.adjustVditorDOM=function(c){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.removeEmptyNodes(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.removeHighlightJSSpans(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}d.mergeVditorDOMList0(e);e=e.NextSibling;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}g=c.FirstChild;while(true){if(!(!(AE.nil===g))){break;}d.adjustVditorDOMListList(g);g=g.NextSibling;}h=c.FirstChild;case 3:if(!(!(AE.nil===h))){$s=4;continue;}$r=d.adjustVditorDOMListItemInP(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=3;continue;case 4:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.adjustVditorDOM=function(c){return this.$val.adjustVditorDOM(c);};R.ptr.prototype.adjustVditorDOMListList=function(c){var c,d,e,f,g,h,i;d=this;if(!((42754===c.DataAtom))&&!((79618===c.DataAtom))&&!((45570===c.DataAtom))){return;}if(45570===c.DataAtom){if(!(AE.nil===c.FirstChild)&&(514===c.FirstChild.DataAtom)){c.FirstChild.DataAtom=0;c.FirstChild.Data="\xE2\x80\x8B";e=c.NextSibling;if(!(AE.nil===c.NextSibling)&&(45570===c.NextSibling.DataAtom)){f=e.FirstChild;if(!(AE.nil===f)&&"\xE2\x80\xB8\xE2\x80\x8B"===f.Data){f.Data="\xE2\x80\xB8\n";}}}}else{if(!(AE.nil===c.Parent)&&((42754===c.Parent.DataAtom)||(79618===c.Parent.DataAtom))){g=c.PrevSibling;if(!(AE.nil===g)){c.Unlink();g.AppendChild(c);}}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}i=h.NextSibling;d.adjustVditorDOMListList(h);h=i;}};R.prototype.adjustVditorDOMListList=function(c){return this.$val.adjustVditorDOMListList(c);};R.ptr.prototype.removeHighlightJSSpans=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.hljsSpans(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeHighlightJSSpans,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeHighlightJSSpans=function(c){return this.$val.removeHighlightJSSpans(c);};R.ptr.prototype.hljsSpans=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;if((40708===c.DataAtom)&&C.HasPrefix(J.DomAttrValue(c,"class"),"hljs-")){$s=1;continue;}$s=2;continue;case 1:d.$set($append(d.$get(),c));f=J.DomText(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,g,"",AS.nil));case 2:h=c.FirstChild;case 4:if(!(!(h===AE.nil))){$s=5;continue;}$r=e.hljsSpans(h,d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.hljsSpans,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.hljsSpans=function(c,d){return this.$val.hljsSpans(c,d);};R.ptr.prototype.removeEmptyNodes=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.searchEmptyNodes(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeEmptyNodes=function(c){return this.$val.removeEmptyNodes(c);};R.ptr.prototype.searchEmptyNodes=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=c.DataAtom;if(f===(0)){$s=2;continue;}if(f===(40708)){$s=3;continue;}if((f===(449798))||(f===(257))||(f===(28162))||(f===(1537))||(f===(283139))||(f===(9473))||(f===(53766))||(f===(46596))){$s=4;continue;}if("katex"===J.DomAttrValue(c,"class")){$s=5;continue;}$s=6;continue;case 2:if(e.isInline(c.PrevSibling)||e.isInline(c.NextSibling)||e.isInline(c.Parent)){$s=1;continue;}if(1===c.Type){g=C.TrimLeft(c.Data," ");g=C.TrimRight(g," ");while(true){if(!(C.Contains(g,"\n\n"))){break;}g=C.ReplaceAll(g,"\n\n","");}if(""===g){d.$set($append(d.$get(),c));$s=-1;return;}}h=c.Parent;if(!(AE.nil===h)&&((79618===h.DataAtom)||(42754===h.DataAtom)||(45570===h.DataAtom))){$s=7;continue;}$s=8;continue;case 7:if(AE.nil===c.NextSibling||((1===c.NextSibling.Type)||(42754===c.NextSibling.DataAtom))){i=true;$s=11;continue s;}j=C.TrimSpace(c.Data);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(i){$s=9;continue;}$s=10;continue;case 9:c.Data=C.TrimRight(c.Data,"\n\t ");case 10:case 8:if(!(AE.nil===h)&&((365829===h.DataAtom)||(208901===h.DataAtom)||(9989===h.DataAtom)||(52226===h.DataAtom))){$s=13;continue;}$s=14;continue;case 13:k=C.TrimSpace(c.Data);$s=15;case 15:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}c.Data=k;case 14:if(""===c.Data){d.$set($append(d.$get(),c));}if(4===c.Type){d.$set($append(d.$get(),c));}$s=6;continue;case 3:l=c.LastChild;if(!(AE.nil===l)&&(514===l.DataAtom)){c.InsertAfter(l);}if(J.IsTempMarkSpan(c)){d.$set($append(d.$get(),c));m=AP.nil;n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}m=$append(m,n);n=n.NextSibling;}o=m;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);c.InsertBefore(q);p++;}$s=-1;return;}$s=6;continue;case 4:if(!(AE.nil===c.FirstChild)){if(514===c.FirstChild.DataAtom){d.$set($append(d.$get(),c.FirstChild));c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.FirstChild.Type){r=c.FirstChild.Data;s=e.prefixSpaces(r);if(!(""===s)){c.FirstChild.Data="\xE2\x80\x8B"+c.FirstChild.Data;}}}if(!(AE.nil===c.LastChild)){if(514===c.LastChild.DataAtom){d.$set($append(d.$get(),c.LastChild));c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.LastChild.Type){t=c.LastChild.Data;u=e.suffixSpaces(t);if(!(""===u)){c.FirstChild.Data=c.FirstChild.Data+"\xE2\x80\x8B";}}}$s=6;continue;case 5:d.$set($append(d.$get(),c));case 6:case 1:v=c.FirstChild;case 16:if(!(!(v===AE.nil))){$s=17;continue;}$r=e.searchEmptyNodes(v,d);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=16;continue;case 17:w=c.DataAtom;if((w===(79618))||(w===(42754))){$s=20;continue;}$s=21;continue;case 20:x=J.DomAttrValue(c,"data-type");if("footnotes-defs-ol"===x){$s=-1;return;}if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!((281349===c.FirstChild.FirstChild.DataAtom))){$s=-1;return;}y=J.DomText(c);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(""===z){d.$set($append(d.$get(),c));}case 21:case 19:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.searchEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.searchEmptyNodes=function(c,d){return this.$val.searchEmptyNodes(c,d);};R.ptr.prototype.mergeVditorDOMList0=function(c){var c,d,e,f,g,h;d=this;e=c.DataAtom;if((e===(42754))||(e===(79618))){if(!(AE.nil===c.NextSibling)&&(c.DataAtom===c.NextSibling.DataAtom)&&(1===c.NextSibling.Attr.$length)){f=c.NextSibling.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=f.NextSibling;f.Unlink();c.AppendChild(f);f=g;}c.NextSibling.Unlink();}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}d.mergeVditorDOMList0(h);h=h.NextSibling;}};R.prototype.mergeVditorDOMList0=function(c){return this.$val.mergeVditorDOMList0(c);};R.ptr.prototype.adjustVditorDOMListTight0=function(c){var c,d,e,f;d=this;e=c.DataAtom;if(e===(42754)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}else if(e===(79618)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}f=c.FirstChild;while(true){if(!(!(f===AE.nil))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}};R.prototype.adjustVditorDOMListTight0=function(c){return this.$val.adjustVditorDOMListTight0(c);};R.ptr.prototype.adjustVditorDOMListItemInP=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c.DataAtom;if(e===(45570)){$s=2;continue;}$s=3;continue;case 2:if(!(AE.nil===c.PrevSibling)&&J.DomAttrValue(c.PrevSibling,"data-node-id")===J.DomAttrValue(c,"data-node-id")){$s=4;continue;}$s=5;continue;case 4:f=c;g=D.NewNodeID();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=d.setDOMAttrValue(f,"data-node-id",h);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(AE.nil===c.PrevSibling)&&!(AE.nil===c.FirstChild)){$s=8;continue;}$s=9;continue;case 8:i=J.DomAttrValue(c.FirstChild,"data-node-id");if(!(""===i)&&!(AE.nil===c.PrevSibling.LastChild)&&J.DomAttrValue(c.PrevSibling.LastChild,"data-node-id")===i){$s=10;continue;}$s=11;continue;case 10:j=c.FirstChild;k=D.NewNodeID();$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=d.setDOMAttrValue(j,"data-node-id",l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:m=c.FirstChild;while(true){if(!(!(AE.nil===m))){break;}if(d.listItemEnter(c)){n=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\xE2\x80\xB8","",AS.nil));n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));c.FirstChild.Unlink();c.FirstChild.Unlink();c.AppendChild(n);m=n;m=m.NextSibling;continue;}if(!((3073===m.DataAtom))&&!((100106===m.DataAtom))&&!((42754===m.DataAtom))&&!((79618===m.DataAtom))&&!((92931===m.DataAtom))){o=d.forwardNextBlock(m);p=o[0];q=o[1];r=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);m.InsertBefore(r);s=p;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);u.Unlink();r.AppendChild(u);t++;}m=q;if(AE.nil===m){break;}}m=m.NextSibling;}case 3:case 1:v=c.FirstChild;case 14:if(!(!(v===AE.nil))){$s=15;continue;}$r=d.adjustVditorDOMListItemInP(v);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=14;continue;case 15:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOMListItemInP,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};R.prototype.adjustVditorDOMListItemInP=function(c){return this.$val.adjustVditorDOMListItemInP(c);};R.ptr.prototype.forwardNextBlock=function(c){var c,d,e,f,g,h;d=AP.nil;e=AE.nil;f=this;g=c;while(true){if(!(!(AE.nil===g))){break;}h=g.DataAtom;if((h===(79618))||(h===(42754))||(h===(92931))||(h===(100106))){return[d,e];}d=$append(d,g);g=g.NextSibling;}return[d,e];};R.prototype.forwardNextBlock=function(c){return this.$val.forwardNextBlock(c);};R.ptr.prototype.listItemEnter=function(c){var c,d;d=this;if(AE.nil===c.FirstChild){return false;}if("\xE2\x80\xB8"===c.FirstChild.Data&&"br"===c.LastChild.Data){return true;}return false;};R.prototype.listItemEnter=function(c){return this.$val.listItemEnter(c);};R.ptr.prototype.isTightList=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=0;g=0;h=0;i=0;j=f;k=g;l=h;m=i;n=e.FirstChild;while(true){if(!(!(AE.nil===n))){break;}o=n.DataAtom;if((o===(42754))||(o===(79618))){j=j+(1)>>0;}else if(o===(92931)){k=k+(1)>>0;}else if(o===(100106)){l=l+(1)>>0;}else if(o===(3073)){m=m+(1)>>0;}n=n.NextSibling;}if(1>0)||1<(m+l>>0)||1<(m+j>>0)){return"false";}e=e.NextSibling;}return"true";};R.prototype.isTightList=function(c){return this.$val.isTightList(c);};R.ptr.prototype.genASTByVditorDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-block"===g){$s=8;continue;}if("toc-block"===g){$s=9;continue;}$s=10;continue;case 6:h=c.FirstChild;case 11:if(!(!(h===AE.nil))){$s=12;continue;}$r=e.genASTByVditorDOM(h,d);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=11;continue;case 12:$s=10;continue;case 7:i=J.DomText(c);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(j))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(k);$s=10;continue;case 8:l=c.FirstChild;if(!((79618===l.DataAtom))){$s=15;continue;}$s=16;continue;case 15:$s=17;case 17:return;case 16:m=l.FirstChild;case 18:if(!(!(AE.nil===m))){$s=19;continue;}if("\n"===m.Data){m=m.NextSibling;$s=18;continue;}n=new A.Buffer.ptr(AD.nil,0,0);o=F.Render(n,m);$s=20;case 20:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if($interfaceIsEqual($ifaceNil,p)){$s=21;continue;}$s=22;continue;case 21:q=e.vditorDOM2Md("
      "+n.String()+"
    ");$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=J.DomAttrValue(m,"data-marker");r=$substring(r,3);t=C.Split(r,"\n");r="";u=t;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if(0=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))-48<<24>>>24)>>0));al=J.DomAttrValue(c,"data-marker");am=J.DomAttrValue(c,"data-id");if(!(""===am)){c.LastChild.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," {"+am+"}","",AS.nil));}ac.HeadingSetext="="===al||"-"===al;if(!ac.HeadingSetext){an=new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");an.Tokens=(new AD($stringToBytes(C.Repeat("#",ac.HeadingLevel))));ac.AppendChild(an);}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 30:ac.Type=4;d.Context.Tip.AppendChild(ac);$s=56;continue;case 31:ao=J.DomText(c);$s=69;case 69:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=C.TrimSpace(ao);$s=70;case 70:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(""===aq||">"===aq||"\xE2\x80\xB8"===aq){$s=71;continue;}$s=72;continue;case 71:$s=73;case 73:return;case 72:ac.Type=5;ac.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(">"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 32:if(AE.nil===c.FirstChild){$s=74;continue;}$s=75;continue;case 74:$s=76;case 76:return;case 75:ac.Type=7;ac.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ac.ListData.Typ=1;}ar=J.DomAttrValue(c,"data-tight");if("true"===ar||""===ar){ac.ListData.Tight=true;}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 33:ac.Type=8;as=J.DomAttrValue(c,"data-marker");at=0;if(""===as){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){au=J.DomAttrValue(c.Parent.FirstChild,"data-marker");av=J.DomAttrValue(c.Parent,"start");if(""===av){as="1";}else{as=av;}if(!(""===au)){as=as+($substring(au,(au.length-1>>0)));}else{as=as+(".");}}else{as=J.DomAttrValue(c.Parent,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===as||"-"===as||"+"===as){as="1.";}if(!("1."===as)&&!("1)"===as)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){as="1.";}if(!("1."===as)&&!("1)"===as)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){as="1.";}}else{if(!("*"===as)&&!("-"===as)&&!("+"===as)){as="*";}at=as.charCodeAt(0);}}else{as=J.DomAttrValue(c,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}ac.ListData=new D.ListData.ptr(0,false,at,0,0,0,0,false,(new AD($stringToBytes(as))),0);if(0===at){aw=B.Atoi(($encodeRune(as.charCodeAt(0))));ac.ListData.Num=aw[0];ac.ListData.Delimiter=as.charCodeAt((as.length-1>>0));}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 34:if(378116===c.FirstChild.DataAtom){ax=J.DomAttrValue(c.Parent,"data-marker");if(""===ax){ax="```";}ay=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){ay=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}az=J.DomAttrValue(c.Parent,"data-type");ba=az;if(ba===("math-block")){ac.Type=300;ac.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("yaml-front-matter")){ac.Type=425;ac.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("html-block")){ac.Type=9;ac.Tokens=ay;d.Context.Tip.AppendChild(ac);}else{ac.Type=11;ac.IsFencedCodeBlock=true;ac.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bb=J.DomAttrValue(c.FirstChild,"class");if(C.Contains(bb,"language-")){bc=$substring(bb,9);ac.LastChild.CodeBlockInfo=(new AD($stringToBytes(bc)));}bd=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ac.AppendChild(bd);ac.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}}$s=77;case 77:return;case 35:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}be=J.DomText(c);$s=81;case 81:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=C.TrimSpace(be);$s=82;case 82:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=e.isEmptyText(c);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}if(bh){$s=83;continue;}$s=84;continue;case 83:$s=86;case 86:return;case 84:if("\xE2\x80\xB8"===bg){$s=87;continue;}$s=88;continue;case 87:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=89;case 89:return;case 88:ac.Type=17;bi=J.DomAttrValue(c,"data-marker");if(""===bi){bi="*";}if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=90;continue;}$s=91;continue;case 90:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=92;case 92:return;case 91:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 36:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bj=J.DomText(c);$s=96;case 96:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=C.TrimSpace(bj);$s=97;case 97:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=bk;bm=e.isEmptyText(c);$s=100;case 100:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=98;continue;}$s=99;continue;case 98:$s=101;case 101:return;case 99:if("\xE2\x80\xB8"===bl){$s=102;continue;}$s=103;continue;case 102:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=104;case 104:return;case 103:ac.Type=22;bn=J.DomAttrValue(c,"data-marker");if(""===bn){bn="**";}if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=105;continue;}$s=106;continue;case 105:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=107;case 107:return;case 106:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 37:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=108;continue;}$s=109;continue;case 108:$s=110;case 110:return;case 109:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=111;case 111:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=112;case 112:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=115;case 115:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=113;continue;}$s=114;continue;case 113:$s=116;case 116:return;case 114:if("\xE2\x80\xB8"===bq){$s=117;continue;}$s=118;continue;case 117:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=119;case 119:return;case 118:ac.Type=101;bs=J.DomAttrValue(c,"data-marker");if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=120;continue;}$s=121;continue;case 120:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=122;case 122:return;case 121:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 38:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=123;continue;}$s=124;continue;case 123:$s=125;case 125:return;case 124:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bt=J.DomText(c);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=C.TrimSpace(bt);$s=127;case 127:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;bw=e.isEmptyText(c);$s=130;case 130:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}if(bw){$s=128;continue;}$s=129;continue;case 128:$s=131;case 131:return;case 129:if("\xE2\x80\xB8"===bv){$s=132;continue;}$s=133;continue;case 132:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=134;case 134:return;case 133:ac.Type=450;bx=J.DomAttrValue(c,"data-marker");if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=135;continue;}$s=136;continue;case 135:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=137;case 137:return;case 136:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 39:if(AE.nil===c.FirstChild){$s=138;continue;}$s=139;continue;case 138:$s=140;case 140:return;case 139:by=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===by){$s=141;continue;}$s=142;continue;case 141:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=143;case 143:return;case 142:if(""===by){$s=144;continue;}$s=145;continue;case 144:$s=146;case 146:return;case 145:bz=(new AD($stringToBytes(by)));if("html-inline"===g){$s=147;continue;}$s=148;continue;case 147:ac.Type=10;ac.Tokens=bz;d.Context.Tip.AppendChild(ac);$s=149;case 149:return;case 148:ca=J.DomAttrValue(c,"data-marker");if(""===ca){ca="`";}if(A.HasPrefix(bz,(new AD($stringToBytes("`"))))){bz=$appendSlice((new AD($stringToBytes(" "))),bz);bz=$append(bz,32);}ac.Type=27;ac.CodeMarkerLen=ca.length;ac.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bz,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=150;case 150:return;case 40:if(!(AE.nil===c.Parent)){$s=151;continue;}$s=152;continue;case 151:if(e.parentIs(c,new AT([37378,87554]))){$s=153;continue;}$s=154;continue;case 153:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=155;continue;}$s=156;continue;case 155:$s=157;case 157:return;case 156:if(AE.nil===c.NextSibling){$s=158;continue;}$s=159;continue;case 158:$s=160;case 160:return;case 159:ac.Type=10;ac.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ac);$s=161;case 161:return;case 154:if(3073===c.Parent.DataAtom){$s=162;continue;}$s=163;continue;case 162:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=164;continue;}$s=165;continue;case 164:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=166;case 166:return;case 165:if(!(AE.nil===c.Parent.Parent)&&!(AE.nil===c.Parent.Parent.NextSibling)&&(45570===c.Parent.Parent.NextSibling.DataAtom)){$s=167;continue;}$s=168;continue;case 167:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=169;case 169:return;case 168:case 163:case 152:ac.Type=31;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 41:if(c.FirstChild===AE.nil||(c.FirstChild.Type===1)){$s=170;continue;}$s=171;continue;case 170:cb=J.DomText(c);$s=172;case 172:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if(""===cc||"\xE2\x80\x8B"===cc){$s=173;continue;}$s=174;continue;case 173:$s=175;case 175:return;case 174:case 171:ac.Type=33;ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 42:cd=aa;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=176;continue;}$s=177;continue;case 176:ac.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(cf);$s=178;continue;case 177:if("link-ref"===g){$s=179;continue;}$s=180;continue;case 179:ac.Type=16;cg="!["+J.DomAttrValue(c,"alt")+"]["+J.DomAttrValue(c,"data-link-label")+"]";ac.Tokens=(new AD($stringToBytes(cg)));d.Context.Tip.AppendChild(ac);$s=181;case 181:return;case 180:ac.Type=34;ac.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===ce)){ac.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ce))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ch=J.DomAttrValue(c,"src");if(!(""===e.RenderOptions.LinkBase)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ch))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomAttrValue(c,"title");if(!(""===ci)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ci))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 178:d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 43:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=185;continue;}$s=186;continue;case 185:cj=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=187;case 187:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cj;$s=26;continue;case 186:ac.Type=100;ac.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ac);if(!(AF.nil===ac.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.ListData)){ac.Parent.Parent.ListData.Typ=3;}if(!(AF.nil===ac.Parent.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.Parent.ListData)){ac.Parent.Parent.Parent.ListData.Typ=3;}$s=56;continue;case 44:ac.Type=106;ck=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=188;continue;}$s=189;continue;case 188:$s=190;case 190:return;case 189:cl=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===cl))){break;}cm=J.DomAttrValue(cl,"align");cn=cm;if(cn===("left")){ck=$append(ck,1);}else if(cn===("center")){ck=$append(ck,2);}else if(cn===("right")){ck=$append(ck,3);}else{ck=$append(ck,0);}cl=cl.NextSibling;}ac.TableAligns=ck;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 45:ac.Type=107;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 46:$s=56;continue;case 47:ac.Type=108;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 48:ac.Type=109;co=J.DomAttrValue(c,"align");cp=0;cq=co;if(cq===("left")){cp=1;}else if(cq===("center")){cp=2;}else if(cq===("right")){cp=3;}else{cp=0;}ac.TableCellAlign=cp;ac.Tokens=AD.nil;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 49:if(AE.nil===c.FirstChild){$s=26;continue;}if("footnotes-ref"===g){ac.Type=16;ac.Tokens=(new AD($stringToBytes("["+J.DomAttrValue(c,"data-footnotes-label")+"]")));if(C.Contains(c.FirstChild.Data,"\xE2\x80\xB8")){ac.Tokens=$appendSlice(ac.Tokens,E.CaretTokens);}d.Context.Tip.AppendChild(ac);}$s=191;case 191:return;case 50:if(AE.nil===c.FirstChild){$s=26;continue;}if(C.Contains(aa,"vditor-comment")){$s=192;continue;}$s=193;continue;case 192:ac.Type=10;cr=new A.Buffer.ptr(AD.nil,0,0);cs=cr.WriteString("=ct.$length)?($throwRuntimeError("index out of range"),undefined):ct.$array[ct.$offset+cu]);cx=cr.WriteString(cw.Key);$s=197;case 197:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}cx;if(!(""===cw.Val)){$s=198;continue;}$s=199;continue;case 198:cy=cr.WriteString("=\"");$s=200;case 200:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=cr.WriteString(cw.Val);$s=201;case 201:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;da=cr.WriteString("\"");$s=202;case 202:if($c){$c=false;da=da.$blk();}if(da&&da.$blk!==undefined){break s;}da;case 199:if(cv<(c.Attr.$length-1>>0)){$s=203;continue;}$s=204;continue;case 203:db=cr.WriteString(" ");$s=205;case 205:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}db;case 204:cu++;$s=195;continue;case 196:dc=cr.WriteString(">");$s=206;case 206:if($c){$c=false;dc=dc.$blk();}if(dc&&dc.$blk!==undefined){break s;}dc;ac.Tokens=cr.Bytes();d.Context.Tip.AppendChild(ac);$s=26;continue;case 193:if("link-ref"===g){$s=207;continue;}$s=208;continue;case 207:ac.Type=16;dd="["+c.FirstChild.Data+"]["+J.DomAttrValue(c,"data-link-label")+"]";if(!(AE.nil===c.NextSibling)&&"2"===J.DomAttrValue(c.NextSibling,"data-render")){dd="!"+dd;}ac.Tokens=(new AD($stringToBytes(dd)));d.Context.Tip.AppendChild(ac);$s=209;case 209:return;case 208:de=AD.nil;if("\xE2\x80\x8B"===c.FirstChild.Data&&""===J.DomAttrValue(c,"style")&&!(AE.nil===c.FirstChild.NextSibling)){de=(new AD($stringToBytes(c.FirstChild.NextSibling.FirstChild.Data)));}else if(378116===c.FirstChild.DataAtom){de=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));if("\xE2\x80\x8B"===($bytesToString(de))){$s=26;continue;}}if("math-inline"===g){$s=210;continue;}if("html-inline"===g){$s=211;continue;}if("code-inline"===g){$s=212;continue;}if("html-entity"===g){$s=213;continue;}$s=214;continue;case 210:ac.Type=304;ac.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,de,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=215;case 215:return;case 211:ac.Type=10;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=216;case 216:return;case 212:ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=217;case 217:return;case 213:ac.Type=16;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=218;case 218:return;case 214:$s=26;continue;$s=56;continue;case 51:ac.Type=16;df=J.DomText(c);$s=219;case 219:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}ac.Tokens=(new AD($stringToBytes(df)));d.Context.Tip.AppendChild(ac);$s=220;case 220:return;case 52:ac.Type=9;dg=J.DomHTML(c);$s=221;case 221:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}ac.Tokens=dg;ac.Tokens=(dh=A.SplitAfter(ac.Tokens,(new AD($stringToBytes("")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ac);$s=56;continue;case 53:ac.Type=10;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ac.Tokens=di;d.Context.Tip.AppendChild(ac);$s=223;case 223:return;case 54:$s=224;case 224:return;case 55:ac.Type=9;dj=J.DomHTML(c);$s=225;case 225:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}ac.Tokens=dj;d.Context.Tip.AppendChild(ac);$s=226;case 226:return;case 56:case 26:dk=c.FirstChild;case 227:if(!(!(dk===AE.nil))){$s=228;continue;}$r=e.genASTByVditorDOM(dk,d);$s=229;case 229:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dk=dk.NextSibling;$s=227;continue;case 228:dl=c.DataAtom;if(dl===(40708)){if(C.Contains(aa,"vditor-comment")){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",10,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(28162))||(dl===(1537))){dm=J.DomAttrValue(c,"data-marker");if(""===dm){dm="*";}if("_"===dm){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(449798))||(dl===(257))){dn=J.DomAttrValue(c,"data-marker");if(""===dn){dn="**";}if("__"===dn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(1)){ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dp=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dp))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dq=J.DomAttrValue(c,"title");if(!(""===dq)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dq))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dl===(283139))||(dl===(9473))||(dl===(53766))){dr=J.DomAttrValue(c,"data-marker");if("~"===dr){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(46596)){ds=J.DomAttrValue(c,"data-marker");if("="===ds){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorDOM=function(c,d){return this.$val.genASTByVditorDOM(c,d);};R.ptr.prototype.hasAttr=function(c,d){var c,d,e,f,g,h;e=this;f=c.Attr;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key===d){return true;}g++;}return false;};R.prototype.hasAttr=function(c,d){return this.$val.hasAttr(c,d);};R.ptr.prototype.domChild=function(c,d){var c,d,e,f,g;e=this;if(AE.nil===c){return AE.nil;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild=function(c,d){return this.$val.domChild(c,d);};R.ptr.prototype.domChild0=function(c,d){var c,d,e,f,g;e=this;if(c.DataAtom===d){return c;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild0=function(c,d){return this.$val.domChild0(c,d);};R.ptr.prototype.setDOMAttrValue=function(c,d,e){var c,d,e,f,g,h,i;f=this;if(AE.nil===c){return;}g=c.Attr;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i.Key===d){i.Val=e;return;}h++;}c.Attr=$append(c.Attr,new F.Attribute.ptr("",d,e));};R.prototype.setDOMAttrValue=function(c,d,e){return this.$val.setDOMAttrValue(c,d,e);};R.ptr.prototype.parentIs=function(c,d){var c,d,e,f,g,h,i;e=this;f=c.Parent;while(true){if(!(!(AE.nil===f))){break;}g=d;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i===f.DataAtom){return true;}h++;}f=f.Parent;}return false;};R.prototype.parentIs=function(c,d){return this.$val.parentIs(c,d);};R.ptr.prototype.isCaret=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=false;e=false;f=this;g=J.DomText(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=C.TrimSpace(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(1>j.length&&1>0;while(true){if(!(f>=0)){break;}if((32===c.charCodeAt(f))||(160===c.charCodeAt(f))){d=d+(" ");}else{return d;}f=f-(1)>>0;}return d;};R.prototype.suffixSpaces=function(c){return this.$val.suffixSpaces(c);};R.ptr.prototype.SpinVditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=C.TrimSpace(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if("\xE2\x80\xB8"===f){$s=1;continue;}$s=2;continue;case 1:d=""+($bytesToString(I.NewlineSV));$s=-1;return d;case 2:g=H.Parse("",(new AD($stringToBytes(c))),e.ParseOptions);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewVditorSVRenderer(h,e.RenderOptions);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=C.ReplaceAll(($bytesToString(l)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.SpinVditorSVDOM=function(c){return this.$val.SpinVditorSVDOM(c);};R.ptr.prototype.HTML2VditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorSVRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorSVDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2VditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.Md2VditorSVDOM=function(c){return this.$val.Md2VditorSVDOM(c);};R.ptr.prototype.SpinVditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorIRDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorIRRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorIRDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorIRDOM=function(c){return this.$val.SpinVditorIRDOM(c);};R.ptr.prototype.HTML2VditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorIRRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorIRDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorIRDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorIRDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorIRDOM2Md=function(c){return this.$val.vditorIRDOM2Md(c);};R.ptr.prototype.genASTByVditorIRDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-def"===g){$s=8;continue;}if("footnotes-block"===g){$s=9;continue;}if("toc-block"===g){$s=10;continue;}$s=11;continue;case 6:if(("code-block"===g||"math-block"===g)&&!C.Contains(J.DomAttrValue(c.FirstChild,"data-type"),"-block-open-marker")){$s=13;continue;}$s=14;continue;case 13:h=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=J.DomText(c.FirstChild);$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(i))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(j);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$s=16;case 16:return;case 14:k=c.FirstChild;case 17:if(!(!(k===AE.nil))){$s=18;continue;}$r=e.genASTByVditorIRDOM(k,d);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=17;continue;case 18:$s=12;continue;case 7:l=J.DomText(c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(m))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(n);$s=12;continue;case 8:o=c.FirstChild;case 21:if(!(!(o===AE.nil))){$s=22;continue;}$r=e.genASTByVditorIRDOM(o,d);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o.NextSibling;$s=21;continue;case 22:$s=12;continue;case 9:p=c.FirstChild;case 24:if(!(!(AE.nil===p))){$s=25;continue;}q=new A.Buffer.ptr(AD.nil,0,0);r=F.Render(q,p);$s=26;case 26:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if($interfaceIsEqual($ifaceNil,s)){$s=27;continue;}$s=28;continue;case 27:t=e.vditorIRDOM2Md(q.String());$s=29;case 29:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=C.Split(u,"\n");u="";w=v;x=0;while(true){if(!(x=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]);if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 38:if(AE.nil===c.FirstChild){$s=94;continue;}$s=95;continue;case 94:$s=96;case 96:return;case 95:ag.Type=7;ag.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ag.ListData.Typ=1;}ba=J.DomAttrValue(c,"data-tight");if("true"===ba||""===ba){ag.ListData.Tight=true;}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 39:bb=c.FirstChild;if(!(AE.nil===bb)&&(3073===bb.DataAtom)&&!(AE.nil===bb.NextSibling)&&(3073===bb.NextSibling.DataAtom)){d.Context.Tip.ListData.Tight=false;}ag.Type=8;bc=J.DomAttrValue(c,"data-marker");bd=0;if(""===bc){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){be=J.DomAttrValue(c.Parent.FirstChild,"data-marker");bf=J.DomAttrValue(c.Parent,"start");if(""===bf){bc="1";}else{bc=bf;}if(!(""===be)){bc=bc+($substring(be,(be.length-1>>0)));}else{bc=bc+(".");}}else{bc=J.DomAttrValue(c.Parent,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===bc||"-"===bc||"+"===bc){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){bc="1.";}}else{if(!("*"===bc)&&!("-"===bc)&&!("+"===bc)){bc="*";}bd=bc.charCodeAt(0);}}else{bc=J.DomAttrValue(c,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}ag.ListData=new D.ListData.ptr(0,false,bd,0,0,0,0,false,(new AD($stringToBytes(bc))),0);if(0===bd){bg=B.Atoi($substring(bc,0,(bc.length-1>>0)));ag.ListData.Num=bg[0];ag.ListData.Delimiter=bc.charCodeAt((bc.length-1>>0));}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 40:if(378116===c.FirstChild.DataAtom){bh=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){bh=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}bi=J.DomAttrValue(c.Parent,"data-type");bj=bi;if(bj===("math-block")){ag.Type=302;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("html-block")){ag.Type=9;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("yaml-front-matter")){ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bh,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);}else{ag.Type=15;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}}$s=97;case 97:return;case 41:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=98;continue;}$s=99;continue;case 98:$s=100;case 100:return;case 99:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bk=J.DomText(c);$s=101;case 101:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=C.TrimSpace(bk);$s=102;case 102:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;bn=e.isEmptyText(c);$s=105;case 105:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(bn){$s=103;continue;}$s=104;continue;case 103:$s=106;case 106:return;case 104:if("\xE2\x80\xB8"===bm){$s=107;continue;}$s=108;continue;case 107:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=109;case 109:return;case 108:ag.Type=17;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 42:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=110;continue;}$s=111;continue;case 110:$s=112;case 112:return;case 111:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=114;case 114:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=117;case 117:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=115;continue;}$s=116;continue;case 115:$s=118;case 118:return;case 116:if("\xE2\x80\xB8"===bq){$s=119;continue;}$s=120;continue;case 119:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=121;case 121:return;case 120:ag.Type=22;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 43:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=122;continue;}$s=123;continue;case 122:$s=124;case 124:return;case 123:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bs=J.DomText(c);$s=125;case 125:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=C.TrimSpace(bs);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=e.isEmptyText(c);$s=129;case 129:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=127;continue;}$s=128;continue;case 127:$s=130;case 130:return;case 128:if("\xE2\x80\xB8"===bu){$s=131;continue;}$s=132;continue;case 131:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=133;case 133:return;case 132:ag.Type=101;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 44:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=134;continue;}$s=135;continue;case 134:$s=136;case 136:return;case 135:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bw=J.DomText(c);$s=137;case 137:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=C.TrimSpace(bw);$s=138;case 138:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=bx;bz=e.isEmptyText(c);$s=141;case 141:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(bz){$s=139;continue;}$s=140;continue;case 139:$s=142;case 142:return;case 140:if("\xE2\x80\xB8"===by){$s=143;continue;}$s=144;continue;case 143:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=145;case 145:return;case 144:ag.Type=450;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 45:if(AE.nil===c.FirstChild){$s=146;continue;}$s=147;continue;case 146:$s=148;case 148:return;case 147:ca=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===ca){$s=149;continue;}$s=150;continue;case 149:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=151;case 151:return;case 150:if(""===ca){$s=152;continue;}$s=153;continue;case 152:$s=154;case 154:return;case 153:cb=(new AD($stringToBytes(ca)));cc=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cb,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ag.Type=27;ag.AppendChild(cc);d.Context.Tip.AppendChild(ag);$s=155;case 155:return;case 46:if(!(AE.nil===c.Parent)){$s=156;continue;}$s=157;continue;case 156:if(e.parentIs(c,new AT([37378,87554]))){$s=158;continue;}$s=159;continue;case 158:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=160;continue;}$s=161;continue;case 160:$s=162;case 162:return;case 161:if(AE.nil===c.NextSibling){$s=163;continue;}$s=164;continue;case 163:$s=165;case 165:return;case 164:ag.Type=10;ag.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ag);$s=166;case 166:return;case 159:if(3073===c.Parent.DataAtom){$s=167;continue;}$s=168;continue;case 167:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=169;continue;}$s=170;continue;case 169:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=171;case 171:return;case 170:case 168:case 157:ag.Type=31;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 47:ag.Type=33;ag.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 48:cd=ae;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=172;continue;}$s=173;continue;case 172:ag.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(cf);d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=174;continue;case 173:$s=175;case 175:return;case 174:$s=62;continue;case 49:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=176;continue;}$s=177;continue;case 176:$s=178;case 178:return;case 177:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=179;continue;}$s=180;continue;case 179:cg=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=181;case 181:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cg;$s=32;continue;case 180:ag.Type=100;ag.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ag);if(!(AF.nil===ag.Parent.Parent.Parent)&&!(AL.nil===ag.Parent.Parent.Parent.ListData)){ag.Parent.Parent.Parent.ListData.Typ=3;}$s=62;continue;case 50:ag.Type=106;ch=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:ci=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ci))){break;}cj=J.DomAttrValue(ci,"align");ck=cj;if(ck===("left")){ch=$append(ch,1);}else if(ck===("center")){ch=$append(ch,2);}else if(ck===("right")){ch=$append(ch,3);}else{ch=$append(ch,0);}ci=ci.NextSibling;}ag.TableAligns=ch;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 51:ag.Type=107;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 52:$s=62;continue;case 53:ag.Type=108;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 54:ag.Type=109;cl=J.DomAttrValue(c,"align");cm=0;cn=cl;if(cn===("left")){cm=1;}else if(cn===("center")){cm=2;}else if(cn===("right")){cm=3;}else{cm=0;}ag.TableCellAlign=cm;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 55:if(AE.nil===c.FirstChild){$s=32;continue;}if("footnotes-ref"===g){$s=185;continue;}$s=186;continue;case 185:ag.Type=16;co=J.DomText(c);$s=187;case 187:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(co)));d.Context.Tip.AppendChild(ag);case 186:$s=188;case 188:return;case 56:cp=g;if(cp===("inline-node")||cp===("em")||cp===("strong")||cp===("s")||cp===("a")||cp===("link-ref")||cp===("img")||cp===("code")||cp===("heading-id")||cp===("html-inline")||cp===("inline-math")||cp===("html-entity")){$s=190;continue;}if(cp===("math-block-close-marker")){$s=191;continue;}if(cp===("math-block-open-marker")){$s=192;continue;}if(cp===("yaml-front-matter-close-marker")){$s=193;continue;}if(cp===("yaml-front-matter-open-marker")){$s=194;continue;}if(cp===("code-block-open-marker")){$s=195;continue;}if(cp===("code-block-info")){$s=196;continue;}if(cp===("code-block-close-marker")){$s=197;continue;}if(cp===("heading-marker")){$s=198;continue;}$s=199;continue;case 190:ag.Type=16;cq=J.DomText(c);$s=200;case 200:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(cq)));d.Context.Tip.AppendChild(ag);$s=201;case 201:return;case 191:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=202;case 202:return;case 192:ag.Type=300;ag.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=203;case 203:return;case 193:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=204;case 204:return;case 194:ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=205;case 205:return;case 195:if(290819===c.NextSibling.DataAtom){c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,40708,"","",new AS([new F.Attribute.ptr("","data-type","code-block-info")])));}cr=J.DomText(c);$s=206;case 206:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=(new AD($stringToBytes(cr)));ct=A.LastIndex(cs,(new AD($stringToBytes("`"))))+1>>0;if(0>0;if(0")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ag);$s=62;continue;case 59:$s=62;continue;case 60:$s=221;case 221:return;case 61:ag.Type=9;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ag.Tokens=di;d.Context.Tip.AppendChild(ag);$s=223;case 223:return;case 62:case 32:dj=c.FirstChild;case 224:if(!(!(dj===AE.nil))){$s=225;continue;}$r=e.genASTByVditorIRDOM(dj,d);$s=226;case 226:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj=dj.NextSibling;$s=224;continue;case 225:dk=c.DataAtom;if(dk===(1)){ag.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dl=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkPrefix,"");}ag.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dm=J.DomAttrValue(c,"title");if(!(""===dm)){ag.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ag.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dk===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorIRDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorIRDOM=function(c,d){return this.$val.genASTByVditorIRDOM(c,d);};R.ptr.prototype.SpinBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.blockDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g=C.ReplaceAll(g,"\xE2\x80\x8B","");h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=i.Root.FirstChild;k=i.Root.LastChild.Previous;if((1===j.Type)&&""===j.ID&&!(AF.nil===k)&&!(j===k.Previous)&&(455===k.Type)){l=k.Previous.ID;m="";j.ID=l;k.Previous.ID=m;n=k.Previous.KramdownIAL;o=AN.nil;j.KramdownIAL=n;k.Previous.KramdownIAL=o;j.InsertAfter(k);}if((455===j.Type)&&!(AF.nil===j.Next)&&(455===j.Next.Type)&&J.IsDocIAL(j.Next.Tokens)){p=H.Tokens2IAL(j.Tokens);q=H.IAL2Map(p);s=new D.Node.ptr((r=$mapIndex(q,$String.keyFor("id")),r!==undefined?r.v:""),"","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,p,false,"","","","","","","","","","","",0,"");j.InsertBefore(s);}$r=H.NestedInlines2FlattedSpansHybrid(i,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=e.Tree2BlockDOM(i,e.RenderOptions);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.SpinBlockDOM=function(c){return this.$val.SpinBlockDOM(c);};R.ptr.prototype.HTML2BlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewProtyleRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2BlockDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);o.Unlink();n++;}p=d[0];q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);j.Root.AppendChild(r);q++;}s=I.NewProtyleRenderer(j,f.RenderOptions);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t.BaseRenderer.Render();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;e=J.BytesToStr(v);w=C.TrimSpace(e);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}e=w;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2InlineBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};R.prototype.BlockDOM2InlineBlockDOM=function(c){return this.$val.BlockDOM2InlineBlockDOM(c);};R.ptr.prototype.Md2BlockDOM=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;h=f.Md2BlockDOMTree(c,d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Md2BlockDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.Md2BlockDOM=function(c,d){return this.$val.Md2BlockDOM(c,d);};R.ptr.prototype.Md2BlockDOMTree=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=AB.nil;g=this;h=H.Parse("",(new AD($stringToBytes(c))),g.ParseOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;$r=H.NestedInlines2FlattedSpansHybrid(f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d){$s=3;continue;}$s=4;continue;case 3:$r=D.Walk(f.Root,(function(i,j){var i,j,k;if(!j){return 2;}if(i.IsEmptyBlockIAL()){k=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=H.Tokens2IAL(i.Tokens);k.ID=k.IALAttr("id");i.InsertBefore(k);return 2;}return 2;}));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:i=I.NewProtyleRenderer(f,g.RenderOptions);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=g.Md2BlockDOMRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l");$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Tree2BlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Tree2BlockDOM=function(c,d){return this.$val.Tree2BlockDOM(c,d);};R.ptr.prototype.RenderNodeBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;f=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");g=new H.Tree.ptr(f,new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h=I.NewProtyleRenderer(g,e.RenderOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d[0]=h;i=e.Md2BlockDOMRendererFuncs;j=0;k=i?i.keys():undefined;l=i?i.size:0;while(true){if(!(j\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"`","`");c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=0;g=0;h=f;i=g;j=c;k=0;while(true){if(!(k>0;}else{break;}k+=l[1];}n=c.length-1>>0;while(true){if(!(n>=0)){break;}if(32===c.charCodeAt(n)){i=i+(1)>>0;}else{break;}n=n-(1)>>0;}o=C.TrimSpace(c);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}c=o;c=C.Repeat(" ",h)+c+C.Repeat(" ",i);c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");p=d[0].parseHTML(c);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(AE.nil===q){$s=-1;return e;}$r=d[0].adjustVditorDOM(q);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,d[0].ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tip=e.Root;r=q.FirstChild;case 4:if(!(!(AE.nil===r))){$s=5;continue;}$r=d[0].genASTByBlockDOM(r,e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=r.NextSibling;$s=4;continue;case 5:$r=D.Walk(e.Root,(function(d){return function $b(s,t){var{s,t,u,$s,$r,$c}=$restore(this,{s,t});$s=$s||0;s:while(true){switch($s){case 0:if(t){$s=1;continue;}$s=2;continue;case 1:u=s.Type;if((u===(10))||(u===(9))||(u===(29))||(u===(15))||(u===(306))||(u===(302))||(u===(27))||(u===(304))){$s=4;continue;}if((u===(22))||(u===(17))||(u===(101))||(u===(520))){$s=5;continue;}if(u===(530)){$s=6;continue;}if(u===(16)){$s=7;continue;}$s=8;continue;case 4:if(!(AF.nil===s.Next)&&(27===s.Next.Type)&&(s.CodeMarkerLen===s.Next.CodeMarkerLen)&&!(AF.nil===s.FirstChild)&&!(AF.nil===s.FirstChild.Next)){s.FirstChild.Next.Tokens=$appendSlice(s.FirstChild.Next.Tokens,s.Next.FirstChild.Next.Tokens);s.Next.Unlink();}$s=8;continue;case 5:d[0].MergeSameSpan(s);$s=8;continue;case 6:$r=d[0].MergeSameTextMark(s);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:s.Tokens=A.ReplaceAll(s.Tokens,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 8:case 3:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,s,t,u,$s};return $f;};})(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2Tree,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.BlockDOM2Tree=function(c){return this.$val.BlockDOM2Tree(c);};R.ptr.prototype.MergeSameTextMark=function(c){var{aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(AF.nil===c.Previous){$s=-1;return;}e=false;f=false;if(456===c.Previous.Type){$s=1;continue;}$s=2;continue;case 1:if(AF.nil===c.Next||!((456===c.Next.Type))||AF.nil===c.Previous.Previous){$s=-1;return;}if(!A.Equal(c.Previous.Tokens,c.Next.Tokens)){$s=-1;return;}g=c.IsSameTextMarkType(c.Previous.Previous);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:e=true;$s=3;continue;case 2:if(!((16===c.Previous.Type)&&!C.Contains(c.Previous.TokensStr()," ")&&!C.Contains(c.Previous.TokensStr(),"\n"))){i=false;$s=11;continue s;}j=C.TrimSpace(C.ReplaceAll(c.Previous.TokensStr(),"\xE2\x80\x8B",""));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(!(i&&!(AF.nil===c.Previous.Previous))){h=false;$s=10;continue s;}k=c.IsSameTextMarkType(c.Previous.Previous);$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;case 10:if(h){$s=7;continue;}$s=8;continue;case 7:f=true;$s=9;continue;case 8:if(!((c.Type===c.Previous.Type))){l=true;$s=16;continue s;}m=c.IsSameTextMarkType(c.Previous);$s=17;case 17:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=!m;case 16:if(l){$s=14;continue;}$s=15;continue;case 14:$s=-1;return;case 15:case 9:case 3:n=C.Split(c.TextMarkType," ");o=$makeMap($String.keyFor,[]);p=n;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);s=r;(o||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(s),{k:s,v:true});q++;}t=AJ.nil;u=o;v=0;w=u?u.keys():undefined;x=u?u.size:0;while(true){if(!(v=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);$mapDelete(o,$String.keyFor(ae));ad++;}if(0<(o?o.size:0)){$s=-1;return;}if(e||f){c.TextMarkTextContent=c.Previous.Previous.TextMarkTextContent+c.TextMarkTextContent;c.Previous.Previous.Unlink();}else{c.TextMarkTextContent=c.Previous.TextMarkTextContent+c.TextMarkTextContent;}c.Previous.Unlink();$r=c.SortTextMarkDataTypes();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.MergeSameTextMark,$c:true,$r,aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.MergeSameTextMark=function(c){return this.$val.MergeSameTextMark(c);};R.ptr.prototype.MergeSameSpan=function(c){var c,d,e,f,g,h,i;d=this;if(AF.nil===c.Next||!((c.Type===c.Next.Type))){return;}if(!(AF.nil===c.Next.Next)&&(456===c.Next.Next.Type)){return;}e=AK.nil;c.Next.FirstChild.Unlink();c.Next.LastChild.Unlink();f=c.Next.FirstChild;while(true){if(!(!(AF.nil===f))){break;}e=$append(e,f);f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);c.LastChild.InsertBefore(i);h++;}c.Next.Unlink();};R.prototype.MergeSameSpan=function(c){return this.$val.MergeSameSpan(c);};R.ptr.prototype.CancelSuperBlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((475===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}i=$append(i,j);j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);g.Root.AppendChild(m);l++;}h.Unlink();n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelSuperBlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.CancelSuperBlock=function(c){return this.$val.CancelSuperBlock(c);};R.ptr.prototype.CancelList=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((7===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}n=m.FirstChild;while(true){if(!(!(AF.nil===n))){break;}if(!((100===n.Type))){k=$append(k,n);}n=n.Next;}l=$append(l,m);m=m.Next;}o=k;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);g.Root.AppendChild(q);p++;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}h.Unlink();u=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}d=u;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelList,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};R.prototype.CancelList=function(c){return this.$val.CancelList(c);};R.ptr.prototype.CancelBlockquote=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((5===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}if(!((6===m.Type))){k=$append(k,m);}l=$append(l,m);m=m.Next;}n=k;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);g.Root.AppendChild(p);o++;}h.Unlink();q=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}d=q;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelBlockquote,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};R.prototype.CancelBlockquote=function(c){return this.$val.CancelBlockquote(c);};R.ptr.prototype.Blocks2Ps=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h;while(true){if(!(!(AF.nil===m))){break;}n=m.Type;if(n===(2)){m.Type=1;}else if(n===(5)){o=m.FirstChild;while(true){if(!(!(AF.nil===o))){break;}if(6===o.Type){l=$append(l,o);o=o.Next;continue;}k=$append(k,o);o=o.Next;}l=$append(l,m);}else if(n===(7)){p=m.FirstChild;while(true){if(!(!(AF.nil===p))){break;}q=p.FirstChild;while(true){if(!(!(AF.nil===q))){break;}if(!((100===q.Type))){k=$append(k,q);}q=q.Next;}l=$append(l,p);p=p.Next;}l=$append(l,m);}m=m.Next;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}u=k;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);g.Root.AppendChild(w);v++;}x=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}d=x;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Blocks2Ps,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};R.prototype.Blocks2Ps=function(c){return this.$val.Blocks2Ps(c);};R.ptr.prototype.Blocks2Hs=function(c,d){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;g=f.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.Root.FirstChild;j=i;while(true){if(!(!(AF.nil===j))){break;}if((1===j.Type)||(2===j.Type)){j.Type=2;k=B.Atoi(d);j.HeadingLevel=k[0];}j=j.Next;}l=f.Tree2BlockDOM(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}e=l;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Blocks2Hs,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.Blocks2Hs=function(c,d){return this.$val.Blocks2Hs(c,d);};R.ptr.prototype.OL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.OL2TL=function(c){return this.$val.OL2TL(c);};R.ptr.prototype.UL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.UL2TL=function(c){return this.$val.UL2TL(c);};R.ptr.prototype.TL2OL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=AK.nil;k=h.FirstChild;while(true){if(!(!(AF.nil===k))){break;}if(455===k.Type){k=k.Next;continue;}j=$append(j,k.FirstChild);k.ListData.Typ=1;k.ListData.Num=i;i=i+(1)>>0;k=k.Next;}l=j;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n.Unlink();m++;}o=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}d=o;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.TL2OL=function(c){return this.$val.TL2OL(c);};R.ptr.prototype.TL2UL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}i=$append(i,j.FirstChild);j.ListData.Typ=0;j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);m.Unlink();l++;}n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2UL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.TL2UL=function(c){return this.$val.TL2UL(c);};R.ptr.prototype.OL2UL=function(c){var{c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=h.FirstChild;while(true){if(!(!(AF.nil===i))){break;}if(455===i.Type){i=i.Next;continue;}i.ListData.Typ=0;i=i.Next;}j=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2UL,$c:true,$r,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.OL2UL=function(c){return this.$val.OL2UL(c);};R.ptr.prototype.UL2OL=function(c){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}j.ListData.Typ=1;j.ListData.Num=i;i=i+(1)>>0;j=j.Next;}k=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.UL2OL=function(c){return this.$val.UL2OL(c);};R.ptr.prototype.blockDOM2Md=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=I.NewOptions();h.AutoSpace=false;h.FixTermTypo=false;h.KramdownBlockIAL=true;h.KramdownSpanIAL=true;h.KeepParagraphBeginningSpace=true;h.ProtyleWYSIWYG=true;h.SuperBlock=true;i=I.NewFormatRenderer(g,h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=($bytesToString(l));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.blockDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.blockDOM2Md=function(c){return this.$val.blockDOM2Md(c);};R.ptr.prototype.genASTByBlockDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"class");if("protyle-attr"===f||C.Contains(f,"__copy")||C.Contains(f,"protyle-linenumber__rows")){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if("1"===J.DomAttrValue(c,"spin")){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:if(C.Contains(f,"protyle-action")){$s=7;continue;}$s=8;continue;case 7:if(11===d.Context.Tip.Type){$s=9;continue;}if(8===d.Context.Tip.Type){$s=10;continue;}$s=11;continue;case 9:g=c.FirstChild;h="";if(!(AE.nil===g.FirstChild)){h=g.FirstChild.Data;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(h),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i=J.DomText(c.NextSibling);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasSuffix(j,"\n\n\xE2\x80\xB8")){j=C.TrimSuffix(j,"\n\n\xE2\x80\xB8");j=j+("\n\xE2\x80\xB8\n");}k=C.Split(j,"\n");l=new A.Buffer.ptr(AD.nil,0,0);m=k;n=0;case 13:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(C.Contains(p,"```")){p=C.ReplaceAll(p,"```","\xE2\x80\x8D```");}else{p=C.ReplaceAll(p,"\xE2\x80\x8D","");}q=l.WriteString(p);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o<(k.$length-1>>0)){$s=16;continue;}$s=17;continue;case 16:r=l.WriteByte(10);$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 17:n++;$s=13;continue;case 14:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,l.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=11;continue;case 10:if(3===d.Context.Tip.ListData.Typ){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,C.Contains(J.DomAttrValue(c.Parent,"class"),"protyle-task--done"),AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 11:$s=19;case 19:return;case 8:if("true"===J.DomAttrValue(c,"contenteditable")){$s=20;continue;}$s=21;continue;case 20:$r=e.genASTContenteditable(c,d);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;case 23:return;case 21:s=D.Str2NodeType(J.DomAttrValue(c,"data-type"));$s=24;case 24:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=J.DomAttrValue(c,"data-node-id");v=new D.Node.ptr(u,"","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");if(!(""===v.ID)&&!e.parentIs(c,new AT([365829]))){$s=25;continue;}$s=26;continue;case 25:v.KramdownIAL=new AN([new AJ(["id",v.ID])]);w=e.setBlockIAL(c,v);$s=27;case 27:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=new D.Node.ptr("","","","",455,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,x,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");$deferred.push([$methodVal(d.Context,"TipAppendChild"),[y]]);case 26:z=t;if(z===(465)){$s=29;continue;}if(z===(106)){$s=30;continue;}if(z===(1)){$s=31;continue;}if(z===(2)){$s=32;continue;}if(z===(5)){$s=33;continue;}if(z===(7)){$s=34;continue;}if(z===(8)){$s=35;continue;}if(z===(495)){$s=36;continue;}if(z===(475)){$s=37;continue;}if(z===(300)){$s=38;continue;}if(z===(11)){$s=39;continue;}if(z===(9)){$s=40;continue;}if(z===(425)){$s=41;continue;}if(z===(4)){$s=42;continue;}if(z===(500)){$s=43;continue;}if(z===(535)){$s=44;continue;}if(z===(510)){$s=45;continue;}if(z===(505)){$s=46;continue;}if(z===(550)){$s=47;continue;}if(z===(560)){$s=48;continue;}$s=49;continue;case 29:v.Type=465;v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));aa=J.DomAttrValue(c,"data-content");aa=C.ReplaceAll(aa,"\n","_esc_newline_");v.AppendChild(new D.Node.ptr("","","","",468,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aa),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=51;case 51:return;case 30:v.Type=106;ab=AM.nil;if(AE.nil===c.FirstChild){$s=52;continue;}$s=53;continue;case 52:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=54;case 54:return;case 53:if(e.parentIs(c,new AT([365829]))){$s=55;continue;}$s=56;continue;case 55:ac=J.DomText(c);$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=C.TrimSpace(ad);$s=58;case 58:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(ae)));d.Context.Tip.AppendChild(v);$s=59;case 59:return;case 56:af=c.FirstChild;ag=e.domChild(af,365829);if(AE.nil===ag){$s=60;continue;}$s=61;continue;case 60:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=62;case 62:return;case 61:ah=e.domChild(ag,208901);if(AE.nil===ah||AE.nil===ah.FirstChild||AE.nil===ah.FirstChild.FirstChild){$s=63;continue;}$s=64;continue;case 63:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=65;case 65:return;case 64:ai=ah.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}aj=J.DomAttrValue(ai,"align");ak=aj;if(ak===("left")){ab=$append(ab,1);}else if(ak===("center")){ab=$append(ab,2);}else if(ak===("right")){ab=$append(ab,3);}else{ab=$append(ab,0);}ai=ai.NextSibling;}v.TableAligns=ab;v.Tokens=AD.nil;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$r=e.genASTContenteditable(ag,d);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=67;case 67:return;case 31:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 32:al=J.DomText(c);$s=68;case 68:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(e.parentIs(c,new AT([365829]))){$s=69;continue;}$s=70;continue;case 69:an=C.TrimSpace(am);$s=71;case 71:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(an)));while(true){if(!(A.HasPrefix(v.Tokens,(new AD($stringToBytes("#")))))){break;}v.Tokens=A.TrimPrefix(v.Tokens,(new AD($stringToBytes("#"))));}d.Context.Tip.AppendChild(v);$s=72;case 72:return;case 70:ao=$substring(J.DomAttrValue(c,"data-subtype"),1);ap=C.TrimPrefix(am," ");if(C.HasPrefix(ap,"#")){$s=73;continue;}$s=74;continue;case 73:aq=C.Index(ap," \xE2\x80\xB8");if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 34:v.Type=7;ax=J.DomAttrValue(c,"data-marker");v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);ay=J.DomAttrValue(c,"data-subtype");if("u"===ay){v.ListData.Typ=0;}else if("o"===ay){v.ListData.Typ=1;}else if("t"===ay){v.ListData.Typ=3;}v.ListData.Marker=(new AD($stringToBytes(ax)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 35:az=J.DomAttrValue(c,"data-marker");if(!((7===d.Context.Tip.Type))){ba=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ba.Type=7;ba.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bb=J.DomAttrValue(c,"data-subtype");if("u"===bb){ba.ListData.Typ=0;ba.ListData.BulletChar=42;}else if("o"===bb){ba.ListData.Typ=1;bc=B.Atoi($substring(az,0,(az.length-1>>0)));ba.ListData.Num=bc[0];ba.ListData.Delimiter=46;}else if("t"===bb){ba.ListData.Typ=3;ba.ListData.BulletChar=42;}d.Context.Tip.AppendChild(ba);d.Context.Tip=ba;}v.Type=8;v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bd=J.DomAttrValue(c,"data-subtype");if("u"===bd){v.ListData.Typ=0;v.ListData.BulletChar=42;}else if("o"===bd){v.ListData.Typ=1;be=B.Atoi($substring(az,0,(az.length-1>>0)));v.ListData.Num=be[0];v.ListData.Delimiter=46;}else if("t"===bd){v.ListData.Typ=3;v.ListData.BulletChar=42;}v.ListData.Marker=(new AD($stringToBytes(az)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 36:v.Type=495;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 37:v.Type=475;d.Context.Tip.AppendChild(v);v.AppendChild(new D.Node.ptr("","","","",476,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=J.DomAttrValue(c,"data-sb-layout");v.AppendChild(new D.Node.ptr("","","","",477,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bf))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 38:v.Type=300;v.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"data-content");bg=F.UnescapeHTMLStr(bg);v.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=80;case 80:return;case 39:v.Type=11;v.IsFencedCodeBlock=true;v.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(c,"data-subtype");if(!(""===bh)){$s=81;continue;}$s=82;continue;case 81:v.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(bh),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(c,"data-content");v.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=83;case 83:return;case 82:d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 40:v.Type=9;bj=J.DomAttrValue(c.FirstChild.NextSibling.FirstChild,"data-content");bj=F.UnescapeHTMLStr(bj);v.Tokens=J.StrToBytes(bj);d.Context.Tip.AppendChild(v);$s=84;case 84:return;case 41:v.Type=425;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 42:v.Type=4;d.Context.Tip.AppendChild(v);$s=85;case 85:return;case 43:v.Type=500;c=e.domChild(c.FirstChild,195590);bk=J.DomHTML(c);$s=86;case 86:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}v.Tokens=bk;d.Context.Tip.AppendChild(v);$s=87;case 87:return;case 44:v.Type=535;c=e.domChild(c.FirstChild,195590);bl=J.DomHTML(c);$s=88;case 88:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}v.Tokens=bl;d.Context.Tip.AppendChild(v);$s=89;case 89:return;case 45:v.Type=510;c=e.domChild(c.FirstChild,192773);bm=J.DomHTML(c);$s=90;case 90:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}v.Tokens=bm;d.Context.Tip.AppendChild(v);$s=91;case 91:return;case 46:v.Type=505;c=e.domChild(c.FirstChild,70917);bn=J.DomHTML(c);$s=92;case 92:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}v.Tokens=bn;d.Context.Tip.AppendChild(v);$s=93;case 93:return;case 47:v.Type=550;v.AttributeViewID=J.DomAttrValue(c,"data-av-id");if(""===v.AttributeViewID){$s=94;continue;}$s=95;continue;case 94:bo=D.NewNodeID();$s=96;case 96:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}v.AttributeViewID=bo;case 95:v.AttributeViewType=J.DomAttrValue(c,"data-av-type");d.Context.Tip.AppendChild(v);$s=97;case 97:return;case 48:v.Type=560;v.CustomBlockInfo=J.DomAttrValue(c,"data-info");v.Tokens=(new AD($stringToBytes(F.UnescapeHTMLStr(J.DomAttrValue(c,"data-content")))));d.Context.Tip.AppendChild(v);$s=98;case 98:return;case 49:bp=c.DataAtom;if(bp===(0)){$s=100;continue;}if((bp===(2817))||(bp===(378116))||(bp===(449798))||(bp===(28162))||(bp===(47363))||(bp===(46596))||(bp===(9473))||(bp===(421123))||(bp===(461571))||(bp===(40708))){$s=101;continue;}$s=102;continue;case 100:v.Type=16;v.Tokens=J.StrToBytes(c.Data);if(0===d.Context.Tip.Type){bq=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bq);d.Context.Tip=bq;}$r=e.genASTContenteditable(c,d);$s=103;case 103:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=104;case 104:return;case 101:if(0===d.Context.Tip.Type){br=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(br);d.Context.Tip=br;}$r=e.genASTContenteditable(c,d);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=106;case 106:return;case 102:case 99:if((8===d.Context.Tip.Type)&&(281349===c.DataAtom)){$s=107;continue;}$s=108;continue;case 107:v.Type=100;v.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(v);$s=109;case 109:return;case 108:v.Type=10;bs=J.DomHTML(c);$s=110;case 110:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}v.Tokens=bs;d.Context.Tip.AppendChild(v);$s=111;case 111:return;case 50:case 28:bt=c.FirstChild;case 112:if(!(!(bt===AE.nil))){$s=113;continue;}$r=e.genASTByBlockDOM(bt,d);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bt=bt.NextSibling;$s=112;continue;case 113:bu=t;if(bu===(475)){v.AppendChild(new D.Node.ptr("","","","",478,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(bu===(11)){v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByBlockDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByBlockDOM=function(c,d){return this.$val.genASTByBlockDOM(c,d);};R.ptr.prototype.genASTContenteditable=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;if((11===d.Context.Tip.Type)||(560===d.Context.Tip.Type)){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(109320===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:f=J.DomAttrValue(c,"class");if("svg"===f){$s=7;continue;}$s=8;continue;case 7:$s=9;case 9:return;case 8:g=c.Data;h=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(g),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=c.DataAtom;if(i===(0)){$s=11;continue;}if(i===(208901)){$s=12;continue;}if(i===(9989)){$s=13;continue;}if(i===(52226)){$s=14;continue;}if((i===(87554))||(i===(37378))){$s=15;continue;}if(i===(378116)){$s=16;continue;}if(i===(40708)){$s=17;continue;}if(i===(421123)){$s=18;continue;}if(i===(461571)){$s=19;continue;}if(i===(2817)){$s=20;continue;}if(i===(47363)){$s=21;continue;}if(i===(514)){$s=22;continue;}if((i===(28162))||(i===(1537))){$s=23;continue;}if((i===(449798))||(i===(257))){$s=24;continue;}if((i===(283139))||(i===(9473))||(i===(53766))){$s=25;continue;}if(i===(46596)){$s=26;continue;}if(i===(198403)){$s=27;continue;}$s=28;continue;case 11:if(""===g){$s=29;continue;}$s=30;continue;case 29:$s=31;case 31:return;case 30:if(33===d.Context.Tip.Type){h.Type=40;}else if(2===d.Context.Tip.Type){g=C.ReplaceAll(g,"\n","");h.Tokens=J.StrToBytes(g);}else if(22===d.Context.Tip.Type){g=C.ReplaceAll(g,"**","");g=C.ReplaceAll(g,"*\xE2\x80\xB8","\xE2\x80\xB8");g=C.ReplaceAll(g,"\xE2\x80\xB8*","\xE2\x80\xB8");h.Tokens=J.StrToBytes(g);}if(e.parentIs(c,new AT([365829]))){$s=32;continue;}$s=33;continue;case 32:g=C.TrimSuffix(g,"\n");if((AE.nil===c.NextSibling&&!C.Contains(g,"\n"))||(!(AE.nil===c.NextSibling)&&(514===c.NextSibling.DataAtom)&&C.HasPrefix(g,"\n"))){g=C.ReplaceAll(g,"\n","");}if(C.Contains(g,"\\")){$s=34;continue;}$s=35;continue;case 34:j=C.ReplaceAll(g,"\\","");k=C.TrimSpace(j);$s=36;case 36:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;if(""===j){g=C.ReplaceAll(g,"\\","\\\\");}case 35:h.Tokens=J.StrToBytes(C.ReplaceAll(g,"\n","
    "));l=L.SplitWithoutBackslashEscape(h.Tokens,124);h.Tokens=AD.nil;m=l;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);h.Tokens=$appendSlice(h.Tokens,p);if(o<(l.$length-1>>0)){h.Tokens=$appendSlice(h.Tokens,(new AD($stringToBytes("\\|"))));}n++;}case 33:if((27===d.Context.Tip.Type)||(304===d.Context.Tip.Type)){$s=37;continue;}$s=38;continue;case 37:if(!(AF.nil===d.Context.Tip.Previous)&&(d.Context.Tip.Type===d.Context.Tip.Previous.Type)){d.Context.Tip.FirstChild.Next.Tokens=J.StrToBytes(g);}else{if(!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();}d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));}$s=39;case 39:return;case 38:if(530===d.Context.Tip.Type){$s=40;continue;}$s=41;continue;case 40:if("code"===d.Context.Tip.TokensStr()){$s=42;continue;}$s=43;continue;case 42:if(!(AF.nil===d.Context.Tip.FirstChild)&&!(AF.nil===d.Context.Tip.FirstChild.Next)&&!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){$s=44;continue;}$s=45;continue;case 44:g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));$s=46;case 46:return;case 45:case 43:case 41:if(515===d.Context.Tip.Type){h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\\\"))),(new AD($stringToBytes("\\"))));h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));if(A.Equal(h.Tokens,E.CaretTokens)){q=d.Context.Tip.Parent;d.Context.Tip.Unlink();d.Context.Tip=q;}}d.Context.Tip.AppendChild(h);$s=28;continue;case 12:if(e.parentIs(c.Parent.Parent,new AT([365829]))){$s=47;continue;}$s=48;continue;case 47:r=J.DomText(c.Parent.Parent);$s=49;case 49:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;s=C.ReplaceAll(s,"\xE2\x80\xB8","");t=C.TrimSpace(s);$s=50;case 50:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(t)));d.Context.Tip.AppendChild(h);$s=51;case 51:return;case 48:h.Type=107;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 13:$s=28;continue;case 14:h.Type=108;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 15:h.Type=109;u=J.DomAttrValue(c,"align");v=0;w=u;if(w===("left")){v=1;}else if(w===("center")){v=2;}else if(w===("right")){v=3;}else{v=0;}h.TableCellAlign=v;d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(h,c);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 16:y=e.isCaret(c);$s=53;case 53:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];if(z){$s=54;continue;}$s=55;continue;case 54:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=56;case 56:return;case 55:if(aa){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:if(e.ParseOptions.TextMark){$s=60;continue;}$s=61;continue;case 60:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;case 63:return;case 61:h.Type=27;h.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 17:ab=J.DomAttrValue(c,"data-type");if(""===ab){ab="text";}if(C.Contains(ab,"span")){$s=64;continue;}$s=65;continue;case 64:h.Type=16;ac=J.DomText(c);$s=66;case 66:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=J.StrToBytes(ac);$s=67;case 67:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h.Tokens=ad;d.Context.Tip.AppendChild(h);$s=68;case 68:return;case 65:if(C.Contains(ab,"img")){ab="img";}if(!(AF.nil===d.Context.Tip)&&!(AF.nil===d.Context.Tip.LastChild)){$s=69;continue;}$s=70;continue;case 69:ae=d.Context.Tip.LastChild.Text();$s=71;case 71:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=C.HasSuffix(af,"\\\xE2\x80\xB8");if(ag){af=C.TrimSuffix(af,"\xE2\x80\xB8");}if(C.HasSuffix(af,"\\")){ah=0;ai=af.length-1>>0;while(true){if(!(ai>=0)){break;}if(92===af.charCodeAt(ai)){ah=ah+(1)>>0;}else{break;}ai=ai-(1)>>0;}if(!((0===(aj=ah%2,aj===aj?aj:$throwRuntimeError("integer divide by zero"))))){if(ag){d.Context.Tip.LastChild.Tokens=A.TrimSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));}else{d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));}}}case 70:if("tag"===ab){$s=72;continue;}if("inline-math"===ab){$s=73;continue;}if("inline-memo"===ab){$s=74;continue;}if("a"===ab){$s=75;continue;}if("block-ref"===ab){$s=76;continue;}if("file-annotation-ref"===ab){$s=77;continue;}if("img"===ab){$s=78;continue;}if("backslash"===ab){$s=79;continue;}$s=80;continue;case 72:al=e.isCaret(c);$s=82;case 82:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];if(am){$s=83;continue;}$s=84;continue;case 83:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=85;case 85:return;case 84:if(an){$s=86;continue;}$s=87;continue;case 86:$s=88;case 88:return;case 87:if(e.ParseOptions.TextMark){$s=89;continue;}$s=90;continue;case 89:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=91;case 91:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=92;case 92:return;case 90:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");h.Type=460;h.AppendChild(new D.Node.ptr("","","","",461,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));Q(c,h);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 73:ao=J.GetTextMarkInlineMathData(c);if(""===ao){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.ParseOptions.TextMark){$s=96;continue;}$s=97;continue;case 96:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=99;case 99:return;case 97:h.Type=304;h.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ao),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=100;case 100:return;case 74:aq=e.isCaret(c);$s=101;case 101:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(ar){$s=102;continue;}$s=103;continue;case 102:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=104;case 104:return;case 103:if(as){$s=105;continue;}$s=106;continue;case 105:$s=107;case 107:return;case 106:if(e.ParseOptions.TextMark){$s=108;continue;}$s=109;continue;case 108:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=111;case 111:return;case 109:h.Type=16;at=J.DomText(c);$s=112;case 112:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=J.StrToBytes(at);$s=113;case 113:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}h.Tokens=au;d.Context.Tip.AppendChild(h);$s=114;case 114:return;case 75:if(AE.nil===c.FirstChild){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(33===d.Context.Tip.Type){$s=10;continue;}if(e.ParseOptions.TextMark){$s=118;continue;}$s=119;continue;case 118:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=120;case 120:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=121;case 121:return;case 119:h.Type=33;h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 76:av=J.DomText(c);$s=122;case 122:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;ax=C.TrimSpace(aw);$s=123;case 123:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;if(""===aw){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(aw==="\xE2\x80\xB8"){$s=127;continue;}$s=128;continue;case 127:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=129;case 129:return;case 128:if(e.ParseOptions.TextMark){$s=130;continue;}$s=131;continue;case 130:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=132;case 132:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=133;case 133:return;case 131:h.Type=430;h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ay=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",431,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ay),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",432,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));az=AF.nil;ba=J.DomAttrValue(c,"data-subtype");if("s"===ba||""===ba){az=new D.Node.ptr("","","","",433,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}else{az=new D.Node.ptr("","","","",434,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}if(e.parentIs(c,new AT([365829]))){az.Tokens=A.ReplaceAll(az.Tokens,(new AD($stringToBytes("|"))),(new AD($stringToBytes("|"))));}h.AppendChild(az);h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=134;case 134:return;case 77:bb=J.DomText(c);$s=135;case 135:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=C.TrimSpace(bc);$s=136;case 136:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;if(""===bc){$s=137;continue;}$s=138;continue;case 137:$s=139;case 139:return;case 138:if(bc==="\xE2\x80\xB8"){$s=140;continue;}$s=141;continue;case 140:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=142;case 142:return;case 141:if(e.ParseOptions.TextMark){$s=143;continue;}$s=144;continue;case 143:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=146;case 146:return;case 144:h.Type=540;h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));be=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",541,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",542,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=new D.Node.ptr("","","","",543,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bc),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(bf);h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=147;case 147:return;case 78:bg=e.domChild(c,198403);if(AE.nil===bg){$s=148;continue;}$s=149;continue;case 148:$s=150;case 150:return;case 149:h.Type=34;h.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(bg,"alt");h.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bh),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(bg,"data-src");h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bj=J.DomAttrValue(bg,"title");if(!(""===bj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(d.Context.Tip.LastChild,bg);$s=151;case 151:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=152;case 152:return;case 79:h.Type=400;if(AE.nil===c.FirstChild){$s=153;continue;}$s=154;continue;case 153:$s=155;case 155:return;case 154:if(c.FirstChild===c.LastChild&&!(AE.nil===c.FirstChild.FirstChild)){$s=156;continue;}$s=157;continue;case 156:$s=158;case 158:return;case 157:if(AE.nil===c.FirstChild.NextSibling&&(1===c.FirstChild.Type)){$s=159;continue;}$s=160;continue;case 159:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(c.FirstChild.Data),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=161;case 161:return;case 160:if(!(AE.nil===c.FirstChild.NextSibling)){bk=c.FirstChild.NextSibling.Data;bk=C.ReplaceAll(bk,"\\\\","\\");h.AppendChild(new D.Node.ptr("","","","",401,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bk),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);$s=162;case 162:return;case 80:bm=e.isCaret(c);$s=163;case 163:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;bn=bl[0];bo=bl[1];if(bn){$s=164;continue;}$s=165;continue;case 164:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=166;case 166:return;case 165:if(bo){$s=167;continue;}$s=168;continue;case 167:$s=169;case 169:return;case 168:bp=e.removeTempMark(ab);$s=170;case 170:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}ab=bp;bq=C.ReplaceAll(ab,"backslash","");br=C.TrimSpace(bq);$s=171;case 171:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bq=br;d.Context.Tip.AppendChild(h);if(""===bq){$s=172;continue;}$s=173;continue;case 172:h.Type=16;bs=J.DomText(c);$s=174;case 174:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(bs)));$s=175;case 175:return;case 173:e.setDOMAttrValue(c,"data-type",ab);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=177;case 177:return;case 81:$s=28;continue;case 18:bu=e.isCaret(c);$s=178;case 178:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;bv=bt[0];bw=bt[1];if(bv){$s=179;continue;}$s=180;continue;case 179:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=181;case 181:return;case 180:if(bw){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(e.ParseOptions.TextMark){$s=185;continue;}$s=186;continue;case 185:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=187;case 187:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=188;case 188:return;case 186:h.Type=490;h.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 19:by=e.isCaret(c);$s=189;case 189:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(bz){$s=190;continue;}$s=191;continue;case 190:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=192;case 192:return;case 191:if(ca){$s=193;continue;}$s=194;continue;case 193:$s=195;case 195:return;case 194:if(e.ParseOptions.TextMark){$s=196;continue;}$s=197;continue;case 196:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=198;case 198:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=199;case 199:return;case 197:h.Type=485;h.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 20:cc=e.isCaret(c);$s=200;case 200:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(cd){$s=201;continue;}$s=202;continue;case 201:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=203;case 203:return;case 202:if(ce){$s=204;continue;}$s=205;continue;case 204:$s=206;case 206:return;case 205:if(e.ParseOptions.TextMark){$s=207;continue;}$s=208;continue;case 207:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=209;case 209:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=210;case 210:return;case 208:h.Type=520;h.AppendChild(new D.Node.ptr("","","","",521,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 21:cg=e.isCaret(c);$s=211;case 211:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;ch=cf[0];ci=cf[1];if(ch){$s=212;continue;}$s=213;continue;case 212:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=214;case 214:return;case 213:if(ci){$s=215;continue;}$s=216;continue;case 215:$s=217;case 217:return;case 216:if(e.ParseOptions.TextMark){$s=218;continue;}$s=219;continue;case 218:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=220;case 220:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=221;case 221:return;case 219:h.Type=515;h.AppendChild(new D.Node.ptr("","","","",516,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 22:if(2===d.Context.Tip.Type){$s=222;continue;}$s=223;continue;case 222:$s=224;case 224:return;case 223:if(!(AE.nil===c.PrevSibling)&&"\n"===c.PrevSibling.Data&&e.parentIs(c,new AT([365829]))){$s=225;continue;}$s=226;continue;case 225:$s=227;case 227:return;case 226:h.Type=525;d.Context.Tip.AppendChild(h);$s=228;case 228:return;case 23:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=229;continue;}$s=230;continue;case 229:$s=231;case 231:return;case 230:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ck=e.isCaret(c);$s=232;case 232:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cj=ck;cl=cj[0];cm=cj[1];if(cl){$s=233;continue;}$s=234;continue;case 233:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=235;case 235:return;case 234:if(cm){$s=236;continue;}$s=237;continue;case 236:$s=238;case 238:return;case 237:if(e.ParseOptions.TextMark){$s=239;continue;}$s=240;continue;case 239:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=241;case 241:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=242;case 242:return;case 240:h.Type=17;cn=J.DomAttrValue(c,"data-marker");if(""===cn){cn="*";}if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=243;continue;}$s=244;continue;case 243:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=245;case 245:return;case 244:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");Q(c,h);e.removeInnerMarker(c,"__");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 24:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=246;continue;}$s=247;continue;case 246:$s=248;case 248:return;case 247:if(!(AF.nil===d.Context.Tip.LastChild)){if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))),(new AD($stringToBytes("\\\\\xE2\x80\xB8"))));}if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));}}if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cp=e.isCaret(c);$s=249;case 249:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}co=cp;cq=co[0];cr=co[1];if(cq){$s=250;continue;}$s=251;continue;case 250:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=252;case 252:return;case 251:if(cr){$s=253;continue;}$s=254;continue;case 253:$s=255;case 255:return;case 254:if(e.ParseOptions.TextMark){$s=256;continue;}$s=257;continue;case 256:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=258;case 258:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=259;case 259:return;case 257:h.Type=22;cs=J.DomAttrValue(c,"data-marker");if(""===cs){cs="**";}if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=260;continue;}$s=261;continue;case 260:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=262;case 262:return;case 261:Q(c,h);e.removeInnerMarker(c,"**");$r=H.SetSpanIAL(h,c);$s=263;case 263:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 25:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=264;continue;}$s=265;continue;case 264:$s=266;case 266:return;case 265:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cu=e.isCaret(c);$s=267;case 267:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}ct=cu;cv=ct[0];cw=ct[1];if(cv){$s=268;continue;}$s=269;continue;case 268:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=270;case 270:return;case 269:if(cw){$s=271;continue;}$s=272;continue;case 271:$s=273;case 273:return;case 272:if(e.ParseOptions.TextMark){$s=274;continue;}$s=275;continue;case 274:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=276;case 276:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=277;case 277:return;case 275:h.Type=101;cx=J.DomAttrValue(c,"data-marker");if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=278;continue;}$s=279;continue;case 278:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=280;case 280:return;case 279:Q(c,h);e.removeInnerMarker(c,"~~");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 26:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=281;continue;}$s=282;continue;case 281:$s=283;case 283:return;case 282:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cz=e.isCaret(c);$s=284;case 284:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(da){$s=285;continue;}$s=286;continue;case 285:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=287;case 287:return;case 286:if(db){$s=288;continue;}$s=289;continue;case 288:$s=290;case 290:return;case 289:if(e.ParseOptions.TextMark){$s=291;continue;}$s=292;continue;case 291:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=293;case 293:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=294;case 294:return;case 292:h.Type=450;dc=J.DomAttrValue(c,"data-marker");if("="===dc){h.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=295;continue;}$s=296;continue;case 295:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===dc){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=297;case 297:return;case 296:Q(c,h);e.removeInnerMarker(c,"==");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 27:if("emoji"===f){$s=298;continue;}$s=299;continue;case 298:dd=J.DomAttrValue(c,"alt");h.Type=200;de=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(dd,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");de.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+dd+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(de);d.Context.Tip.AppendChild(h);$s=300;case 300:return;case 299:case 28:case 10:df=c.FirstChild;case 301:if(!(!(df===AE.nil))){$s=302;continue;}$r=e.genASTContenteditable(df,d);$s=303;case 303:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}df=df.NextSibling;$s=301;continue;case 302:if(e.ParseOptions.TextMark){$s=304;continue;}$s=305;continue;case 304:$s=306;case 306:return;case 305:dg=c.DataAtom;if(dg===(378116)){h.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(40708)){dh=J.DomAttrValue(c,"data-type");if("tag"===dh){h.AppendChild(new D.Node.ptr("","","","",462,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if("a"===dh){h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));di=J.DomAttrValue(c,"data-href");if(!(""===e.RenderOptions.LinkBase)){di=C.ReplaceAll(di,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){di=C.ReplaceAll(di,e.RenderOptions.LinkPrefix,"");}h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(di))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dj=J.DomAttrValue(c,"data-title");if(!(""===dj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dj))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(421123)){h.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(461571)){h.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(2817)){h.AppendChild(new D.Node.ptr("","","","",522,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(47363)){h.AppendChild(new D.Node.ptr("","","","",517,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dg===(28162))||(dg===(1537))){dk=J.DomAttrValue(c,"data-marker");if(""===dk){dk="*";}if("_"===dk){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(449798))||(dg===(257))){dl=J.DomAttrValue(c,"data-marker");if(""===dl){dl="**";}if("__"===dl){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(283139))||(dg===(9473))||(dg===(53766))){dm=J.DomAttrValue(c,"data-marker");if("~"===dm){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(46596)){dn=J.DomAttrValue(c,"data-marker");if("="===dn){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTContenteditable,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTContenteditable=function(c,d){return this.$val.genASTContenteditable(c,d);};R.ptr.prototype.setBlockIAL=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;d.SetIALAttr("id",d.ID);g=J.DomAttrValue(c,"refcount");if(!(""===g)){d.SetIALAttr("refcount",g);e=$appendSlice(e,(new AD($stringToBytes(" refcount=\""+g+"\""))));}h=J.DomAttrValue(c,"bookmark");if(!(""===h)){h=F.UnescapeHTMLStr(h);d.SetIALAttr("bookmark",h);e=$appendSlice(e,(new AD($stringToBytes(" bookmark=\""+h+"\""))));}i=J.DomAttrValue(c,"style");if(!(""===i)){$s=1;continue;}$s=2;continue;case 1:i=F.UnescapeHTMLStr(i);j=H.StyleValue(i);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;d.SetIALAttr("style",i);e=$appendSlice(e,(new AD($stringToBytes(" style=\""+i+"\""))));case 2:k=J.DomAttrValue(c,"name");if(!(""===k)){k=F.UnescapeHTMLStr(k);d.SetIALAttr("name",k);e=$appendSlice(e,(new AD($stringToBytes(" name=\""+k+"\""))));}l=J.DomAttrValue(c,"memo");if(!(""===l)){l=F.UnescapeHTMLStr(l);d.SetIALAttr("memo",l);e=$appendSlice(e,(new AD($stringToBytes(" memo=\""+l+"\""))));}m=J.DomAttrValue(c,"alias");if(!(""===m)){m=F.UnescapeHTMLStr(m);d.SetIALAttr("alias",m);e=$appendSlice(e,(new AD($stringToBytes(" alias=\""+m+"\""))));}n=J.DomAttrValue(c,"fold");if(!(""===n)){d.SetIALAttr("fold",n);e=$appendSlice(e,(new AD($stringToBytes(" fold=\""+n+"\""))));}o=J.DomAttrValue(c,"heading-fold");if(!(""===o)){d.SetIALAttr("heading-fold",o);e=$appendSlice(e,(new AD($stringToBytes(" heading-fold=\""+o+"\""))));}p=J.DomAttrValue(c,"parent-fold");if(!(""===p)){d.SetIALAttr("parent-fold",p);e=$appendSlice(e,(new AD($stringToBytes(" parent-fold=\""+p+"\""))));}q=J.DomAttrValue(c,"updated");if(!(""===q)){d.SetIALAttr("updated",q);e=$appendSlice(e,(new AD($stringToBytes(" updated=\""+q+"\""))));}r=J.DomAttrValue(c,"linewrap");if(!(""===r)){d.SetIALAttr("linewrap",r);e=$appendSlice(e,(new AD($stringToBytes(" linewrap=\""+r+"\""))));}s=J.DomAttrValue(c,"ligatures");if(!(""===s)){d.SetIALAttr("ligatures",s);e=$appendSlice(e,(new AD($stringToBytes(" ligatures=\""+s+"\""))));}t=J.DomAttrValue(c,"linenumber");if(!(""===t)){d.SetIALAttr("linenumber",t);e=$appendSlice(e,(new AD($stringToBytes(" linenumber=\""+t+"\""))));}u=J.DomAttrValue(c,"breadcrumb");if(!(""===u)){d.SetIALAttr("breadcrumb",u);e=$appendSlice(e,(new AD($stringToBytes(" breadcrumb=\""+u+"\""))));}v=J.DomAttrValue(c,"data-export-md");if(!(""===v)){v=F.UnescapeHTMLStr(v);d.SetIALAttr("data-export-md",v);e=$appendSlice(e,(new AD($stringToBytes(" data-export-md=\""+v+"\""))));}w=J.DomAttrValue(c,"data-export-html");if(!(""===w)){w=F.UnescapeHTMLStr(w);d.SetIALAttr("data-export-html",w);e=$appendSlice(e,(new AD($stringToBytes(" data-export-html=\""+w+"\""))));}x=J.DomCustomAttrs(c);if(!(false===x)){y=x;z=0;aa=y?y.keys():undefined;ab=y?y.size:0;while(true){if(!(z=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=1;continue;case 2:d.HTML2MdRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2HTMLRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d=d;$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,c,d,e,f,g,$s};return $f;};$pkg.New=S;R.ptr.prototype.Markdown=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;g=H.Parse(c,d,f.ParseOptions);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewHtmlRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f.Md2HTMLRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));f=J.BytesToStr(H.EmojiSitePlaceholder);g=d.ParseOptions.AliasEmoji;h=0;i=g?g.keys():undefined;j=g?g.size:0;while(true){if(!(h=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]),$String),(($assertType((1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]),$Float64)>>0))];};})(j,k)});t++;$s=3;continue;case 4:g++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SetJSRenderers,$c:true,$r,aa,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.SetJSRenderers=function(c){return this.$val.SetJSRenderers(c);};R.ptr.prototype.HTML2Markdown=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=$ifaceNil;f=this;g=f.HTML2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=AD.nil;j=I.NewFormatRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=f.HTML2MdRendererFuncs;m=0;n=l?l.keys():undefined;o=l?l.size:0;while(true){if(!(mL.TrimWhitespace(i.Tokens).$length){$s=60;continue;}$s=61;continue;case 60:$s=62;case 62:return;case 61:if(!(AE.nil===c.Parent)&&(40708===c.Parent.DataAtom)&&(!(""===J.DomAttrValue(c.Parent,"class")))){m=d.Context.Tip.LastChild;if(AF.nil===m||((16===m.Type)&&!A.HasSuffix(m.Tokens,(new AD($stringToBytes("**")))))){i.Tokens=(new AD($stringToBytes("**"+J.BytesToStr(i.Tokens)+"**")));}}d.Context.Tip.AppendChild(i);$s=53;continue;case 21:if(e.parentIs(c,new AT([365829]))||(33===d.Context.Tip.Type)){$s=19;continue;}if(92931===c.DataAtom){$s=63;continue;}$s=64;continue;case 63:n=J.DomAttrValue(c,"class");o="";if(C.Contains(n,"-source-")){o=$substring(n,(C.LastIndex(n,"-source-")+8>>0));}else if(C.Contains(n,"-text-html-basic")){o="html";}if(!(""===o)){$s=65;continue;}$s=66;continue;case 65:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));p=new A.Buffer.ptr(AD.nil,0,0);i.LastChild.CodeBlockInfo=(new AD($stringToBytes(o)));q=J.DomText(c);$s=67;case 67:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=p.WriteString(q);$s=68;case 68:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,p.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(s);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);$s=69;case 69:return;case 66:case 64:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 22:if(33===d.Context.Tip.Type){$s=19;continue;}i.Type=2;i.HeadingLevel=((((t=i.Tokens,(1>=t.$length?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+1]))-48<<24>>>24)>>0));i.AppendChild(new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(C.Repeat("#",i.HeadingLevel)),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 23:i.Type=4;d.Context.Tip.AppendChild(i);$s=53;continue;case 24:i.Type=5;i.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(">"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 25:i.Type=7;i.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){i.ListData.Typ=1;}i.ListData.Tight=true;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 26:i.Type=8;u=J.DomAttrValue(c,"data-marker");v=0;if(""===u){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){w=J.DomAttrValue(c.Parent,"start");if(""===w){u="1.";}else{u=w+".";}}else{u="*";v=u.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)&&!("1."===u)&&(79618===c.Parent.DataAtom)&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){u="1.";}}i.ListData=new D.ListData.ptr(0,false,v,0,0,0,0,false,(new AD($stringToBytes(u))),0);d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 27:x=c.FirstChild;if(!(AE.nil===x)){$s=70;continue;}$s=71;continue;case 70:if((1===x.Type)||(40708===x.DataAtom)||(378116===x.DataAtom)||(354311===x.DataAtom)||(290819===x.DataAtom)){$s=72;continue;}$s=73;continue;case 72:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if((378116===x.DataAtom)||(40708===x.DataAtom)){y=J.DomAttrValue(x,"class");if(!C.Contains(y,"language-")){y=J.DomAttrValue(c,"class");}if(C.Contains(y,"language-")){z=$substring(y,(C.Index(y,"language-")+9>>0));z=(aa=C.Split(z," "),(0>=aa.$length?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+0]));i.LastChild.CodeBlockInfo=(new AD($stringToBytes(z)));}}if(378116===x.DataAtom){if(!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){ab=x.NextSibling;while(true){if(!(!(AE.nil===ab))){break;}ab.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ab=ab.NextSibling;}}if(!(AE.nil===x.FirstChild)&&(79618===x.FirstChild.DataAtom)){ac=x.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ac))){break;}if(!(ac===x.FirstChild.FirstChild)){ac.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));}ac=ac.NextSibling;}}if(!(AE.nil===c.LastChild)&&(42754===c.LastChild.DataAtom)){c.LastChild.Unlink();}}if((290819===x.DataAtom)&&!(AE.nil===x.FirstChild)){ad=x.FirstChild.NextSibling;while(true){if(!(!(AE.nil===ad))){break;}ad.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ad=ad.NextSibling;}}ae=new A.Buffer.ptr(AD.nil,0,0);af=J.DomText(c);$s=75;case 75:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=ae.WriteString(af);$s=76;case 76:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;ah=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ae.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(ah);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(d.Context.Tip.ParentIs(106,BB.nil)){ai=A.Split(ah.Tokens,(new AD($stringToBytes("\n"))));aj=ai;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);if(0>0)){if(d.Context.ParseOption.ProtyleWYSIWYG){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}}ak++;}}else{d.Context.Tip.AppendChild(i);}$s=74;continue;case 73:i.Type=9;ao=J.DomHTML(c);$s=77;case 77:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}i.Tokens=ao;d.Context.Tip.AppendChild(i);case 74:case 71:$s=78;case 78:return;case 28:ap=J.DomText(c);$s=79;case 79:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=C.TrimSpace(aq);$s=82;case 82:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(""===ar){$s=80;continue;}$s=81;continue;case 80:$s=19;continue;case 81:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=17;as="*";i.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(as),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 29:at=J.DomText(c);$s=83;case 83:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=C.TrimSpace(au);$s=86;case 86:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(""===av){$s=84;continue;}$s=85;continue;case 84:$s=19;continue;case 85:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=22;aw="**";i.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 30:if(AE.nil===c.FirstChild){$s=87;continue;}$s=88;continue;case 87:$s=89;case 89:return;case 88:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ax=J.DomHTML(c);$s=90;case 90:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;if(A.Contains(ay,(new AD($stringToBytes(">"))))){ay=$subslice(ay,(A.Index(ay,(new AD($stringToBytes(">"))))+1>>0));}ay=A.TrimSuffix(ay,(new AD($stringToBytes("
    "))));az=F.UnescapeString(($bytesToString(ay)));ay=(new AD($stringToBytes(az)));ba=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.Type=27;i.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(ba);i.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=91;case 91:return;case 31:if(33===d.Context.Tip.Type){$s=19;continue;}if(d.Context.ParseOption.ProtyleWYSIWYG&&e.parentIs(c,new AT([365829]))){i.Type=525;}else{i.Type=31;i.Tokens=J.StrToBytes("\n");}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 32:i.Type=33;bb=J.DomText(c);$s=92;case 92:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;if(""===bc&&!(AE.nil===c.Parent)&&((89090===c.Parent.DataAtom)||(187906===c.Parent.DataAtom)||(199938===c.Parent.DataAtom)||(214274===c.Parent.DataAtom)||(216834===c.Parent.DataAtom)||(412930===c.Parent.DataAtom))){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(""===bc&&AE.nil===c.FirstChild){$s=96;continue;}$s=97;continue;case 96:$s=98;case 98:return;case 97:i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 33:bd=J.DomAttrValue(c,"class");be=J.DomAttrValue(c,"alt");if("emoji"===bd){$s=99;continue;}$s=100;continue;case 99:i.Type=200;bf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(be,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");bf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(":"+be+":"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(bf);$s=101;continue;case 100:i.Type=34;i.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===be)){i.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"src");if(C.HasPrefix(bg,"data:image")){bh=J.DomAttrValue(c,"data-src");if(!(""===bh)){bg=bh;}}if(""===bg){$s=102;continue;}$s=103;continue;case 102:bi=J.DomAttrValue(c,"srcset");if(!(""===bi)){$s=104;continue;}$s=105;continue;case 104:if(C.Contains(bi,",")){$s=106;continue;}$s=107;continue;case 106:bg=(bj=C.Split(bi,","),bk=C.Split(bi,",").$length-1>>0,((bk<0||bk>=bj.$length)?($throwRuntimeError("index out of range"),undefined):bj.$array[bj.$offset+bk]));bl=C.TrimSpace(bg);$s=109;case 109:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bg=bl;if(C.Contains(bg," ")){$s=110;continue;}$s=111;continue;case 110:bn=C.TrimSpace((bm=C.Split(bg," "),(0>=bm.$length?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+0])));$s=112;case 112:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bg=bn;case 111:$s=108;continue;case 107:bo=C.TrimSpace(bg);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bg=bo;if(C.Contains(bg," ")){$s=114;continue;}$s=115;continue;case 114:bq=C.TrimSpace((bp=C.Split(bi," "),(0>=bp.$length?($throwRuntimeError("index out of range"),undefined):bp.$array[bp.$offset+0])));$s=116;case 116:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bg=bq;case 115:case 108:case 105:case 103:i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));br=J.DomAttrValue(c,"title");if(!(""===br)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(br))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 101:if(0===d.Context.Tip.Type){bs=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bs);d.Context.Tip=bs;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 34:i.Type=100;i.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(i);if(!(AF.nil===i.Parent.Parent)){if(AL.nil===i.Parent.Parent.ListData){i.Parent.Parent.ListData=new D.ListData.ptr(3,false,0,0,0,0,0,false,AD.nil,0);}else{i.Parent.Parent.ListData.Typ=3;}}$s=53;continue;case 35:i.Type=101;bt="~";i.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bt),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 36:i.Type=450;bu="==";i.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bu),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 37:i.Type=485;i.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 38:i.Type=490;i.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 39:i.Type=106;bv=AM.nil;if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild.FirstChild)){bw=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===bw))){break;}bx=J.DomAttrValue(bw,"align");by=bx;if(by===("left")){bv=$append(bv,1);}else if(by===("center")){bv=$append(bv,2);}else if(by===("right")){bv=$append(bv,3);}else{bv=$append(bv,0);}bw=bw.NextSibling;}}i.TableAligns=bv;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 40:if(AE.nil===c.FirstChild){$s=19;continue;}i.Type=107;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 41:$s=53;continue;case 42:if(AE.nil===c.FirstChild){$s=19;continue;}bz=c.Parent.Parent;i.Type=108;if(AF.nil===d.Context.Tip.ChildByType(107)&&AE.nil===J.DomChildByType(bz,208901)){ca=new D.Node.ptr("","","","",107,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(ca);d.Context.Tip=ca;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 43:i.Type=109;cb=J.DomAttrValue(c,"align");cc=0;cd=cb;if(cd===("left")){cc=1;}else if(cd===("center")){cc=2;}else if(cd===("right")){cc=3;}else{cc=0;}i.TableCellAlign=cc;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 44:$s=117;case 117:return;case 45:if(AE.nil===c.FirstChild){$s=118;continue;}$s=119;continue;case 118:$s=120;case 120:return;case 119:$s=53;continue;case 46:i.Type=16;ce=J.DomText(c);$s=121;case 121:if($c){$c=false;ce=ce.$blk();}if(ce&&ce.$blk!==undefined){break s;}i.Tokens=(new AD($stringToBytes(ce)));i.Tokens=A.ReplaceAll(i.Tokens,(new AD($stringToBytes("\n"))),AD.nil);d.Context.Tip.AppendChild(i);$s=122;case 122:return;case 47:i.Type=9;cf=J.DomHTML(c);$s=123;case 123:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}i.Tokens=cf;i.Tokens=(cg=A.SplitAfter(i.Tokens,(new AD($stringToBytes("")))),(0>=cg.$length?($throwRuntimeError("index out of range"),undefined):cg.$array[cg.$offset+0]));d.Context.Tip.AppendChild(i);$s=53;continue;case 48:$s=124;case 124:return;case 49:i.Type=9;ch=J.DomHTML(c);$s=125;case 125:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}i.Tokens=ch;d.Context.Tip.AppendChild(i);$s=126;case 126:return;case 50:$s=127;case 127:return;case 51:i.Type=1;i.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomText(c);$s=128;case 128:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}cj=J.StrToBytes(ci);$s=129;case 129:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}$r=i.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cj,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=130;case 130:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip.AppendChild(i);$s=131;case 131:return;case 52:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);case 53:case 19:ck=c.FirstChild;case 132:if(!(!(ck===AE.nil))){$s=133;continue;}$r=e.genASTByDOM(ck,d);$s=134;case 134:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ck=ck.NextSibling;$s=132;continue;case 133:cl=c.DataAtom;if((cl===(28162))||(cl===(1537))){$s=136;continue;}if((cl===(449798))||(cl===(257))){$s=137;continue;}if(cl===(1)){$s=138;continue;}if((cl===(283139))||(cl===(9473))||(cl===(53766))){$s=139;continue;}if(cl===(46596)){$s=140;continue;}if(cl===(461571)){$s=141;continue;}if(cl===(421123)){$s=142;continue;}if(cl===(29191)){$s=143;continue;}$s=144;continue;case 136:cm="*";i.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cm),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 137:cn="**";i.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cn),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=146;case 146:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 138:i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(J.DomAttrValue(c,"href")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));co=J.DomAttrValue(c,"title");if(!(""===co)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(co),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=144;continue;case 139:cp="~";i.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cp),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=147;case 147:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 140:cq="==";i.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cq),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=148;case 148:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 141:i.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=149;case 149:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 142:i.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=150;case 150:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 143:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 144:case 135:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByDOM=function(c,d){return this.$val.genASTByDOM(c,d);};AA=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!(AE.nil===c.NextSibling)){$s=1;continue;}$s=2;continue;case 1:f=J.DomText(c.NextSibling);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!(""===g)){$s=4;continue;}$s=5;continue;case 4:h=(new BC($stringToRunes(g)));if(!P.IsSpace((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){$s=6;continue;}$s=7;continue;case 6:if(P.IsPunct((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))||P.IsSymbol((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){d.Context.Tip.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=-1;return;}i=J.DomText(c);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(""===j)){$s=9;continue;}$s=10;continue;case 9:h=(new BC($stringToRunes(j)));l=(k=h.$length-1>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]));if(P.IsPunct(l)||P.IsSymbol(l)){m=d.Context.Tip.ChildByType(16);if(!(AF.nil===m)){m.Tokens=$appendSlice((new AD($stringToBytes("\xE2\x80\x8B"))),m.Tokens);m.Tokens=$appendSlice(m.Tokens,(new AD($stringToBytes("\xE2\x80\x8B"))));}$s=-1;return;}n=e.prefixSpaces(j);if(!(""===n)){o=d.Context.Tip.Previous;if(!(AF.nil===o)){if(16===o.Type){o.Tokens=$appendSlice(o.Tokens,J.StrToBytes(n));}else{o.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}p=d.Context.Tip.ChildByType(16);p.Tokens=A.TrimLeft(p.Tokens," \xC5\xA0");}n=e.suffixSpaces(j);if(!(""===n)){$s=11;continue;}$s=12;continue;case 11:q=d.Context.Tip.ChildrenByType(16);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(0>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));t.Tokens=A.TrimRight(t.Tokens," \xC5\xA0");if(1>t.Tokens.$length){t.Unlink();}}if(!(AE.nil===c.NextSibling)){if(1===c.NextSibling.Type){c.NextSibling.Data=n+c.NextSibling.Data;}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 12:case 10:case 7:case 5:case 2:$s=-1;return;}return;}var $f={$blk:AA,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};AV.methods=[{prop:"Md2HTML",name:"Md2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorDOM",name:"SpinVditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorDOM",name:"HTML2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2HTML",name:"VditorDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorDOM",name:"Md2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2Md",name:"VditorDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderEChartsJSON",name:"RenderEChartsJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderKityMinderJSON",name:"RenderKityMinderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2Md",name:"HTML2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorDOM2Md",name:"vditorDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"parseHTML",name:"parseHTML",pkg:"github.com/88250/lute",typ:$funcType([$String],[AE],false)},{prop:"adjustVditorDOM",name:"adjustVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListList",name:"adjustVditorDOMListList",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeHighlightJSSpans",name:"removeHighlightJSSpans",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"hljsSpans",name:"hljsSpans",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"removeEmptyNodes",name:"removeEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"searchEmptyNodes",name:"searchEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"mergeVditorDOMList0",name:"mergeVditorDOMList0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListTight0",name:"adjustVditorDOMListTight0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListItemInP",name:"adjustVditorDOMListItemInP",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"forwardNextBlock",name:"forwardNextBlock",pkg:"github.com/88250/lute",typ:$funcType([AE],[AP,AE],false)},{prop:"listItemEnter",name:"listItemEnter",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isTightList",name:"isTightList",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"genASTByVditorDOM",name:"genASTByVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"hasAttr",name:"hasAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[$Bool],false)},{prop:"domChild",name:"domChild",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"domChild0",name:"domChild0",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"setDOMAttrValue",name:"setDOMAttrValue",pkg:"github.com/88250/lute",typ:$funcType([AE,$String,$String],[],false)},{prop:"removeDOMAttr",name:"removeDOMAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"domCode",name:"domCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"domCode0",name:"domCode0",pkg:"github.com/88250/lute",typ:$funcType([AE,AY],[],false)},{prop:"parentIs",name:"parentIs",pkg:"github.com/88250/lute",typ:$funcType([AE,AT],[$Bool],true)},{prop:"getParent",name:"getParent",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"isCaret",name:"isCaret",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool,$Bool],false)},{prop:"isEmptyText",name:"isEmptyText",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"startsWithNewline",name:"startsWithNewline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isInline",name:"isInline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"prefixSpaces",name:"prefixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"suffixSpaces",name:"suffixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorSVDOM",name:"SpinVditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorSVDOM",name:"HTML2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorSVDOM",name:"Md2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorIRDOM",name:"SpinVditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorIRDOM",name:"HTML2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2HTML",name:"VditorIRDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorIRDOM",name:"Md2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2Md",name:"VditorIRDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorIRDOM2Md",name:"vditorIRDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByVditorIRDOM",name:"genASTByVditorIRDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"SpinBlockDOM",name:"SpinBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2BlockDOM",name:"HTML2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2HTML",name:"BlockDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2InlineBlockDOM",name:"BlockDOM2InlineBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2BlockDOM",name:"Md2BlockDOM",pkg:"",typ:$funcType([$String,$Bool],[$String],false)},{prop:"Md2BlockDOMTree",name:"Md2BlockDOMTree",pkg:"",typ:$funcType([$String,$Bool],[$String,AB],false)},{prop:"InlineMd2BlockDOM",name:"InlineMd2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Md",name:"BlockDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2StdMd",name:"BlockDOM2StdMd",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Text",name:"BlockDOM2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2TextLen",name:"BlockDOM2TextLen",pkg:"",typ:$funcType([$String],[$Int],false)},{prop:"BlockDOM2Content",name:"BlockDOM2Content",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2EscapeMarkerContent",name:"BlockDOM2EscapeMarkerContent",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Tree2BlockDOM",name:"Tree2BlockDOM",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"RenderNodeBlockDOM",name:"RenderNodeBlockDOM",pkg:"",typ:$funcType([AF],[$String],false)},{prop:"BlockDOM2Tree",name:"BlockDOM2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"MergeSameTextMark",name:"MergeSameTextMark",pkg:"",typ:$funcType([AF],[],false)},{prop:"MergeSameSpan",name:"MergeSameSpan",pkg:"",typ:$funcType([AF],[],false)},{prop:"CancelSuperBlock",name:"CancelSuperBlock",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelList",name:"CancelList",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelBlockquote",name:"CancelBlockquote",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Ps",name:"Blocks2Ps",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Hs",name:"Blocks2Hs",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"OL2TL",name:"OL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2TL",name:"UL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2OL",name:"TL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2UL",name:"TL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"OL2UL",name:"OL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2OL",name:"UL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"blockDOM2Md",name:"blockDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByBlockDOM",name:"genASTByBlockDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"genASTContenteditable",name:"genASTContenteditable",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"setBlockIAL",name:"setBlockIAL",pkg:"github.com/88250/lute",typ:$funcType([AE,AF],[AD],false)},{prop:"removeInnerMarker",name:"removeInnerMarker",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeInnerMarker0",name:"removeInnerMarker0",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeTempMark",name:"removeTempMark",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"Markdown",name:"Markdown",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"MarkdownStr",name:"MarkdownStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"FormatStr",name:"FormatStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"TextBundle",name:"TextBundle",pkg:"",typ:$funcType([$String,AD,AJ],[AD,AJ],false)},{prop:"TextBundleStr",name:"TextBundleStr",pkg:"",typ:$funcType([$String,$String,AJ],[$String,AJ],false)},{prop:"HTML2Text",name:"HTML2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderJSON",name:"RenderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"IsValidLinkDest",name:"IsValidLinkDest",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"GetEmojis",name:"GetEmojis",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutEmojis",name:"PutEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"RemoveEmoji",name:"RemoveEmoji",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetTerms",name:"GetTerms",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutTerms",name:"PutTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"ProtylePreview",name:"ProtylePreview",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"Tree2HTML",name:"Tree2HTML",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"SetGFMTable",name:"SetGFMTable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItem",name:"SetGFMTaskListItem",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItemClass",name:"SetGFMTaskListItemClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetGFMStrikethrough",name:"SetGFMStrikethrough",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMAutoLink",name:"SetGFMAutoLink",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSoftBreak2HardBreak",name:"SetSoftBreak2HardBreak",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlight",name:"SetCodeSyntaxHighlight",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightDetectLang",name:"SetCodeSyntaxHighlightDetectLang",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightInlineStyle",name:"SetCodeSyntaxHighlightInlineStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightLineNum",name:"SetCodeSyntaxHighlightLineNum",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightStyleName",name:"SetCodeSyntaxHighlightStyleName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetFootnotes",name:"SetFootnotes",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetToC",name:"SetToC",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHeadingID",name:"SetHeadingID",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetAutoSpace",name:"SetAutoSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFixTermTypo",name:"SetFixTermTypo",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmoji",name:"SetEmoji",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmojis",name:"SetEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetEmojiSite",name:"SetEmojiSite",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetHeadingAnchor",name:"SetHeadingAnchor",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTerms",name:"SetTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetVditorWYSIWYG",name:"SetVditorWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleWYSIWYG",name:"SetProtyleWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorIR",name:"SetVditorIR",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorSV",name:"SetVditorSV",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMathAllowDigitAfterOpenMarker",name:"SetInlineMathAllowDigitAfterOpenMarker",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkPrefix",name:"SetLinkPrefix",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLinkBase",name:"SetLinkBase",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetLinkBase",name:"GetLinkBase",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetVditorCodeBlockPreview",name:"SetVditorCodeBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorMathBlockPreview",name:"SetVditorMathBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorHTMLBlockPreview",name:"SetVditorHTMLBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetRenderListStyle",name:"SetRenderListStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSanitize",name:"SetSanitize",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImageLazyLoading",name:"SetImageLazyLoading",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetChineseParagraphBeginningSpace",name:"SetChineseParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetYamlFrontMatter",name:"SetYamlFrontMatter",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSetext",name:"SetSetext",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetBlockRef",name:"SetBlockRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFileAnnotationRef",name:"SetFileAnnotationRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetMark",name:"SetMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIAL",name:"SetKramdownIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownBlockIAL",name:"SetKramdownBlockIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownSpanIAL",name:"SetKramdownSpanIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIALIDRenderName",name:"SetKramdownIALIDRenderName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTag",name:"SetTag",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImgPathAllowSpace",name:"SetImgPathAllowSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSuperBlock",name:"SetSuperBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSup",name:"SetSup",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSub",name:"SetSub",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGitConflict",name:"SetGitConflict",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkRef",name:"SetLinkRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetIndentCodeBlock",name:"SetIndentCodeBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetDataImage",name:"SetDataImage",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTextMark",name:"SetTextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpin",name:"SetSpin",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHTMLTag2TextMark",name:"SetHTMLTag2TextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetParagraphBeginningSpace",name:"SetParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleMarkNetImg",name:"SetProtyleMarkNetImg",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpellcheck",name:"SetSpellcheck",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetJSRenderers",name:"SetJSRenderers",pkg:"",typ:$funcType([BG],[],false)},{prop:"HTML2Markdown",name:"HTML2Markdown",pkg:"",typ:$funcType([$String],[$String,$error],false)},{prop:"HTML2Tree",name:"HTML2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"genASTByDOM",name:"genASTByDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)}];R.init("",[{prop:"ParseOptions",name:"ParseOptions",embedded:false,exported:true,typ:AO,tag:""},{prop:"RenderOptions",name:"RenderOptions",embedded:false,exported:true,typ:AC,tag:""},{prop:"HTML2MdRendererFuncs",name:"HTML2MdRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorDOMRendererFuncs",name:"HTML2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorIRDOMRendererFuncs",name:"HTML2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2BlockDOMRendererFuncs",name:"HTML2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorSVDOMRendererFuncs",name:"HTML2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2HTMLRendererFuncs",name:"Md2HTMLRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorDOMRendererFuncs",name:"Md2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorIRDOMRendererFuncs",name:"Md2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2BlockDOMRendererFuncs",name:"Md2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorSVDOMRendererFuncs",name:"Md2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""}]);Z.init([AV],[],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=I.NewFormatRenderer(AB.nil,AC.nil);$s=17;case 17:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}T=a;b=I.NewProtyleExportMdRenderer(AB.nil,AC.nil);$s=18;case 18:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}W=b;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/javascript"]=(function(){var $pkg={},$init,A,B,C,D,E,F,J,K,L,M,N,O,P,Q,R,S,G,H,I;A=$packages["github.com/88250/lute"];B=$packages["github.com/88250/lute/ast"];C=$packages["github.com/88250/lute/editor"];D=$packages["github.com/88250/lute/html"];E=$packages["github.com/88250/lute/render"];F=$packages["github.com/gopherjs/gopherjs/js"];J=$ptrType(F.Object);K=$mapType($String,J);L=$mapType($String,K);M=$funcType([L],[J],false);N=$ptrType(B.Node);O=$funcType([N],[$String],false);P=$funcType([],[$String],false);Q=$funcType([$String],[$String],false);R=$mapType($String,$emptyInterface);S=$sliceType(A.ParseOption);G=function(){$global.Lute=$externalize($makeMap($String.keyFor,[{k:"Version",v:new $String("1.7.5")},{k:"New",v:new M(H)},{k:"WalkStop",v:new $Int(0)},{k:"WalkSkipChildren",v:new $Int(1)},{k:"WalkContinue",v:new $Int(2)},{k:"GetHeadingID",v:new O(E.HeadingID)},{k:"Caret",v:new $String("\xE2\x80\xB8")},{k:"NewNodeID",v:new P(B.NewNodeID)},{k:"EscapeHTMLStr",v:new Q(D.EscapeHTMLStr)},{k:"UnEscapeHTMLStr",v:new Q(D.UnescapeHTMLStr)},{k:"EChartsMindmapStr",v:new Q(E.EChartsMindmapStr)},{k:"Sanitize",v:new Q(E.Sanitize)},{k:"BlockDOM2Content",v:new Q(I)}]),R);};H=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.SetJSRenderers(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return F.MakeWrapper(c);}return;}var $f={$blk:H,$c:true,$r,a,b,c,$s};return $f;};$pkg.New=H;I=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;c.SetProtyleWYSIWYG(true);c.SetBlockRef(true);c.SetFileAnnotationRef(true);c.SetKramdownIAL(true);c.SetTag(true);c.SetSuperBlock(true);c.SetImgPathAllowSpace(true);c.SetGitConflict(true);c.SetMark(true);c.SetSup(true);c.SetSub(true);c.SetInlineMathAllowDigitAfterOpenMarker(true);c.SetFootnotes(false);c.SetToC(false);c.SetIndentCodeBlock(false);c.SetParagraphBeginningSpace(true);c.SetAutoSpace(false);c.SetHeadingID(false);c.SetSetext(false);c.SetYamlFrontMatter(false);c.SetLinkRef(false);c.SetCodeSyntaxHighlight(false);c.SetSanitize(true);d=c.BlockDOM2Content(a);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=3;case 3:return e;}return;}var $f={$blk:I,$c:true,$r,a,b,c,d,e,$s};return $f;};$pkg.BlockDOM2Content=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){G();$mainFinished=true;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $synthesizeMethods(); diff --git a/kernel/go.mod b/kernel/go.mod index 6c51e8ba97d..45e00822c8b 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -9,7 +9,7 @@ require ( github.com/88250/clipboard v0.1.5 github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48 github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c - github.com/88250/lute v1.7.6-0.20240112115240-51ac39f8bb30 + github.com/88250/lute v1.7.6-0.20240115144346-d66c956e0189 github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4 diff --git a/kernel/go.sum b/kernel/go.sum index ba208d4bb6b..48b994339a2 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -10,8 +10,8 @@ github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950 h1:Pa5hMiBceT github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c h1:Fas3hxqP33xA9KKDV50jUmppiiOukk5bdV00Hk5VSSk= github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c/go.mod h1:pTWnjt+6qUqNnP9xltswsJxgCBVu3C7eW09u48LWX0k= -github.com/88250/lute v1.7.6-0.20240112115240-51ac39f8bb30 h1:il3u207XuRGQw/Wf0QCzi3sl4Tj7TmnPAgDNLDmmas0= -github.com/88250/lute v1.7.6-0.20240112115240-51ac39f8bb30/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg= +github.com/88250/lute v1.7.6-0.20240115144346-d66c956e0189 h1:GVGRSVGaELzKBKEMKoH7n/hfbENtxzFeVf6FEw3sowg= +github.com/88250/lute v1.7.6-0.20240115144346-d66c956e0189/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c h1:Dl/8S9iLyPMTElnWIBxmjaLiWrkI5P4a21ivwAn5pU0= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4= github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY= diff --git a/kernel/model/export.go b/kernel/model/export.go index 492ff938d43..8d1cb113be4 100644 --- a/kernel/model/export.go +++ b/kernel/model/export.go @@ -2035,16 +2035,14 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool, switch blockRefMode { case 2: // 锚文本块链 var blockRefLink *ast.Node - blockRefLink = &ast.Node{Type: ast.NodeLink} - blockRefLink.AppendChild(&ast.Node{Type: ast.NodeOpenBracket}) - blockRefLink.AppendChild(&ast.Node{Type: ast.NodeLinkText, Tokens: []byte(linkText)}) - blockRefLink.AppendChild(&ast.Node{Type: ast.NodeCloseBracket}) - blockRefLink.AppendChild(&ast.Node{Type: ast.NodeOpenParen}) - blockRefLink.AppendChild(&ast.Node{Type: ast.NodeLinkDest, Tokens: []byte("siyuan://blocks/" + defID)}) - blockRefLink.AppendChild(&ast.Node{Type: ast.NodeCloseParen}) + blockRefLink = &ast.Node{Type: ast.NodeTextMark, TextMarkType: "a", TextMarkTextContent: linkText, TextMarkAHref: "siyuan://blocks/" + defID} + blockRefLink.KramdownIAL = n.KramdownIAL n.InsertBefore(blockRefLink) case 3: // 仅锚文本 - n.InsertBefore(&ast.Node{Type: ast.NodeText, Tokens: []byte(linkText)}) + var blockRefLink *ast.Node + blockRefLink = &ast.Node{Type: ast.NodeTextMark, TextMarkType: "text", TextMarkTextContent: linkText} + blockRefLink.KramdownIAL = n.KramdownIAL + n.InsertBefore(blockRefLink) case 4: // 脚注 refFoot := getRefAsFootnotes(defID, &refFootnotes) n.InsertBefore(&ast.Node{Type: ast.NodeText, Tokens: []byte(linkText)}) From 7c613e5798bf9caf84bcd963f8dd4faadf689abf Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 15 Jan 2024 23:44:28 +0800 Subject: [PATCH 028/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10186 --- .../assets/scss/component/_typography.scss | 3 ++ app/src/protyle/export/index.ts | 33 ++++++++++--------- app/src/protyle/scroll/index.ts | 2 +- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index 57da45deecc..013fafb9ade 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -386,6 +386,9 @@ [data-subtype="mermaid"] { overflow: auto; + // https://github.com/siyuan-note/siyuan/issues/10186 + min-height: 32px; + display: table; } [data-subtype="plantuml"] img { diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index bc70e04b312..7f6d5f9a5c2 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -129,6 +129,7 @@ const renderPDF = (id: string) => { position: absolute; right: 232px; left: 0; + box-sizing: border-box; } #preview.exporting { @@ -256,8 +257,7 @@ const renderPDF = (id: string) => { -
    +
    @@ -372,28 +372,29 @@ id="preview"> }) } const renderPreview = (data) => { - previewElement.innerHTML = data.content; - previewElement.setAttribute("data-doc-type", data.type || "NodeDocument"); + previewElement.innerHTML = '
    ' + data.content + '
    '; + const wysElement = previewElement.querySelector(".protyle-wysiwyg"); + wysElement.setAttribute("data-doc-type", data.type || "NodeDocument"); if (data.attrs.memo) { - previewElement.setAttribute("memo", data.attrs.memo); + wysElement.setAttribute("memo", data.attrs.memo); } if (data.attrs.name) { - previewElement.setAttribute("name", data.attrs.name); + wysElement.setAttribute("name", data.attrs.name); } if (data.attrs.bookmark) { - previewElement.setAttribute("bookmark", data.attrs.bookmark); + wysElement.setAttribute("bookmark", data.attrs.bookmark); } if (data.attrs.alias) { - previewElement.setAttribute("alias", data.attrs.alias); + wysElement.setAttribute("alias", data.attrs.alias); } - Protyle.mermaidRender(previewElement, "${servePath}/stage/protyle"); - Protyle.flowchartRender(previewElement, "${servePath}/stage/protyle"); - Protyle.graphvizRender(previewElement, "${servePath}/stage/protyle"); - Protyle.chartRender(previewElement, "${servePath}/stage/protyle"); - Protyle.mindmapRender(previewElement, "${servePath}/stage/protyle"); - Protyle.abcRender(previewElement, "${servePath}/stage/protyle"); - Protyle.htmlRender(previewElement); - Protyle.plantumlRender(previewElement, "${servePath}/stage/protyle"); + Protyle.mermaidRender(wysElement, "${servePath}/stage/protyle"); + Protyle.flowchartRender(wysElement, "${servePath}/stage/protyle"); + Protyle.graphvizRender(wysElement, "${servePath}/stage/protyle"); + Protyle.chartRender(wysElement, "${servePath}/stage/protyle"); + Protyle.mindmapRender(wysElement, "${servePath}/stage/protyle"); + Protyle.abcRender(wysElement, "${servePath}/stage/protyle"); + Protyle.htmlRender(wysElement); + Protyle.plantumlRender(wysElement, "${servePath}/stage/protyle"); } fetchPost("/api/export/exportPreviewHTML", { id: "${id}", diff --git a/app/src/protyle/scroll/index.ts b/app/src/protyle/scroll/index.ts index 5714b627988..25a01e9ed36 100644 --- a/app/src/protyle/scroll/index.ts +++ b/app/src/protyle/scroll/index.ts @@ -97,7 +97,7 @@ export class Scroll { if (protyle.block.showAll) { this.element.classList.add("fn__none"); } else { - if (protyle.block.scroll) { + if (protyle.block.scroll && !protyle.contentElement.classList.contains("fn__none")) { this.element.classList.remove("fn__none"); } else { this.element.classList.add("fn__none"); From fd41b3b50f54d7011ed3552388c5a445d08cdd2b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 16 Jan 2024 10:56:55 +0800 Subject: [PATCH 029/109] :rotating_light: --- app/src/protyle/render/av/cell.ts | 14 +++++++------- app/src/protyle/render/av/keydown.ts | 2 +- app/src/protyle/wysiwyg/index.ts | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index cfe008db1d0..48381bc58d8 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -692,23 +692,23 @@ export const dragFillCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, const value: IAVCellValue & { colId?: string, element?: HTMLElement - } = genCellValueByElement(getTypeByCellElement(item), item) + } = genCellValueByElement(getTypeByCellElement(item), item); value.colId = item.dataset.colId; value.element = item; newData[rowElement.dataset.id].push(value); - }) + }); const doOperations: IOperation[] = []; const undoOperations: IOperation[] = []; - const avID = nodeElement.dataset.avId + const avID = nodeElement.dataset.avId; const originKeys = Object.keys(originData); Object.keys(newData).forEach((rowID, index) => { newData[rowID].forEach((item, cellIndex) => { if (["rollup", "template", "created", "updated"].includes(item.type)) { return; } - const data = originData[originKeys[index % originKeys.length]][cellIndex] + const data = originData[originKeys[index % originKeys.length]][cellIndex]; data.id = item.id; - const keyID = item.colId + const keyID = item.colId; if (data.type === "block") { data.isDetached = true; delete data.block.id; @@ -732,10 +732,10 @@ export const dragFillCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, rowID, data: item }); - }) + }); }); focusBlock(nodeElement); if (doOperations.length > 0) { transaction(protyle, doOperations, undoOperations); } -} +}; diff --git a/app/src/protyle/render/av/keydown.ts b/app/src/protyle/render/av/keydown.ts index debd607ac16..a9dee131ff4 100644 --- a/app/src/protyle/render/av/keydown.ts +++ b/app/src/protyle/render/av/keydown.ts @@ -26,7 +26,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl nodeElement.querySelectorAll(".av__cell--active").forEach(item => { item.classList.remove("av__cell--active"); item.querySelector(".av__drag-fill")?.remove(); - }) + }); if (event.key === "Escape") { selectCellElement.classList.remove("av__cell--select"); selectRow(rowElement.querySelector(".av__firstcol"), "select"); diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 8cf74d8b66c..00a00c53ef8 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -452,18 +452,18 @@ export class WYSIWYG { if (!nodeElement) { return; } - const originData: { [key: string]: IAVCellValue[] } = {} - let lastOriginCellElement - const originCellIds: string[] = [] - nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement, index: number) => { + const originData: { [key: string]: IAVCellValue[] } = {}; + let lastOriginCellElement; + const originCellIds: string[] = []; + nodeElement.querySelectorAll(".av__cell--active").forEach((item: HTMLElement) => { const rowElement = hasClosestByClassName(item, "av__row"); if (rowElement) { if (!originData[rowElement.dataset.id]) { originData[rowElement.dataset.id] = []; } originData[rowElement.dataset.id].push(genCellValueByElement(getTypeByCellElement(item), item)); - lastOriginCellElement = item - originCellIds.push(item.dataset.id) + lastOriginCellElement = item; + originCellIds.push(item.dataset.id); } }); const dragFillCellIndex = getPositionByCellElement(lastOriginCellElement); @@ -484,7 +484,7 @@ export class WYSIWYG { } }); if (newIndex.celIndex !== dragFillCellIndex.celIndex || dragFillCellIndex.rowIndex >= newIndex.rowIndex) { - lastCellElement = undefined + lastCellElement = undefined; return; } nodeElement.querySelectorAll(".av__row").forEach((rowElement: HTMLElement, index: number) => { From 7813d87fc634de4b9771b9413ca09436d02f52df Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 16 Jan 2024 11:05:04 +0800 Subject: [PATCH 030/109] :memo: Update changelogs --- app/changelogs/v2.12.2/v2.12.2_zh_CHT.md | 1 - app/changelogs/v2.12.2/v2.12.2_zh_CN.md | 1 - app/changelogs/v2.12.3/v2.12.3.md | 56 ++++++++++++++++++++++++ app/changelogs/v2.12.3/v2.12.3_zh_CHT.md | 56 ++++++++++++++++++++++++ app/changelogs/v2.12.3/v2.12.3_zh_CN.md | 56 ++++++++++++++++++++++++ 5 files changed, 168 insertions(+), 2 deletions(-) create mode 100644 app/changelogs/v2.12.3/v2.12.3.md create mode 100644 app/changelogs/v2.12.3/v2.12.3_zh_CHT.md create mode 100644 app/changelogs/v2.12.3/v2.12.3_zh_CN.md diff --git a/app/changelogs/v2.12.2/v2.12.2_zh_CHT.md b/app/changelogs/v2.12.2/v2.12.2_zh_CHT.md index aefe54be754..4e6fb480af5 100644 --- a/app/changelogs/v2.12.2/v2.12.2_zh_CHT.md +++ b/app/changelogs/v2.12.2/v2.12.2_zh_CHT.md @@ -11,7 +11,6 @@ * [改進忘記授權碼提示文案](https://github.com/siyuan-note/siyuan/issues/10127) * [同一輪複習中出現過期閃卡](https://github.com/siyuan-note/siyuan/issues/10130) - ### 修復缺陷 * [無法進入主介面](https://github.com/siyuan-note/siyuan/issues/10126) diff --git a/app/changelogs/v2.12.2/v2.12.2_zh_CN.md b/app/changelogs/v2.12.2/v2.12.2_zh_CN.md index cce7613e4a2..a0fb5a4494b 100644 --- a/app/changelogs/v2.12.2/v2.12.2_zh_CN.md +++ b/app/changelogs/v2.12.2/v2.12.2_zh_CN.md @@ -11,7 +11,6 @@ * [改进忘记授权码提示文案](https://github.com/siyuan-note/siyuan/issues/10127) * [同一轮复习中出现过期闪卡](https://github.com/siyuan-note/siyuan/issues/10130) - ### 修复缺陷 * [无法进入主界面](https://github.com/siyuan-note/siyuan/issues/10126) diff --git a/app/changelogs/v2.12.3/v2.12.3.md b/app/changelogs/v2.12.3/v2.12.3.md new file mode 100644 index 00000000000..cc0f0f080b9 --- /dev/null +++ b/app/changelogs/v2.12.3/v2.12.3.md @@ -0,0 +1,56 @@ +## Overview + +This version supports configuring ignore search results and improves editor and export details. + +## Changelogs + +Below are the detailed changes in this version. + +### Enhancement + +* [`Exit focus` supports configuring hotkey](https://github.com/siyuan-note/siyuan/issues/10013) +* [Support ignore search results](https://github.com/siyuan-note/siyuan/issues/10089) +* [Improve `F3` and `Ctrl+F3` to prevent creating duplicated doc](https://github.com/siyuan-note/siyuan/issues/10091) +* [Set the default column maximum width on the table](https://github.com/siyuan-note/siyuan/issues/10136) +* [Some kernel interface concurrency is no longer controlled to improve performance](https://github.com/siyuan-note/siyuan/issues/10149) +* [The production environment will no longer register `/debug/pprof/`](https://github.com/siyuan-note/siyuan/issues/10152) +* [Need to be reminded that replacement operations are not supported after grouping by doc](https://github.com/siyuan-note/siyuan/issues/10161) +* [Add `Switch read-only mode` hotkey](https://github.com/siyuan-note/siyuan/issues/10163) +* [Flashcards are not allowed to be modified during data sync to avoid data overwriting](https://github.com/siyuan-note/siyuan/issues/10167) +* [Support background color when exporting pdf](https://github.com/siyuan-note/siyuan/issues/10171) +* [Improve soft line break block parsing when pasting](https://github.com/siyuan-note/siyuan/issues/10173) +* [Search and replace supports whitespace characters](https://github.com/siyuan-note/siyuan/issues/10175) +* [Block ref elements support font styles when exporting](https://github.com/siyuan-note/siyuan/issues/10179) +* [S3/WebDAV data sync no longer uploads check index](https://github.com/siyuan-note/siyuan/issues/10180) +* [Improve display of charts in export pdf and preview mode](https://github.com/siyuan-note/siyuan/issues/10186) +* [Disable using hotkeys to merge list items into super blocks](https://github.com/siyuan-note/siyuan/issues/10188) + +### Bugfix + +* [`Clear inline elements` is invalid](https://github.com/siyuan-note/siyuan/issues/10140) +* [Lists as flashcards with no hidden answers](https://github.com/siyuan-note/siyuan/issues/10147) +* [After dynamic loading, the editor's read-only mode is abnormal](https://github.com/siyuan-note/siyuan/issues/10155) +* [Attributes not copied when copying HTML block](https://github.com/siyuan-note/siyuan/issues/10159) +* [Focus block does not add the title when exporting as an image](https://github.com/siyuan-note/siyuan/issues/10177) + +### Document + +* [Add user guide `Mobile App`](https://github.com/siyuan-note/siyuan/issues/10162) + +### Refactor + +* [Upgrade Electron v28.1.3](https://github.com/siyuan-note/siyuan/issues/10145) + +### Development + +* [Autofill values in database table view](https://github.com/siyuan-note/siyuan/issues/9867) +* [Improve relation column cell value interfaction](https://github.com/siyuan-note/siyuan/issues/10118) +* [Add attribute "data-key" for Dialog](https://github.com/siyuan-note/siyuan/pull/10138) +* [Improve kernel API `/api/block/insertBlock` argument checking](https://github.com/siyuan-note/siyuan/issues/10144) +* [Add some database related internal kernel APIs](https://github.com/siyuan-note/siyuan/issues/10160) +* [Tips for improving database table view cell](https://github.com/siyuan-note/siyuan/issues/10170) + +## Download + +* [B3log](https://b3log.org/siyuan/en/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/changelogs/v2.12.3/v2.12.3_zh_CHT.md b/app/changelogs/v2.12.3/v2.12.3_zh_CHT.md new file mode 100644 index 00000000000..ba648a57941 --- /dev/null +++ b/app/changelogs/v2.12.3/v2.12.3_zh_CHT.md @@ -0,0 +1,56 @@ +## 概述 + +此版本支援了配置忽略搜尋結果,並改進了編輯器和匯出細節。 + +## 變更記錄 + +以下是此版本中的詳細變更。 + +### 改進功能 + +* [`退出對焦` 支援配置快捷鍵](https://github.com/siyuan-note/siyuan/issues/10013) +* [支援配置忽略搜尋結果](https://github.com/siyuan-note/siyuan/issues/10089) +* [改進 `F3` 和 `Ctrl+F3` 避免建立重複文件](https://github.com/siyuan-note/siyuan/issues/10091) +* [設定表格預設最大列寬](https://github.com/siyuan-note/siyuan/issues/10136) +* [不再限制一些核心介面並發度以提升效能](https://github.com/siyuan-note/siyuan/issues/10149) +* [生產環境下不再註冊 `/debug/pprof/`](https://github.com/siyuan-note/siyuan/issues/10152) +* [搜尋啟用文件分組後不支援替換作業需要進行提示](https://github.com/siyuan-note/siyuan/issues/10161) +* [`切換唯讀模式` 支援配置快捷鍵](https://github.com/siyuan-note/siyuan/issues/10163) +* [資料同步時禁止閃卡修改以避免資料覆蓋](https://github.com/siyuan-note/siyuan/issues/10167) +* [匯出 PDF 時支援背景色](https://github.com/siyuan-note/siyuan/issues/10171) +* [改良貼上時軟換行分塊解析](https://github.com/siyuan-note/siyuan/issues/10173) +* [搜尋替換支援空格字元](https://github.com/siyuan-note/siyuan/issues/10175) +* [支援匯出時保留塊引元素字體樣式](https://github.com/siyuan-note/siyuan/issues/10179) +* [S3/WebDAV 資料同步不再上傳校驗索引](https://github.com/siyuan-note/siyuan/issues/10180) +* [改進預覽模式和匯出 PDF 時渲染圖表](https://github.com/siyuan-note/siyuan/issues/10186) +* [禁止使用快速鍵合併清單項目區塊為超級區塊](https://github.com/siyuan-note/siyuan/issues/10188) + +### 修復缺陷 + +* [`清除行級元素` 失效](https://github.com/siyuan-note/siyuan/issues/10140) +* [清單區塊閃卡未隱藏答案](https://github.com/siyuan-note/siyuan/issues/10147) +* [動態載入後編輯器唯讀模式異常](https://github.com/siyuan-note/siyuan/issues/10155) +* [複製 HTML 區塊時未複製屬性](https://github.com/siyuan-note/siyuan/issues/10159) +* [聚焦區塊匯出圖片時未新增文件標題](https://github.com/siyuan-note/siyuan/issues/10177) + +### 改進文檔 + +* [新增使用者指南章節 `行動裝置 App`](https://github.com/siyuan-note/siyuan/issues/10162) + +### 開發重構 + +* [升級 Electron v28.1.3](https://github.com/siyuan-note/siyuan/issues/10145) + +### 開發者 + +* [資料庫表格檢視支援自動填值](https://github.com/siyuan-note/siyuan/issues/9867) +* [改進關聯列填值互動](https://github.com/siyuan-note/siyuan/issues/10118) +* [為對話方塊新增 "data-key" 屬性](https://github.com/siyuan-note/siyuan/pull/10138) +* [改進核心 API `/api/block/insertBlock` 實參校驗](https://github.com/siyuan-note/siyuan/issues/10144) +* [新增一些資料庫相關的核心介面](https://github.com/siyuan-note/siyuan/issues/10160) +* [改進資料庫表格視圖單元格提示](https://github.com/siyuan-note/siyuan/issues/10170) + +## 下載 + +* [B3log](https://b3log.org/siyuan/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) diff --git a/app/changelogs/v2.12.3/v2.12.3_zh_CN.md b/app/changelogs/v2.12.3/v2.12.3_zh_CN.md new file mode 100644 index 00000000000..cbb53e20885 --- /dev/null +++ b/app/changelogs/v2.12.3/v2.12.3_zh_CN.md @@ -0,0 +1,56 @@ +## 概述 + +该版本支持了配置忽略搜索结果,并改进了编辑器和导出细节。 + +## 变更记录 + +以下是此版本中的详细变更。 + +### 改进功能 + +* [`退出聚焦` 支持配置快捷键](https://github.com/siyuan-note/siyuan/issues/10013) +* [支持配置忽略搜索结果](https://github.com/siyuan-note/siyuan/issues/10089) +* [改进 `F3` 和 `Ctrl+F3` 避免创建重复文档](https://github.com/siyuan-note/siyuan/issues/10091) +* [设置表格默认最大列宽](https://github.com/siyuan-note/siyuan/issues/10136) +* [不再限制一些内核接口并发度以提升性能](https://github.com/siyuan-note/siyuan/issues/10149) +* [生产环境下不再注册 `/debug/pprof/`](https://github.com/siyuan-note/siyuan/issues/10152) +* [搜索启用文档分组后不支持替换操作需要进行提示](https://github.com/siyuan-note/siyuan/issues/10161) +* [`切换只读模式` 支持配置快捷键](https://github.com/siyuan-note/siyuan/issues/10163) +* [数据同步时禁止闪卡修改以避免数据覆盖](https://github.com/siyuan-note/siyuan/issues/10167) +* [导出 PDF 时支持背景色](https://github.com/siyuan-note/siyuan/issues/10171) +* [改进粘贴时软换行分块解析](https://github.com/siyuan-note/siyuan/issues/10173) +* [搜索替换支持空格字符](https://github.com/siyuan-note/siyuan/issues/10175) +* [支持导出时保留块引元素字体样式](https://github.com/siyuan-note/siyuan/issues/10179) +* [S3/WebDAV 数据同步不再上传校验索引](https://github.com/siyuan-note/siyuan/issues/10180) +* [改进预览模式和导出 PDF 时渲染图表](https://github.com/siyuan-note/siyuan/issues/10186) +* [禁止使用快捷键合并列表项块为超级块](https://github.com/siyuan-note/siyuan/issues/10188) + +### 修复缺陷 + +* [`清除行级元素` 失效](https://github.com/siyuan-note/siyuan/issues/10140) +* [列表块闪卡未隐藏答案](https://github.com/siyuan-note/siyuan/issues/10147) +* [动态加载后编辑器只读模式异常](https://github.com/siyuan-note/siyuan/issues/10155) +* [复制 HTML 块时未复制属性](https://github.com/siyuan-note/siyuan/issues/10159) +* [聚焦块导出图片时未添加文档标题](https://github.com/siyuan-note/siyuan/issues/10177) + +### 改进文档 + +* [添加用户指南章节 `移动端 App`](https://github.com/siyuan-note/siyuan/issues/10162) + +### 开发重构 + +* [升级 Electron v28.1.3](https://github.com/siyuan-note/siyuan/issues/10145) + +### 开发者 + +* [数据库表格视图支持自动填值](https://github.com/siyuan-note/siyuan/issues/9867) +* [改进关联列填值交互](https://github.com/siyuan-note/siyuan/issues/10118) +* [为对话框添加 "data-key" 属性](https://github.com/siyuan-note/siyuan/pull/10138) +* [改进内核 API `/api/block/insertBlock` 实参校验](https://github.com/siyuan-note/siyuan/issues/10144) +* [添加一些数据库相关的内核接口](https://github.com/siyuan-note/siyuan/issues/10160) +* [改进数据库表格视图单元格提示](https://github.com/siyuan-note/siyuan/issues/10170) + +## 下载 + +* [B3log](https://b3log.org/siyuan/download.html) +* [GitHub](https://github.com/siyuan-note/siyuan/releases) From f6651fbc0ffd4c4ac9f8ed32337523d3c8a02732 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 16 Jan 2024 11:08:03 +0800 Subject: [PATCH 031/109] :bookmark: Release v2.12.3 --- .github/workflows/dockerimage.yml | 2 +- app/appx/AppxManifest.xml | 2 +- app/package.json | 2 +- kernel/util/working.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 3d70ad0126c..c9ea073409c 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -49,4 +49,4 @@ jobs: - name: Build the Docker image run: | - docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.12.2 . \ No newline at end of file + docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.12.3 . \ No newline at end of file diff --git a/app/appx/AppxManifest.xml b/app/appx/AppxManifest.xml index 21fa78f0f8a..75dcf9a36c1 100644 --- a/app/appx/AppxManifest.xml +++ b/app/appx/AppxManifest.xml @@ -9,7 +9,7 @@ + Version="2.12.3.0"/> SiYuan 云南链滴科技有限公司 diff --git a/app/package.json b/app/package.json index a6f96c9bf85..b29c423c823 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "SiYuan", - "version": "2.12.2", + "version": "2.12.3", "description": "Refactor your thinking", "homepage": "https://b3log.org/siyuan", "main": "./electron/main.js", diff --git a/kernel/util/working.go b/kernel/util/working.go index 7570b940ad2..e03ae9f4f60 100644 --- a/kernel/util/working.go +++ b/kernel/util/working.go @@ -43,7 +43,7 @@ import ( var Mode = "prod" const ( - Ver = "2.12.2" + Ver = "2.12.3" IsInsider = false ) From 0807e307620a21ab7252ff0defda361acd5f5293 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 16 Jan 2024 17:18:35 +0800 Subject: [PATCH 032/109] :art: https://github.com/siyuan-note/siyuan/issues/10193 --- app/src/protyle/render/av/filter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts index 4c1f90a2f5d..031f31fa21d 100644 --- a/app/src/protyle/render/av/filter.ts +++ b/app/src/protyle/render/av/filter.ts @@ -275,7 +275,7 @@ export const setFilter = async (options: { if (filterType === "select" || filterType === "mSelect") { colData.options?.forEach((option) => { let icon = "iconUncheck"; - options.filter.value?.mSelect.find((optionItem) => { + options.filter.value?.mSelect?.find((optionItem) => { if (optionItem.content === option.name) { icon = "iconCheck"; } From 7476c3e3863b434b5d8bba6eb04961a86ee9aeaa Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 16 Jan 2024 17:00:34 +0800 Subject: [PATCH 033/109] :art: Improve database table view select filtering https://github.com/siyuan-note/siyuan/issues/10193 --- kernel/av/table.go | 52 +++++++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/kernel/av/table.go b/kernel/av/table.go index 21e5875dad9..711ca6cf987 100644 --- a/kernel/av/table.go +++ b/kernel/av/table.go @@ -452,30 +452,44 @@ func (value *Value) compareOperator(other *Value, operator FilterOperator, attrV } } - if nil != value.MSelect && nil != other.MSelect { - switch operator { - case FilterOperatorIsEqual, FilterOperatorContains: - contains := false - for _, v := range value.MSelect { - for _, v2 := range other.MSelect { - if v.Content == v2.Content { - contains = true - break + if nil != value.MSelect { + if nil != other.MSelect { + switch operator { + case FilterOperatorIsEqual, FilterOperatorContains: + contains := false + for _, v := range value.MSelect { + for _, v2 := range other.MSelect { + if v.Content == v2.Content { + contains = true + break + } } } - } - return contains - case FilterOperatorIsNotEqual, FilterOperatorDoesNotContain: - contains := false - for _, v := range value.MSelect { - for _, v2 := range other.MSelect { - if v.Content == v2.Content { - contains = true - break + return contains + case FilterOperatorIsNotEqual, FilterOperatorDoesNotContain: + contains := false + for _, v := range value.MSelect { + for _, v2 := range other.MSelect { + if v.Content == v2.Content { + contains = true + break + } } } + return !contains + case FilterOperatorIsEmpty: + return 0 == len(value.MSelect) || 1 == len(value.MSelect) && "" == value.MSelect[0].Content + case FilterOperatorIsNotEmpty: + return 0 != len(value.MSelect) && !(1 == len(value.MSelect) && "" == value.MSelect[0].Content) } - return !contains + return false + } + + // 没有设置比较值 + + switch operator { + case FilterOperatorIsEqual, FilterOperatorIsNotEqual, FilterOperatorContains, FilterOperatorDoesNotContain: + return true case FilterOperatorIsEmpty: return 0 == len(value.MSelect) || 1 == len(value.MSelect) && "" == value.MSelect[0].Content case FilterOperatorIsNotEmpty: From b185d4e9bfa6b27eee4b7813d22b235d43b7fa66 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 16 Jan 2024 17:27:49 +0800 Subject: [PATCH 034/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10194 --- app/src/config/keymap.ts | 2 +- app/src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/config/keymap.ts b/app/src/config/keymap.ts index 64f4cee2605..aa22294cc4c 100644 --- a/app/src/config/keymap.ts +++ b/app/src/config/keymap.ts @@ -383,7 +383,7 @@ export const keymap = { } let hasConflict = false; if (["⌘", "⇧", "⌥", "⌃"].includes(keymapStr.substr(keymapStr.length - 1, 1)) || - ["⌘A", "⌘X", "⌘C", "⌘V", "⌘-", "⌘=", "⌘0", "⇧⌘V", "⌘/", "⇧↑", "⇧↓", "⇧→", "⇧←", "⇧⇥", "⌃D", "⇧⌘→", "⇧⌘←", "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦"].includes(keymapStr) || + ["⌘A", "⌘X", "⌘C", "⌘V", "⌘-", "⌘=", "⌘0", "⇧⌘V", "⌘/", "⇧↑", "⇧↓", "⇧→", "⇧←", "⇧⇥", "⌃D", "⇧⌘→", "⇧⌘←", "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦", "Escape"].includes(keymapStr) || // 跳转到下/上一个编辑页签不能包含 ctrl, 否则不能监听到 keyup (isMac() && keys[0] === "general" && ["goToEditTabNext", "goToEditTabPrev"].includes(keys[1]) && keymapStr.includes("⌘")) ) { diff --git a/app/src/constants.ts b/app/src/constants.ts index b8915ff3dd0..0733ed57fda 100644 --- a/app/src/constants.ts +++ b/app/src/constants.ts @@ -284,7 +284,7 @@ export abstract class Constants { // 冲突不使用 "⌘S/Q" // "⌘", "⇧", "⌥", "⌃" // "⌘A", "⌘X", "⌘C", "⌘V", "⌘-", "⌘=", "⌘0", "⇧⌘V", "⌘/", "⇧↑", "⇧↓", "⇧→", "⇧←", "⇧⇥", "⌃D", "⇧⌘→", "⇧⌘←", - // "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦" 不可自定义 + // "⌘Home", "⌘End", "⇧↩", "↩", "PageUp", "PageDown", "⌫", "⌦", "Escape" 不可自定义 public static readonly SIYUAN_KEYMAP: IKeymap = { general: { mainMenu: {default: "⌥\\", custom: "⌥\\"}, From 3527278de3ceb3df592c97169f41af546886fef6 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 16 Jan 2024 17:38:11 +0800 Subject: [PATCH 035/109] :art: Improve parsing code block pasted from web page https://github.com/siyuan-note/siyuan/issues/10183 --- app/stage/protyle/js/lute/lute.min.js | 2 +- kernel/go.mod | 2 +- kernel/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/stage/protyle/js/lute/lute.min.js b/app/stage/protyle/js/lute/lute.min.js index 9c8eae5baf9..6cd0674b1a7 100644 --- a/app/stage/protyle/js/lute/lute.min.js +++ b/app/stage/protyle/js/lute/lute.min.js @@ -58,7 +58,7 @@ $packages["encoding/base64"]=(function(){var $pkg={},$init,A,B,C,D,F,H,N,O,P,Q,R $packages["unicode/utf16"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["encoding/json"]=(function(){var $pkg={},$init,C,H,I,D,J,G,E,K,L,M,F,A,N,O,B,P,AD,AE,CA,CB,CC,CE,CG,CJ,CL,CM,DB,DI,DJ,DL,DO,DQ,DS,DU,DY,DZ,EA,EK,EV,EX,EY,EZ,FA,FB,FG,FH,FI,FJ,FK,FL,FM,FO,FU,FV,FW,FX,FZ,GA,GB,GC,GD,R,S,AF,CF,CH,CN,CQ,CR,DC,DD,ED,EQ,ER,a,b,c,Q,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BQ,BT,BU,BV,BW,BX,BZ,CI,CK,CO,CP,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DE,DF,DG,DH,DK,DM,DN,DP,DR,DT,DV,DW,DX,EB,EC,EE;C=$packages["bytes"];H=$packages["encoding"];I=$packages["encoding/base64"];D=$packages["errors"];J=$packages["fmt"];G=$packages["github.com/gopherjs/gopherjs/nosync"];E=$packages["io"];K=$packages["math"];L=$packages["reflect"];M=$packages["sort"];F=$packages["strconv"];A=$packages["strings"];N=$packages["unicode"];O=$packages["unicode/utf16"];B=$packages["unicode/utf8"];P=$pkg.tagOptions=$newType(8,$kindString,"json.tagOptions",true,"encoding/json",false,null);AD=$pkg.SyntaxError=$newType(0,$kindStruct,"json.SyntaxError",true,"encoding/json",true,function(msg_,Offset_){this.$val=this;if(arguments.length===0){this.msg="";this.Offset=new $Int64(0,0);return;}this.msg=msg_;this.Offset=Offset_;});AE=$pkg.scanner=$newType(0,$kindStruct,"json.scanner",true,"encoding/json",false,function(step_,endTop_,parseState_,err_,bytes_){this.$val=this;if(arguments.length===0){this.step=$throwNilPointerError;this.endTop=false;this.parseState=EX.nil;this.err=$ifaceNil;this.bytes=new $Int64(0,0);return;}this.step=step_;this.endTop=endTop_;this.parseState=parseState_;this.err=err_;this.bytes=bytes_;});CA=$pkg.Marshaler=$newType(8,$kindInterface,"json.Marshaler",true,"encoding/json",true,null);CB=$pkg.UnsupportedTypeError=$newType(0,$kindStruct,"json.UnsupportedTypeError",true,"encoding/json",true,function(Type_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;return;}this.Type=Type_;});CC=$pkg.UnsupportedValueError=$newType(0,$kindStruct,"json.UnsupportedValueError",true,"encoding/json",true,function(Value_,Str_){this.$val=this;if(arguments.length===0){this.Value=new L.Value.ptr(FO.nil,0,0);this.Str="";return;}this.Value=Value_;this.Str=Str_;});CE=$pkg.MarshalerError=$newType(0,$kindStruct,"json.MarshalerError",true,"encoding/json",true,function(Type_,Err_,sourceFunc_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;this.Err=$ifaceNil;this.sourceFunc="";return;}this.Type=Type_;this.Err=Err_;this.sourceFunc=sourceFunc_;});CG=$pkg.encodeState=$newType(0,$kindStruct,"json.encodeState",true,"encoding/json",false,function(Buffer_,scratch_,ptrLevel_,ptrSeen_){this.$val=this;if(arguments.length===0){this.Buffer=new C.Buffer.ptr(FA.nil,0,0);this.scratch=FI.zero();this.ptrLevel=0;this.ptrSeen=false;return;}this.Buffer=Buffer_;this.scratch=scratch_;this.ptrLevel=ptrLevel_;this.ptrSeen=ptrSeen_;});CJ=$pkg.jsonError=$newType(0,$kindStruct,"json.jsonError",true,"encoding/json",false,function(error_){this.$val=this;if(arguments.length===0){this.error=$ifaceNil;return;}this.error=error_;});CL=$pkg.encOpts=$newType(0,$kindStruct,"json.encOpts",true,"encoding/json",false,function(quoted_,escapeHTML_){this.$val=this;if(arguments.length===0){this.quoted=false;this.escapeHTML=false;return;}this.quoted=quoted_;this.escapeHTML=escapeHTML_;});CM=$pkg.encoderFunc=$newType(4,$kindFunc,"json.encoderFunc",true,"encoding/json",false,null);DB=$pkg.floatEncoder=$newType(4,$kindInt,"json.floatEncoder",true,"encoding/json",false,null);DI=$pkg.structEncoder=$newType(0,$kindStruct,"json.structEncoder",true,"encoding/json",false,function(fields_){this.$val=this;if(arguments.length===0){this.fields=new DJ.ptr(FJ.nil,false);return;}this.fields=fields_;});DJ=$pkg.structFields=$newType(0,$kindStruct,"json.structFields",true,"encoding/json",false,function(list_,nameIndex_){this.$val=this;if(arguments.length===0){this.list=FJ.nil;this.nameIndex=false;return;}this.list=list_;this.nameIndex=nameIndex_;});DL=$pkg.mapEncoder=$newType(0,$kindStruct,"json.mapEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DO=$pkg.sliceEncoder=$newType(0,$kindStruct,"json.sliceEncoder",true,"encoding/json",false,function(arrayEnc_){this.$val=this;if(arguments.length===0){this.arrayEnc=$throwNilPointerError;return;}this.arrayEnc=arrayEnc_;});DQ=$pkg.arrayEncoder=$newType(0,$kindStruct,"json.arrayEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DS=$pkg.ptrEncoder=$newType(0,$kindStruct,"json.ptrEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DU=$pkg.condAddrEncoder=$newType(0,$kindStruct,"json.condAddrEncoder",true,"encoding/json",false,function(canAddrEnc_,elseEnc_){this.$val=this;if(arguments.length===0){this.canAddrEnc=$throwNilPointerError;this.elseEnc=$throwNilPointerError;return;}this.canAddrEnc=canAddrEnc_;this.elseEnc=elseEnc_;});DY=$pkg.reflectWithString=$newType(0,$kindStruct,"json.reflectWithString",true,"encoding/json",false,function(k_,v_,ks_){this.$val=this;if(arguments.length===0){this.k=new L.Value.ptr(FO.nil,0,0);this.v=new L.Value.ptr(FO.nil,0,0);this.ks="";return;}this.k=k_;this.v=v_;this.ks=ks_;});DZ=$pkg.field=$newType(0,$kindStruct,"json.field",true,"encoding/json",false,function(name_,nameBytes_,equalFold_,nameNonEsc_,nameEscHTML_,tag_,index_,typ_,omitEmpty_,quoted_,encoder_){this.$val=this;if(arguments.length===0){this.name="";this.nameBytes=FA.nil;this.equalFold=$throwNilPointerError;this.nameNonEsc="";this.nameEscHTML="";this.tag=false;this.index=EX.nil;this.typ=$ifaceNil;this.omitEmpty=false;this.quoted=false;this.encoder=$throwNilPointerError;return;}this.name=name_;this.nameBytes=nameBytes_;this.equalFold=equalFold_;this.nameNonEsc=nameNonEsc_;this.nameEscHTML=nameEscHTML_;this.tag=tag_;this.index=index_;this.typ=typ_;this.omitEmpty=omitEmpty_;this.quoted=quoted_;this.encoder=encoder_;});EA=$pkg.byIndex=$newType(12,$kindSlice,"json.byIndex",true,"encoding/json",false,null);EK=$pkg.Number=$newType(8,$kindString,"json.Number",true,"encoding/json",true,null);EV=$sliceType($emptyInterface);EX=$sliceType($Int);EY=$ptrType(CA);EZ=$ptrType(H.TextMarshaler);FA=$sliceType($Uint8);FB=$ptrType(H.TextUnmarshaler);FG=$ptrType(AE);FH=$ptrType(CG);FI=$arrayType($Uint8,64);FJ=$sliceType(DZ);FK=$structType("",[]);FL=$sliceType(DY);FM=$structType("encoding/json",[{prop:"ptr",name:"ptr",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"len",name:"len",embedded:false,exported:false,typ:$Int,tag:""}]);FO=$ptrType(L.rtype);FU=$ptrType(AD);FV=$funcType([FG,$Uint8],[$Int],false);FW=$ptrType(CB);FX=$ptrType(CC);FZ=$ptrType(CE);GA=$mapType($emptyInterface,FK);GB=$mapType($String,$Int);GC=$ptrType(DY);GD=$funcType([FA,FA],[$Bool],false);Q=function(d){var d,e,f;e=A.Cut(d,",");d=e[0];f=e[1];return[d,(f)];};P.prototype.Contains=function(d){var d,e,f,g,h;e=this.$val;if(e.length===0){return false;}f=(e);while(true){if(!(!(f===""))){break;}g="";h=A.Cut(f,",");g=h[0];f=h[1];if(g===d){return true;}}return false;};$ptrType(P).prototype.Contains=function(d){return new P(this.$get()).Contains(d);};AD.ptr.prototype.Error=function(){var d;d=this;return d.msg;};AD.prototype.Error=function(){return this.$val.Error();};AG=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=AF.Get();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$assertType(d,FG);e.bytes=new $Int64(0,0);e.reset();$s=-1;return e;}return;}var $f={$blk:AG,$c:true,$r,d,e,$s};return $f;};AH=function(d){var d;if(d.parseState.$length>1024){d.parseState=EX.nil;}AF.Put(d);};AE.ptr.prototype.reset=function(){var d;d=this;d.step=AK;d.parseState=$subslice(d.parseState,0,0);d.err=$ifaceNil;d.endTop=false;};AE.prototype.reset=function(){return this.$val.reset();};AE.ptr.prototype.eof=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){$s=-1;return 11;}if(d.endTop){$s=-1;return 10;}e=d.step(d,32);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;if(d.endTop){$s=-1;return 10;}if($interfaceIsEqual(d.err,$ifaceNil)){d.err=new AD.ptr("unexpected end of JSON input",d.bytes);}$s=-1;return 11;}return;}var $f={$blk:AE.ptr.prototype.eof,$c:true,$r,d,e,$s};return $f;};AE.prototype.eof=function(){return this.$val.eof();};AE.ptr.prototype.pushParseState=function(d,e,f){var d,e,f,g;g=this;g.parseState=$append(g.parseState,e);if(g.parseState.$length<=10000){return f;}return g.error(d,"exceeded max depth");};AE.prototype.pushParseState=function(d,e,f){return this.$val.pushParseState(d,e,f);};AE.ptr.prototype.popParseState=function(){var d,e;d=this;e=d.parseState.$length-1>>0;d.parseState=$subslice(d.parseState,0,e);if(e===0){d.step=AO;d.endTop=true;}else{d.step=AN;}};AE.prototype.popParseState=function(){return this.$val.popParseState();};AI=function(d){var d;return d<=32&&((d===32)||(d===9)||(d===13)||(d===10));};AJ=function(d,e){var d,e;if(AI(e)){return 9;}if(e===93){return AN(d,e);}return AK(d,e);};AK=function(d,e){var d,e,f;if(AI(e)){return 9;}f=e;if(f===(123)){d.step=AL;return d.pushParseState(e,0,2);}else if(f===(91)){d.step=AJ;return d.pushParseState(e,2,6);}else if(f===(34)){d.step=AP;return 1;}else if(f===(45)){d.step=AV;return 1;}else if(f===(48)){d.step=AX;return 1;}else if(f===(116)){d.step=BD;return 1;}else if(f===(102)){d.step=BG;return 1;}else if(f===(110)){d.step=BK;return 1;}if(49<=e&&e<=57){d.step=AW;return 1;}return d.error(e,"looking for beginning of value");};AL=function(d,e){var d,e,f,g,h;if(AI(e)){return 9;}if(e===125){f=d.parseState.$length;(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]=1));return AN(d,e);}return AM(d,e);};AM=function(d,e){var d,e;if(AI(e)){return 9;}if(e===34){d.step=AP;return 1;}return d.error(e,"looking for beginning of object key string");};AN=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d.parseState.$length;if(f===0){d.step=AO;d.endTop=true;return AO(d,e);}if(AI(e)){d.step=AN;return 9;}i=(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));j=i;if(j===(0)){if(e===58){(k=d.parseState,l=f-1>>0,((l<0||l>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]=1));d.step=AK;return 3;}return d.error(e,"after object key");}else if(j===(1)){if(e===44){(m=d.parseState,n=f-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]=0));d.step=AM;return 4;}if(e===125){d.popParseState();return 5;}return d.error(e,"after object key:value pair");}else if(j===(2)){if(e===44){d.step=AK;return 7;}if(e===93){d.popParseState();return 8;}return d.error(e,"after array element");}return d.error(e,"");};AO=function(d,e){var d,e;if(!AI(e)){d.error(e,"after top-level value");}return 10;};AP=function(d,e){var d,e;if(e===34){d.step=AN;return 0;}if(e===92){d.step=AQ;return 0;}if(e<32){return d.error(e,"in string literal");}return 0;};AQ=function(d,e){var d,e,f;f=e;if((f===(98))||(f===(102))||(f===(110))||(f===(114))||(f===(116))||(f===(92))||(f===(47))||(f===(34))){d.step=AP;return 0;}else if(f===(117)){d.step=AR;return 0;}return d.error(e,"in string escape code");};AR=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AS;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AS=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AT;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AT=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AU;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AU=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AP;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AV=function(d,e){var d,e;if(e===48){d.step=AX;return 0;}if(49<=e&&e<=57){d.step=AW;return 0;}return d.error(e,"in numeric literal");};AW=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AW;return 0;}return AX(d,e);};AX=function(d,e){var d,e;if(e===46){d.step=AY;return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};AY=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AZ;return 0;}return d.error(e,"after decimal point in numeric literal");};AZ=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};BA=function(d,e){var d,e;if((e===43)||(e===45)){d.step=BB;return 0;}return BB(d,e);};BB=function(d,e){var d,e;if(48<=e&&e<=57){d.step=BC;return 0;}return d.error(e,"in exponent of numeric literal");};BC=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}return AN(d,e);};BD=function(d,e){var d,e;if(e===114){d.step=BE;return 0;}return d.error(e,"in literal true (expecting 'r')");};BE=function(d,e){var d,e;if(e===117){d.step=BF;return 0;}return d.error(e,"in literal true (expecting 'u')");};BF=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal true (expecting 'e')");};BG=function(d,e){var d,e;if(e===97){d.step=BH;return 0;}return d.error(e,"in literal false (expecting 'a')");};BH=function(d,e){var d,e;if(e===108){d.step=BI;return 0;}return d.error(e,"in literal false (expecting 'l')");};BI=function(d,e){var d,e;if(e===115){d.step=BJ;return 0;}return d.error(e,"in literal false (expecting 's')");};BJ=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal false (expecting 'e')");};BK=function(d,e){var d,e;if(e===117){d.step=BL;return 0;}return d.error(e,"in literal null (expecting 'u')");};BL=function(d,e){var d,e;if(e===108){d.step=BM;return 0;}return d.error(e,"in literal null (expecting 'l')");};BM=function(d,e){var d,e;if(e===108){d.step=AN;return 0;}return d.error(e,"in literal null (expecting 'l')");};BN=function(d,e){var d,e;return 11;};AE.ptr.prototype.error=function(d,e){var d,e,f;f=this;f.step=BN;f.err=new AD.ptr("invalid character "+BO(d)+" "+e,f.bytes);return 11;};AE.prototype.error=function(d,e){return this.$val.error(d,e);};BO=function(d){var d,e;if(d===39){return"'\\''";}if(d===34){return"'\"'";}e=F.Quote(($encodeRune(d)));return"'"+$substring(e,1,(e.length-1>>0))+"'";};BQ=function(d,e,f){var{aa,ab,ac,ad,ae,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=d.Len();h=AG();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$deferred.push([AH,[i]]);j=0;k=e;l=0;case 2:if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if(f&&((n===60)||(n===62)||(n===38))){$s=4;continue;}$s=5;continue;case 4:if(j>>4<<24>>>24)));$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=d.WriteByte(CF.charCodeAt(((n&15)>>>0)));$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;j=m+1>>0;case 5:if(f&&(n===226)&&(m+2>>0)>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))===128)&&((((t=m+2>>0,((t<0||t>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+t]))&~1)<<24>>>24)===168)){$s=12;continue;}$s=13;continue;case 12:if(j>0,((w<0||w>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+w]))&15)>>>0)));$s=18;case 18:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;j=m+3>>0;case 13:y=i.step(i,n);$s=19;case 19:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(z>=9){$s=20;continue;}$s=21;continue;case 20:if(z===11){$s=3;continue;}if(j>0;case 21:l++;$s=2;continue;case 3:ab=i.eof();$s=27;case 27:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(ab===11){$s=25;continue;}$s=26;continue;case 25:d.Truncate(g);ac=i.err;$s=28;case 28:return ac;case 26:if(j=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=128){return C.EqualFold;}j=(i&223)>>>0;if(j<65||j>90){e=true;}else if((j===75)||(j===83)){f=true;}h++;}if(f){return BU;}if(e){return BV;}return BW;};BU=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(e.$length===0){return false;}i=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if(i<128){if(!((h===i))){j=(h&223)>>>0;if(65<=j&&j<=90){if(!((j===((i&223)>>>0)))){return false;}}else{return false;}}e=$subslice(e,1);g++;continue;}k=B.DecodeRune(e);l=k[0];m=k[1];n=h;if((n===(115))||(n===(83))){if(!((l===383))){return false;}}else if((n===(107))||(n===(75))){if(!((l===8490))){return false;}}else{return false;}e=$subslice(e,m);g++;}if(e.$length>0){return false;}return true;};BV=function(d,e){var d,e,f,g,h,i,j;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h]);if(i===j){g++;continue;}if((97<=i&&i<=122)||(65<=i&&i<=90)){if(!((((i&223)>>>0)===((j&223)>>>0)))){return false;}}else{return false;}g++;}return true;};BW=function(d,e){var d,e,f,g,h,i;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!((((i&223)>>>0)===((((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h])&223)>>>0)))){return false;}g++;}return true;};BX=function(d){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=CI();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=f.marshal(d,new CL.ptr(false,true));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[FA.nil,h];}i=$appendSlice((FA.nil),f.Buffer.Bytes());CH.Put(f);$s=-1;return[i,$ifaceNil];}return;}var $f={$blk:BX,$c:true,$r,d,e,f,g,h,i,$s};return $f;};$pkg.Marshal=BX;BZ=function(d,e){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=0;g=e;h=0;case 1:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if((j===60)||(j===62)||(j===38)){$s=3;continue;}$s=4;continue;case 3:if(f>>4<<24>>>24)));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=d.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;f=i+1>>0;case 4:if((j===226)&&(i+2>>0)>0,((o<0||o>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+o]))===128)&&((((p=i+2>>0,((p<0||p>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+p]))&~1)<<24>>>24)===168)){$s=11;continue;}$s=12;continue;case 11:if(f>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))&15)>>>0)));$s=17;case 17:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;f=i+3>>0;case 12:h++;$s=1;continue;case 2:if(f0){$panic(new $String("ptrEncoder.encode should have emptied ptrSeen via defers"));}f.ptrLevel=0;$s=-1;return f;}$s=-1;return new CG.ptr(new C.Buffer.ptr(FA.nil,0,0),FI.zero(),0,new $global.Map());}return;}var $f={$blk:CI,$c:true,$r,d,e,f,$s};return $f;};CG.ptr.prototype.marshal=function(d,e){var{d,e,f,g,h,i,$s,$deferred,$r,$c}=$restore(this,{d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=[f];f[0]=$ifaceNil;g=this;$deferred.push([(function(f){return function(){var h,i,j,k;h=$recover();if(!($interfaceIsEqual(h,$ifaceNil))){i=$assertType(h,CJ,true);j=$clone(i[0],CJ);k=i[1];if(k){f[0]=j.error;}else{$panic(h);}}};})(f),[]]);h=L.ValueOf(d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=g.reflectValue($clone(h,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f[0]=$ifaceNil;i=f[0];$s=3;case 3:return i;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return f[0];}if($curGoroutine.asleep){var $f={$blk:CG.ptr.prototype.marshal,$c:true,$r,d,e,f,g,h,i,$s,$deferred};return $f;}}};CG.prototype.marshal=function(d,e){return this.$val.marshal(d,e);};CG.ptr.prototype.error=function(d){var d,e,f;e=this;$panic((f=new CJ.ptr(d),new f.constructor.elem(f)));};CG.prototype.error=function(d){return this.$val.error(d);};CK=function(d){var d,e,f,g;e=$clone(d,L.Value).Kind();if((e===(17))||(e===(21))||(e===(23))||(e===(24))){return $clone(d,L.Value).Len()===0;}else if(e===(1)){return!$clone(d,L.Value).Bool();}else if((e===(2))||(e===(3))||(e===(4))||(e===(5))||(e===(6))){return(f=$clone(d,L.Value).Int(),(f.$high===0&&f.$low===0));}else if((e===(7))||(e===(8))||(e===(9))||(e===(10))||(e===(11))||(e===(12))){return(g=$clone(d,L.Value).Uint(),(g.$high===0&&g.$low===0));}else if((e===(13))||(e===(14))){return $clone(d,L.Value).Float()===0;}else if((e===(20))||(e===(22))){return $clone(d,L.Value).IsNil();}return false;};CG.ptr.prototype.reflectValue=function(d,e){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=CO($clone(d,L.Value));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=g(f,$clone(d,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.reflectValue,$c:true,$r,d,e,f,g,$s};return $f;};CG.prototype.reflectValue=function(d,e){return this.$val.reflectValue(d,e);};CO=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:if(!$clone(d,L.Value).IsValid()){$s=-1;return CT;}e=CP($clone(d,L.Value).Type());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:CO,$c:true,$r,d,e,f,$s};return $f;};CP=function(d){var{d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=CN.Load(d);h=g[0];i=g[1];if(i){$s=-1;return $assertType(h,CM);}f[0]=new G.WaitGroup.ptr(0);e[0]=$throwNilPointerError;f[0].Add(1);j=CN.LoadOrStore(d,new CM(((function(e,f){return function $b(k,l,m){var{k,l,m,$s,$r,$c}=$restore(this,{k,l,m});$s=$s||0;s:while(true){switch($s){case 0:f[0].Wait();$r=e[0](k,$clone(l,L.Value),$clone(m,CL));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:$b,$c:true,$r,k,l,m,$s};return $f;};})(e,f))));k=j[0];l=j[1];if(l){$s=-1;return $assertType(k,CM);}m=CS(d,true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}e[0]=m;f[0].Done();CN.Store(d,new CM(e[0]));$s=-1;return e[0];}return;}var $f={$blk:CP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CS=function(d,e){var{aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:g=d.Kind();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!(!((g===22))&&e)){f=false;$s=3;continue s;}h=L.PointerTo(d).Implements(CQ);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 3:if(f){$s=1;continue;}$s=2;continue;case 1:i=CV;j=CS(d,false);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=DV(i,k);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=8;case 8:return m;case 2:n=d.Implements(CQ);$s=11;case 11:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}if(n){$s=9;continue;}$s=10;continue;case 9:$s=-1;return CU;case 10:p=d.Kind();$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(!(!((p===22))&&e)){o=false;$s=14;continue s;}q=L.PointerTo(d).Implements(CR);$s=16;case 16:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;case 14:if(o){$s=12;continue;}$s=13;continue;case 12:r=CX;s=CS(d,false);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=DV(r,t);$s=18;case 18:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;$s=19;case 19:return v;case 13:w=d.Implements(CR);$s=22;case 22:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(w){$s=20;continue;}$s=21;continue;case 20:$s=-1;return CW;case 21:x=d.Kind();$s=24;case 24:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(y===(1)){$s=25;continue;}if((y===(2))||(y===(3))||(y===(4))||(y===(5))||(y===(6))){$s=26;continue;}if((y===(7))||(y===(8))||(y===(9))||(y===(10))||(y===(11))||(y===(12))){$s=27;continue;}if(y===(13)){$s=28;continue;}if(y===(14)){$s=29;continue;}if(y===(24)){$s=30;continue;}if(y===(20)){$s=31;continue;}if(y===(25)){$s=32;continue;}if(y===(21)){$s=33;continue;}if(y===(23)){$s=34;continue;}if(y===(17)){$s=35;continue;}if(y===(22)){$s=36;continue;}$s=37;continue;case 25:$s=-1;return CY;case 26:$s=-1;return CZ;case 27:$s=-1;return DA;case 28:$s=-1;return DC;case 29:$s=-1;return DD;case 30:$s=-1;return DE;case 31:$s=-1;return DG;case 32:z=DK(d);$s=39;case 39:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;$s=40;case 40:return aa;case 33:ab=DM(d);$s=41;case 41:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;$s=42;case 42:return ac;case 34:ad=DP(d);$s=43;case 43:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;$s=44;case 44:return ae;case 35:af=DR(d);$s=45;case 45:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;$s=46;case 46:return ag;case 36:ah=DT(d);$s=47;case 47:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=ah;$s=48;case 48:return ai;case 37:$s=-1;return DH;case 38:case 23:$s=-1;return $throwNilPointerError;}return;}var $f={$blk:CS,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CT=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=d.Buffer.WriteString("null");$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}var $f={$blk:CT,$c:true,$r,d,e,f,g,$s};return $f;};CU=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,CA,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalJSON();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if($interfaceIsEqual(p,$ifaceNil)){$s=9;continue;}$s=10;continue;case 9:q=BQ(d.Buffer,o,f.escapeHTML);$s=11;case 11:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;case 10:if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CU,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};CV=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,CA);l=j.MarshalJSON();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if($interfaceIsEqual(n,$ifaceNil)){$s=6;continue;}$s=7;continue;case 6:o=BQ(d.Buffer,m,f.escapeHTML);$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;case 7:if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CV,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CW=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,H.TextMarshaler,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalText();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalText"));}$r=d.stringBytes(o,f.escapeHTML);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CW,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};CX=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,H.TextMarshaler);l=j.MarshalText();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalText"));}$r=d.stringBytes(m,f.escapeHTML);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CX,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};CY=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f.quoted){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:if($clone(e,L.Value).Bool()){$s=4;continue;}$s=5;continue;case 4:h=d.Buffer.WriteString("true");$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=6;continue;case 5:i=d.Buffer.WriteString("false");$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:if(f.quoted){$s=9;continue;}$s=10;continue;case 9:j=d.Buffer.WriteByte(34);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 10:$s=-1;return;}return;}var $f={$blk:CY,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};CZ=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendInt($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Int(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:CZ,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DA=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendUint($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Uint(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:DA,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DB.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this.$val;h=$clone(e,L.Value).Float();if(K.IsInf(h,0)||K.IsNaN(h)){d.error(new CC.ptr($clone(e,L.Value),F.FormatFloat(h,103,-1,((g>>0)))));}i=$subslice(new FA(d.scratch),0,0);j=K.Abs(h);k=102;if(!((j===0))){if((g===64)&&(j<1e-06||j>=1e+21)||(g===32)&&(($fround(j))<9.999999974752427e-07||($fround(j))>=1.0000000200408773e+21)){k=101;}}i=F.AppendFloat(i,h,k,-1,((g>>0)));if(k===101){l=i.$length;if(l>=4&&((m=l-4>>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]))===101)&&((n=l-3>>0,((n<0||n>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+n]))===45)&&((o=l-2>>0,((o<0||o>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+o]))===48)){(q=l-2>>0,((q<0||q>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+q]=(p=l-1>>0,((p<0||p>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+p]))));i=$subslice(i,0,(l-1>>0));}}if(f.quoted){$s=1;continue;}$s=2;continue;case 1:r=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 2:s=d.Buffer.Write(i);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:t=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 6:$s=-1;return;}return;}var $f={$blk:DB.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$ptrType(DB).prototype.encode=function(d,e,f){return new DB(this.$get()).encode(d,e,f);};DE=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($interfaceIsEqual($clone(e,L.Value).Type(),ER)){$s=1;continue;}$s=2;continue;case 1:g=$clone(e,L.Value).String();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===""){h="0";}if(!DF(h)){$s=4;continue;}$s=5;continue;case 4:i=J.Errorf("json: invalid number literal %q",new EV([new $String(h)]));$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$r=d.error(i);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(f.quoted){$s=8;continue;}$s=9;continue;case 8:j=d.Buffer.WriteByte(34);$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 9:k=d.Buffer.WriteString(h);$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;if(f.quoted){$s=12;continue;}$s=13;continue;case 12:l=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;case 13:$s=-1;return;case 2:if(f.quoted){$s=15;continue;}$s=16;continue;case 15:m=CI();$s=18;case 18:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=$clone(e,L.Value).String();$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=n.string(o,f.escapeHTML);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.stringBytes(n.Buffer.Bytes(),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH.Put(n);$s=17;continue;case 16:p=$clone(e,L.Value).String();$s=22;case 22:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=d.string(p,f.escapeHTML);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return;}return;}var $f={$blk:DE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DF=function(d){var d;if(d===""){return false;}if(d.charCodeAt(0)===45){d=$substring(d,1);if(d===""){return false;}}if((d.charCodeAt(0)===48)){d=$substring(d,1);}else if(49<=d.charCodeAt(0)&&d.charCodeAt(0)<=57){d=$substring(d,1);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}else{return false;}if(d.length>=2&&(d.charCodeAt(0)===46)&&48<=d.charCodeAt(1)&&d.charCodeAt(1)<=57){d=$substring(d,2);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}if(d.length>=2&&((d.charCodeAt(0)===101)||(d.charCodeAt(0)===69))){d=$substring(d,1);if((d.charCodeAt(0)===43)||(d.charCodeAt(0)===45)){d=$substring(d,1);if(d===""){return false;}}while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}return d==="";};DG=function(d,e,f){var{d,e,f,g,h,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Elem();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=d.reflectValue($clone(h,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:DG,$c:true,$r,d,e,f,g,h,$s};return $f;};DH=function(d,e,f){var d,e,f;d.error(new CB.ptr($clone(e,L.Value).Type()));};DI.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=123;i=g.fields.list;j=0;case 1:if(!(j=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+k]));n=e;o=m.index;p=0;case 3:if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if($clone(n,L.Value).Kind()===22){$s=5;continue;}$s=6;continue;case 5:if($clone(n,L.Value).IsNil()){j++;$s=1;continue s;}r=$clone(n,L.Value).Elem();$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}n=r;case 6:s=$clone(n,L.Value).Field(q);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}n=s;p++;$s=3;continue;case 4:if(m.omitEmpty&&CK($clone(n,L.Value))){j++;$s=1;continue;}t=d.Buffer.WriteByte(h);$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;h=44;if(f.escapeHTML){$s=10;continue;}$s=11;continue;case 10:u=d.Buffer.WriteString(m.nameEscHTML);$s=13;case 13:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=12;continue;case 11:v=d.Buffer.WriteString(m.nameNonEsc);$s=14;case 14:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 12:f.quoted=m.quoted;$r=m.encoder(d,$clone(n,L.Value),$clone(f,CL));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j++;$s=1;continue;case 2:if(h===123){$s=16;continue;}$s=17;continue;case 16:w=d.Buffer.WriteString("{}");$s=19;case 19:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=18;continue;case 17:x=d.Buffer.WriteByte(125);$s=20;case 20:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 18:$s=-1;return;}return;}var $f={$blk:DI.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};DI.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DK=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=EE(d);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=new DI.ptr($clone(e,DJ));$s=-1;return $methodVal($clone(f,DI),"encode");}return;}var $f={$blk:DK,$c:true,$r,d,e,f,$s};return $f;};DL.ptr.prototype.encode=function(d,e,f){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=[g];h=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:i=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:j=$clone(e,L.Value).Pointer();k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new $Uintptr(j))),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=7;continue;}$s=8;continue;case 7:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:o=new $Uintptr(j);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,new $Uintptr(j)]]);case 6:r=d.Buffer.WriteByte(123);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g[0]=$makeSlice(FL,$clone(e,L.Value).Len());s=$clone(e,L.Value).MapRange();t=0;case 12:u=s.Next();$s=14;case 14:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!(u)){$s=13;continue;}v=s.Key();$s=15;case 15:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).k=v;w=s.Value();$s=16;case 16:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).v=w;x=((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).resolve();$s=17;case 17:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){$s=18;continue;}$s=19;continue;case 18:z=$clone(e,L.Value).Type().String();$s=20;case 20:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=new $String(z);ab=y.Error();$s=21;case 21:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=new $String(ab);ad=J.Errorf("json: encoding error for type %q: %q",new EV([aa,ac]));$s=22;case 22:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}$r=d.error(ad);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:t=t+(1)>>0;$s=12;continue;case 13:$r=M.Slice(g[0],(function(g){return function(ae,af){var ae,af;return((ae<0||ae>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+ae]).ks<((af<0||af>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+af]).ks;};})(g));$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ae=g[0];af=0;case 25:if(!(af=ae.$length)?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+af]),DY);if(ag>0){$s=27;continue;}$s=28;continue;case 27:ai=d.Buffer.WriteByte(44);$s=29;case 29:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;case 28:$r=d.string(ah.ks,f.escapeHTML);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aj=d.Buffer.WriteByte(58);$s=31;case 31:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$r=h.elemEnc(d,$clone(ah.v,L.Value),$clone(f,CL));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}af++;$s=25;continue;case 26:ak=d.Buffer.WriteByte(125);$s=33;case 33:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DL.ptr.prototype.encode,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};DL.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DM=function(d){var{d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Key();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if((g===(24))||(g===(2))||(g===(3))||(g===(4))||(g===(5))||(g===(6))||(g===(7))||(g===(8))||(g===(9))||(g===(10))||(g===(11))||(g===(12))){$s=4;continue;}h=d.Key();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h.Implements(CR);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=5;continue;}$s=6;continue;case 4:$s=6;continue;case 5:$s=-1;return DH;case 6:case 1:j=d.Elem();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=CP(j);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=new DL.ptr(k);$s=-1;return $methodVal($clone(l,DL),"encode");}return;}var $f={$blk:DM,$c:true,$r,d,e,f,g,h,i,j,k,l,$s};return $f;};DN=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Bytes();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=d.Buffer.WriteByte(34);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=I.StdEncoding.EncodedLen(i.$length);if(k<=64){$s=6;continue;}if(k<=1024){$s=7;continue;}$s=8;continue;case 6:l=$subslice(new FA(d.scratch),0,k);I.StdEncoding.Encode(l,i);m=d.Buffer.Write(l);$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=9;continue;case 7:n=$makeSlice(FA,k);I.StdEncoding.Encode(n,i);o=d.Buffer.Write(n);$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=9;continue;case 8:p=I.NewEncoder(I.StdEncoding,d);q=p.Write(i);$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=p.Close();$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 9:s=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return;}return;}var $f={$blk:DN,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};DO.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=new FM.ptr($clone(e,L.Value).Pointer(),$clone(e,L.Value).Len());j=(k=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new i.constructor.elem(i))),k!==undefined?[k.v,true]:[new FK.ptr(),false]);l=j[1];if(l){$s=7;continue;}$s=8;continue;case 7:m=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),m));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:n=new i.constructor.elem(i);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(n),{k:n,v:new FK.ptr()});$deferred.push([function(o,p){$mapDelete(o,$emptyInterface.keyFor(p));},[d.ptrSeen,new i.constructor.elem(i)]]);case 6:$r=g.arrayEnc(d,$clone(e,L.Value),$clone(f,CL));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DO.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};DO.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DP=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f===8){$s=1;continue;}$s=2;continue;case 1:g=d.Elem();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=L.PointerTo(g);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;k=i.Implements(CQ);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(!(!k)){j=false;$s=9;continue s;}l=i.Implements(CR);$s=11;case 11:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=!l;case 9:if(j){$s=7;continue;}$s=8;continue;case 7:$s=-1;return DN;case 8:case 2:m=DR(d);$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=new DO.ptr(m);$s=-1;return $methodVal($clone(n,DO),"encode");}return;}var $f={$blk:DP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DQ.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=d.Buffer.WriteByte(91);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=$clone(e,L.Value).Len();j=0;case 2:if(!(j0){$s=4;continue;}$s=5;continue;case 4:k=d.Buffer.WriteByte(44);$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;case 5:l=d;m=$clone(e,L.Value).Index(j);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=$clone(m,L.Value);o=$clone(f,CL);$r=g.elemEnc(l,n,o);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=j+(1)>>0;$s=2;continue;case 3:p=d.Buffer.WriteByte(93);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=-1;return;}return;}var $f={$blk:DQ.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DQ.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DR=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DQ.ptr(f);$s=-1;return $methodVal($clone(g,DQ),"encode");}return;}var $f={$blk:DR,$c:true,$r,d,e,f,g,$s};return $f;};DS.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=$clone(e,L.Value).Interface();$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(j)),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=8;continue;}$s=9;continue;case 8:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:o=j;(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,j]]);case 6:r=d;s=$clone(e,L.Value).Elem();$s=12;case 12:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=$clone(s,L.Value);u=$clone(f,CL);$r=g.elemEnc(r,t,u);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DS.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred};return $f;}}};DS.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DT=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DS.ptr(f);$s=-1;return $methodVal($clone(g,DS),"encode");}return;}var $f={$blk:DT,$c:true,$r,d,e,f,g,$s};return $f;};DU.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;if($clone(e,L.Value).CanAddr()){$s=1;continue;}$s=2;continue;case 1:$r=g.canAddrEnc(d,$clone(e,L.Value),$clone(f,CL));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=g.elseEnc(d,$clone(e,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:DU.ptr.prototype.encode,$c:true,$r,d,e,f,g,$s};return $f;};DU.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DV=function(d,e){var d,e,f;f=new DU.ptr(d,e);return $methodVal($clone(f,DU),"encode");};DW=function(d){var d,e,f,g,h;if(d===""){return false;}e=d;f=0;while(true){if(!(f?@[]^_{|}~ ",h)){}else if(!N.IsLetter(h)&&!N.IsDigit(h)){return false;}f+=g[1];}return true;};DX=function(d,e){var{d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=e;g=0;case 1:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);i=d.Kind();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(i===22){$s=3;continue;}$s=4;continue;case 3:j=d.Elem();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;case 4:k=d.Field(h);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k.Type;g++;$s=1;continue;case 2:$s=-1;return d;}return;}var $f={$blk:DX,$c:true,$r,d,e,f,g,h,i,j,k,$s};return $f;};DY.ptr.prototype.resolve=function(){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if($clone(d.k,L.Value).Kind()===24){$s=1;continue;}$s=2;continue;case 1:e=$clone(d.k,L.Value).String();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.ks=e;$s=-1;return $ifaceNil;case 2:g=$clone(d.k,L.Value).Interface();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=$assertType(g,H.TextMarshaler,true);h=f[0];i=f[1];if(i){$s=5;continue;}$s=6;continue;case 5:if(($clone(d.k,L.Value).Kind()===22)&&$clone(d.k,L.Value).IsNil()){$s=-1;return $ifaceNil;}k=h.MarshalText();$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];d.ks=($bytesToString(l));$s=-1;return m;case 6:n=$clone(d.k,L.Value).Kind();if((n===(2))||(n===(3))||(n===(4))||(n===(5))||(n===(6))){d.ks=F.FormatInt($clone(d.k,L.Value).Int(),10);$s=-1;return $ifaceNil;}else if((n===(7))||(n===(8))||(n===(9))||(n===(10))||(n===(11))||(n===(12))){d.ks=F.FormatUint($clone(d.k,L.Value).Uint(),10);$s=-1;return $ifaceNil;}$panic(new $String("unexpected map key type"));$s=-1;return $ifaceNil;}return;}var $f={$blk:DY.ptr.prototype.resolve,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DY.prototype.resolve=function(){return this.$val.resolve();};CG.ptr.prototype.string=function(d,e){var{aa,ab,ac,ad,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=f.Buffer.WriteByte(34);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=0;i=0;case 2:if(!(i=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRuneInString($substring(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+i]);if(j<128){$s=4;continue;}$s=5;continue;case 4:if(((j<0||j>=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRune($subslice(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),DZ);h=$clone(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),DZ);DZ.copy(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),g);DZ.copy(((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),h);};$ptrType(EA).prototype.Swap=function(d,e){return this.$get().Swap(d,e);};EA.prototype.Less=function(d,e){var d,e,f,g,h,i,j,k,l;f=this;g=((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length){return false;}if(!((j===(k=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+i]))))){return j<(l=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+i]));}h++;}return((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index.$length<((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length;};$ptrType(EA).prototype.Less=function(d,e){return this.$get().Less(d,e);};EB=function(d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=new FJ([]);h=new FJ([new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,d,false,false,$throwNilPointerError)]);i=false;j=false;k=i;l=j;m=$makeMap(L.Type.keyFor,[]);e[0]=FJ.nil;f[0]=new C.Buffer.ptr(FA.nil,0,0);case 1:if(!(h.$length>0)){$s=2;continue;}n=h;o=$subslice(g,0,0);g=n;h=o;p=l;q=$makeMap(L.Type.keyFor,[]);k=p;l=q;r=g;s=0;case 3:if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]),DZ);if((u=$mapIndex(m,L.Type.keyFor(t.typ)),u!==undefined?u.v:false)){s++;$s=3;continue;}v=t.typ;(m||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(v),{k:v,v:true});w=0;case 5:x=t.typ.NumField();$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}if(!(w>0;$s=5;continue;case 17:$s=11;continue;case 10:w=w+(1)>>0;$s=5;continue;case 11:af=new L.StructTag(z.Tag).Get("json");if(af==="-"){w=w+(1)>>0;$s=5;continue;}ag=Q(af);ah=ag[0];ai=ag[1];if(!DW(ah)){ah="";}aj=$makeSlice(EX,(t.index.$length+1>>0));$copySlice(aj,t.index);(ak=t.index.$length,((ak<0||ak>=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]=w));al=z.Type;an=al.Name();$s=23;case 23:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!(an==="")){am=false;$s=22;continue s;}ao=al.Kind();$s=24;case 24:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao===22;case 22:if(am){$s=20;continue;}$s=21;continue;case 20:ap=al.Elem();$s=25;case 25:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}al=ap;case 21:aq=false;if(new P(ai).Contains("string")){$s=26;continue;}$s=27;continue;case 26:ar=al.Kind();$s=29;case 29:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if((as===(1))||(as===(2))||(as===(3))||(as===(4))||(as===(5))||(as===(6))||(as===(7))||(as===(8))||(as===(9))||(as===(10))||(as===(11))||(as===(12))||(as===(13))||(as===(14))||(as===(24))){aq=true;}case 28:case 27:if(!(ah==="")||!z.Anonymous){at=true;$s=32;continue s;}au=al.Kind();$s=33;case 33:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=!((au===25));case 32:if(at){$s=30;continue;}$s=31;continue;case 30:av=!(ah==="");if(ah===""){ah=z.Name;}aw=new DZ.ptr(ah,FA.nil,$throwNilPointerError,"","",av,aj,al,new P(ai).Contains("omitempty"),aq,$throwNilPointerError);aw.nameBytes=(new FA($stringToBytes(aw.name)));aw.equalFold=BT(aw.nameBytes);f[0].Reset();ax=f[0].WriteString("\"");$s=34;case 34:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ax;$r=BZ(f[0],aw.nameBytes);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ay=f[0].WriteString("\":");$s=36;case 36:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;aw.nameEscHTML=f[0].String();aw.nameNonEsc="\""+aw.name+"\":";e[0]=$append(e[0],aw);if((az=$mapIndex(k,L.Type.keyFor(t.typ)),az!==undefined?az.v:0)>1){e[0]=$append(e[0],(ba=e[0].$length-1>>0,((ba<0||ba>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+ba])));}w=w+(1)>>0;$s=5;continue;case 31:bb=al;(l||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(bb),{k:bb,v:(bc=$mapIndex(l,L.Type.keyFor(al)),bc!==undefined?bc.v:0)+(1)>>0});if((bd=$mapIndex(l,L.Type.keyFor(al)),bd!==undefined?bd.v:0)===1){$s=37;continue;}$s=38;continue;case 37:be=al.Name();$s=39;case 39:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}h=$append(h,new DZ.ptr(be,FA.nil,$throwNilPointerError,"","",false,aj,al,false,false,$throwNilPointerError));case 38:w=w+(1)>>0;$s=5;continue;case 6:s++;$s=3;continue;case 4:$s=1;continue;case 2:$r=M.Slice(e[0],(function(e,f){return function(bf,bg){var bf,bg,bh;bh=e[0];if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name;}if(!((((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length))){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length;}if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).tag)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag;}return($convertSliceType(bh,EA)).Less(bf,bg);};})(e,f));$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bf=$subslice(e[0],0,0);bg=0;bh=0;bi=bg;bj=bh;while(true){if(!(bj=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bj]),DZ);bl=bk.name;bi=1;while(true){if(!((bj+bi>>0)>0,((bm<0||bm>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bm])),DZ);if(!(bn.name===bl)){break;}bi=bi+(1)>>0;}if(bi===1){bf=$append(bf,bk);bj=bj+(bi)>>0;continue;}bo=EC($subslice(e[0],bj,(bj+bi>>0)));bp=$clone(bo[0],DZ);bq=bo[1];if(bq){bf=$append(bf,bp);}bj=bj+(bi)>>0;}e[0]=bf;$r=M.Sort(($convertSliceType(e[0],EA)));$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}br=e[0];bs=0;case 42:if(!(bs=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bt]);bv=DX(d,bu.index);$s=44;case 44:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=CP(bv);$s=45;case 45:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bu.encoder=bw;bs++;$s=42;continue;case 43:by=(bx=e[0].$length,((bx<0||bx>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));bz=e[0];ca=0;while(true){if(!(ca=bz.$length)?($throwRuntimeError("index out of range"),undefined):bz.$array[bz.$offset+ca]),DZ);cd=cc.name;(by||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(cd),{k:cd,v:cb});ca++;}$s=-1;return new DJ.ptr(e[0],by);}return;}var $f={$blk:EB,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};EC=function(d){var d;if(d.$length>1&&((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).index.$length===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).index.$length)&&(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).tag===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).tag){return[new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,$ifaceNil,false,false,$throwNilPointerError),false];}return[(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),true];};EE=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=ED.Load(d);f=e[0];g=e[1];if(g){$s=-1;return $assertType(f,DJ);}i=d;k=EB(d);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=(j=k,new j.constructor.elem(j));m=ED.LoadOrStore(i,l);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}h=m;n=h[0];$s=-1;return $assertType(n,DJ);}return;}var $f={$blk:EE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};EK.prototype.String=function(){var d;d=this.$val;return(d);};$ptrType(EK).prototype.String=function(){return new EK(this.$get()).String();};EK.prototype.Float64=function(){var d;d=this.$val;return F.ParseFloat((d),64);};$ptrType(EK).prototype.Float64=function(){return new EK(this.$get()).Float64();};EK.prototype.Int64=function(){var d;d=this.$val;return F.ParseInt((d),10,64);};$ptrType(EK).prototype.Int64=function(){return new EK(this.$get()).Int64();};P.methods=[{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([$String],[$Bool],false)}];FU.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FG.methods=[{prop:"reset",name:"reset",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"eof",name:"eof",pkg:"encoding/json",typ:$funcType([],[$Int],false)},{prop:"pushParseState",name:"pushParseState",pkg:"encoding/json",typ:$funcType([$Uint8,$Int,$Int],[$Int],false)},{prop:"popParseState",name:"popParseState",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$Uint8,$String],[$Int],false)}];FW.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FX.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FZ.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Unwrap",name:"Unwrap",pkg:"",typ:$funcType([],[$error],false)}];FH.methods=[{prop:"marshal",name:"marshal",pkg:"encoding/json",typ:$funcType([$emptyInterface,CL],[$error],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$error],[],false)},{prop:"reflectValue",name:"reflectValue",pkg:"encoding/json",typ:$funcType([L.Value,CL],[],false)},{prop:"string",name:"string",pkg:"encoding/json",typ:$funcType([$String,$Bool],[],false)},{prop:"stringBytes",name:"stringBytes",pkg:"encoding/json",typ:$funcType([FA,$Bool],[],false)}];DB.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DI.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DL.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DO.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DQ.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DS.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DU.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];GC.methods=[{prop:"resolve",name:"resolve",pkg:"encoding/json",typ:$funcType([],[$error],false)}];EA.methods=[{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Swap",name:"Swap",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Less",name:"Less",pkg:"",typ:$funcType([$Int,$Int],[$Bool],false)}];EK.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Float64",name:"Float64",pkg:"",typ:$funcType([],[$Float64,$error],false)},{prop:"Int64",name:"Int64",pkg:"",typ:$funcType([],[$Int64,$error],false)}];AD.init("encoding/json",[{prop:"msg",name:"msg",embedded:false,exported:false,typ:$String,tag:""},{prop:"Offset",name:"Offset",embedded:false,exported:true,typ:$Int64,tag:""}]);AE.init("encoding/json",[{prop:"step",name:"step",embedded:false,exported:false,typ:FV,tag:""},{prop:"endTop",name:"endTop",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"parseState",name:"parseState",embedded:false,exported:false,typ:EX,tag:""},{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""},{prop:"bytes",name:"bytes",embedded:false,exported:false,typ:$Int64,tag:""}]);CA.init([{prop:"MarshalJSON",name:"MarshalJSON",pkg:"",typ:$funcType([],[FA,$error],false)}]);CB.init("",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""}]);CC.init("",[{prop:"Value",name:"Value",embedded:false,exported:true,typ:L.Value,tag:""},{prop:"Str",name:"Str",embedded:false,exported:true,typ:$String,tag:""}]);CE.init("encoding/json",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""},{prop:"Err",name:"Err",embedded:false,exported:true,typ:$error,tag:""},{prop:"sourceFunc",name:"sourceFunc",embedded:false,exported:false,typ:$String,tag:""}]);CG.init("encoding/json",[{prop:"Buffer",name:"Buffer",embedded:true,exported:true,typ:C.Buffer,tag:""},{prop:"scratch",name:"scratch",embedded:false,exported:false,typ:FI,tag:""},{prop:"ptrLevel",name:"ptrLevel",embedded:false,exported:false,typ:$Uint,tag:""},{prop:"ptrSeen",name:"ptrSeen",embedded:false,exported:false,typ:GA,tag:""}]);CJ.init("encoding/json",[{prop:"error",name:"error",embedded:true,exported:false,typ:$error,tag:""}]);CL.init("encoding/json",[{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"escapeHTML",name:"escapeHTML",embedded:false,exported:false,typ:$Bool,tag:""}]);CM.init([FH,L.Value,CL],[],false);DI.init("encoding/json",[{prop:"fields",name:"fields",embedded:false,exported:false,typ:DJ,tag:""}]);DJ.init("encoding/json",[{prop:"list",name:"list",embedded:false,exported:false,typ:FJ,tag:""},{prop:"nameIndex",name:"nameIndex",embedded:false,exported:false,typ:GB,tag:""}]);DL.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DO.init("encoding/json",[{prop:"arrayEnc",name:"arrayEnc",embedded:false,exported:false,typ:CM,tag:""}]);DQ.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DS.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DU.init("encoding/json",[{prop:"canAddrEnc",name:"canAddrEnc",embedded:false,exported:false,typ:CM,tag:""},{prop:"elseEnc",name:"elseEnc",embedded:false,exported:false,typ:CM,tag:""}]);DY.init("encoding/json",[{prop:"k",name:"k",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"v",name:"v",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"ks",name:"ks",embedded:false,exported:false,typ:$String,tag:""}]);DZ.init("encoding/json",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameBytes",name:"nameBytes",embedded:false,exported:false,typ:FA,tag:""},{prop:"equalFold",name:"equalFold",embedded:false,exported:false,typ:GD,tag:""},{prop:"nameNonEsc",name:"nameNonEsc",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameEscHTML",name:"nameEscHTML",embedded:false,exported:false,typ:$String,tag:""},{prop:"tag",name:"tag",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"index",name:"index",embedded:false,exported:false,typ:EX,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:L.Type,tag:""},{prop:"omitEmpty",name:"omitEmpty",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"encoder",name:"encoder",embedded:false,exported:false,typ:CM,tag:""}]);EA.init(DZ);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH=new G.Pool.ptr(EV.nil,$throwNilPointerError);CN=new G.Map.ptr(false);ED=new G.Map.ptr(false);R=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);S=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);AF=new G.Pool.ptr(EV.nil,(function(){return new AE.ptr($throwNilPointerError,false,EX.nil,$ifaceNil,new $Int64(0,0));}));CF="0123456789abcdef";a=L.TypeOf((EY.nil)).Elem();$s=16;case 16:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}CQ=a;b=L.TypeOf((EZ.nil)).Elem();$s=17;case 17:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}CR=b;DC=$methodVal(new DB(32),"encode");DD=$methodVal(new DB(64),"encode");c=L.TypeOf((FB.nil)).Elem();$s=18;case 18:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}EQ=c;ER=L.TypeOf(new EK(""));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,A,M,H,F,G,I,J,K,L,B,C,D,E,N,P,R,T,AL,AM,AO,AQ,AW,BC,BE,BI,BS,BV,BY,CA,CG,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DR,DT,DU,DV,DW,X,AC,AK,AZ,CD,CF,O,Q,S,U,V,W,Y,Z,AA,AB,AD,AE,AF,AG,AH,AI,AJ,AP,AR,AS,AT,AU,AV,AX,AY,BA,BD,BF,BJ,BK,BN,BO,BP,BQ,BR,BT,BU,BW,BX,BZ,CB,CH;A=$packages["bytes"];M=$packages["encoding/json"];H=$packages["github.com/88250/lute/ast"];F=$packages["github.com/88250/lute/editor"];G=$packages["github.com/88250/lute/html"];I=$packages["github.com/88250/lute/lex"];J=$packages["github.com/88250/lute/parse"];K=$packages["github.com/88250/lute/util"];L=$packages["io"];B=$packages["strconv"];C=$packages["strings"];D=$packages["unicode"];E=$packages["unicode/utf8"];N=$pkg.VditorRenderer=$newType(0,$kindStruct,"render.VditorRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,commentStackDepth_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.commentStackDepth=0;return;}this.BaseRenderer=BaseRenderer_;this.commentStackDepth=commentStackDepth_;});P=$pkg.VditorSVRenderer=$newType(0,$kindStruct,"render.VditorSVRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,nodeWriterStack_,LastOut_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.nodeWriterStack=CT.nil;this.LastOut=CI.nil;return;}this.BaseRenderer=BaseRenderer_;this.nodeWriterStack=nodeWriterStack_;this.LastOut=LastOut_;});R=$pkg.VditorIRRenderer=$newType(0,$kindStruct,"render.VditorIRRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});T=$pkg.TextBundleRenderer=$newType(0,$kindStruct,"render.TextBundleRenderer",true,"github.com/88250/lute/render",true,function(FormatRenderer_,linkPrefixes_,originalLink_){this.$val=this;if(arguments.length===0){this.FormatRenderer=CX.nil;this.linkPrefixes=CJ.nil;this.originalLink=CJ.nil;return;}this.FormatRenderer=FormatRenderer_;this.linkPrefixes=linkPrefixes_;this.originalLink=originalLink_;});AL=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AM=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AO=$pkg.Options=$newType(0,$kindStruct,"render.Options",true,"github.com/88250/lute/render",true,function(SoftBreak2HardBreak_,AutoSpace_,RenderListStyle_,CodeSyntaxHighlight_,CodeSyntaxHighlightDetectLang_,CodeSyntaxHighlightInlineStyle_,CodeSyntaxHighlightLineNum_,CodeSyntaxHighlightStyleName_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,KramdownBlockIAL_,KramdownSpanIAL_,SuperBlock_,ImageLazyLoading_,ChineseParagraphBeginningSpace_,Sanitize_,FixTermTypo_,Terms_,ToC_,HeadingID_,KramdownIALIDRenderName_,HeadingAnchor_,GFMTaskListItemClass_,VditorCodeBlockPreview_,VditorMathBlockPreview_,VditorHTMLBlockPreview_,LinkBase_,LinkPrefix_,NodeIndexStart_,ProtyleContenteditable_,KeepParagraphBeginningSpace_,ProtyleMarkNetImg_,Spellcheck_){this.$val=this;if(arguments.length===0){this.SoftBreak2HardBreak=false;this.AutoSpace=false;this.RenderListStyle=false;this.CodeSyntaxHighlight=false;this.CodeSyntaxHighlightDetectLang=false;this.CodeSyntaxHighlightInlineStyle=false;this.CodeSyntaxHighlightLineNum=false;this.CodeSyntaxHighlightStyleName="";this.VditorWYSIWYG=false;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.KramdownBlockIAL=false;this.KramdownSpanIAL=false;this.SuperBlock=false;this.ImageLazyLoading="";this.ChineseParagraphBeginningSpace=false;this.Sanitize=false;this.FixTermTypo=false;this.Terms=false;this.ToC=false;this.HeadingID=false;this.KramdownIALIDRenderName="";this.HeadingAnchor=false;this.GFMTaskListItemClass="";this.VditorCodeBlockPreview=false;this.VditorMathBlockPreview=false;this.VditorHTMLBlockPreview=false;this.LinkBase="";this.LinkPrefix="";this.NodeIndexStart=0;this.ProtyleContenteditable=false;this.KeepParagraphBeginningSpace=false;this.ProtyleMarkNetImg=false;this.Spellcheck=false;return;}this.SoftBreak2HardBreak=SoftBreak2HardBreak_;this.AutoSpace=AutoSpace_;this.RenderListStyle=RenderListStyle_;this.CodeSyntaxHighlight=CodeSyntaxHighlight_;this.CodeSyntaxHighlightDetectLang=CodeSyntaxHighlightDetectLang_;this.CodeSyntaxHighlightInlineStyle=CodeSyntaxHighlightInlineStyle_;this.CodeSyntaxHighlightLineNum=CodeSyntaxHighlightLineNum_;this.CodeSyntaxHighlightStyleName=CodeSyntaxHighlightStyleName_;this.VditorWYSIWYG=VditorWYSIWYG_;this.VditorIR=VditorIR_;this.VditorSV=VditorSV_;this.ProtyleWYSIWYG=ProtyleWYSIWYG_;this.KramdownBlockIAL=KramdownBlockIAL_;this.KramdownSpanIAL=KramdownSpanIAL_;this.SuperBlock=SuperBlock_;this.ImageLazyLoading=ImageLazyLoading_;this.ChineseParagraphBeginningSpace=ChineseParagraphBeginningSpace_;this.Sanitize=Sanitize_;this.FixTermTypo=FixTermTypo_;this.Terms=Terms_;this.ToC=ToC_;this.HeadingID=HeadingID_;this.KramdownIALIDRenderName=KramdownIALIDRenderName_;this.HeadingAnchor=HeadingAnchor_;this.GFMTaskListItemClass=GFMTaskListItemClass_;this.VditorCodeBlockPreview=VditorCodeBlockPreview_;this.VditorMathBlockPreview=VditorMathBlockPreview_;this.VditorHTMLBlockPreview=VditorHTMLBlockPreview_;this.LinkBase=LinkBase_;this.LinkPrefix=LinkPrefix_;this.NodeIndexStart=NodeIndexStart_;this.ProtyleContenteditable=ProtyleContenteditable_;this.KeepParagraphBeginningSpace=KeepParagraphBeginningSpace_;this.ProtyleMarkNetImg=ProtyleMarkNetImg_;this.Spellcheck=Spellcheck_;});AQ=$pkg.BaseRenderer=$newType(0,$kindStruct,"render.BaseRenderer",true,"github.com/88250/lute/render",true,function(Options_,RendererFuncs_,DefaultRendererFunc_,ExtRendererFuncs_,Writer_,LastOut_,Tree_,DisableTags_,FootnotesDefs_,RenderingFootnotes_){this.$val=this;if(arguments.length===0){this.Options=CZ.nil;this.RendererFuncs=false;this.DefaultRendererFunc=$throwNilPointerError;this.ExtRendererFuncs=false;this.Writer=CS.nil;this.LastOut=0;this.Tree=DA.nil;this.DisableTags=0;this.FootnotesDefs=CN.nil;this.RenderingFootnotes=false;return;}this.Options=Options_;this.RendererFuncs=RendererFuncs_;this.DefaultRendererFunc=DefaultRendererFunc_;this.ExtRendererFuncs=ExtRendererFuncs_;this.Writer=Writer_;this.LastOut=LastOut_;this.Tree=Tree_;this.DisableTags=DisableTags_;this.FootnotesDefs=FootnotesDefs_;this.RenderingFootnotes=RenderingFootnotes_;});AW=$pkg.Heading=$newType(0,$kindStruct,"render.Heading",true,"github.com/88250/lute/render",true,function(ID_,Box_,Path_,HPath_,Content_,Level_,Children_,parent_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.HPath="";this.Content="";this.Level=0;this.Children=DC.nil;this.parent=DB.nil;return;}this.ID=ID_;this.Box=Box_;this.Path=Path_;this.HPath=HPath_;this.Content=Content_;this.Level=Level_;this.Children=Children_;this.parent=parent_;});BC=$pkg.ProtyleRenderer=$newType(0,$kindStruct,"render.ProtyleRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeIndex_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeIndex=0;return;}this.BaseRenderer=BaseRenderer_;this.NodeIndex=NodeIndex_;});BE=$pkg.ProtylePreviewRenderer=$newType(0,$kindStruct,"render.ProtylePreviewRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BI=$pkg.ProtyleExportMdRenderer=$newType(0,$kindStruct,"render.ProtyleExportMdRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});BS=$pkg.KityMinderJSONRenderer=$newType(0,$kindStruct,"render.KityMinderJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BV=$pkg.JSONRenderer=$newType(0,$kindStruct,"render.JSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BY=$pkg.HtmlRenderer=$newType(0,$kindStruct,"render.HtmlRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CA=$pkg.FormatRenderer=$newType(0,$kindStruct,"render.FormatRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});CG=$pkg.EChartsJSONRenderer=$newType(0,$kindStruct,"render.EChartsJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CI=$sliceType($Uint8);CJ=$sliceType($String);CK=$ptrType(AQ);CL=$sliceType(CJ);CM=$ptrType(H.Node);CN=$sliceType(CM);CO=$ptrType(H.ListData);CP=$sliceType($Int);CQ=$sliceType(H.NodeType);CR=$ptrType(CL);CS=$ptrType(A.Buffer);CT=$sliceType(CS);CU=$ptrType(G.Node);CV=$ptrType(G.Attribute);CW=$sliceType(CV);CX=$ptrType(CA);CY=$sliceType($Int32);CZ=$ptrType(AO);DA=$ptrType(J.Tree);DB=$ptrType(AW);DC=$sliceType(DB);DD=$sliceType(CN);DE=$ptrType(J.Context);DF=$ptrType(I.Lexer);DG=$ptrType(J.InlineContext);DH=$ptrType(N);DI=$ptrType(P);DJ=$ptrType(R);DK=$ptrType(T);DL=$mapType($String,$String);DM=$mapType(H.NodeType,AL);DN=$mapType(H.NodeType,AM);DO=$ptrType(BC);DP=$ptrType(BE);DR=$ptrType(BI);DT=$ptrType(BS);DU=$ptrType(BV);DV=$ptrType(BY);DW=$ptrType(CG);O=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new N.ptr(c,0);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderMark2OpenMarker")});ck=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderMark2CloseMarker")});cl=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSup")});cm=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSupOpenMarker")});cn=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSupCloseMarker")});co=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSub")});cp=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderSubOpenMarker")});cq=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderSubCloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:O,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorRenderer=O;N.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};N.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};N.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};N.ptr.prototype.renderMark=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};N.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};N.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};N.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","=="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};N.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};N.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};N.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-marker","^"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};N.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};N.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};N.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};N.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("
    ");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};N.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};N.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};N.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-entity"]),new CJ(["style","display: none"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),a.HtmlEntityTokens);$r=c.BaseRenderer.Write(G.EscapeHTML(f));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=A.ReplaceAll(a.HtmlEntityTokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(g);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};N.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};N.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};N.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:N.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};N.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};N.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)&&A.EqualFold(a.Previous.Tokens,a.Tokens)){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
  • ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 4:if(!(!(CM.nil===d))){$s=5;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=4;continue;case 5:$r=c[0].BaseRenderer.WriteString("
  • ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};N.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=8;case 8:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=G.EscapeString(l);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=AS(m,24);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new CL([new CJ(["data-type","footnotes-ref"]),new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]),new CJ(["class","vditor-tooltipped vditor-tooltipped__s"]),new CJ(["aria-label",n])]);$r=c.BaseRenderer.Tag("sup",o,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};N.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};N.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};N.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};N.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};N.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};N.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};N.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};N.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};N.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);e=d;f=new CL([new CJ(["data-type","math-inline"])]);if(!A.Contains(e,F.CaretTokens)){f=$append(f,new CJ(["style","display: none"]));}$r=c.BaseRenderer.WriteString("");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};N.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};N.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};N.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};N.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=CL.nil;if(!A.Contains(e,F.CaretTokens)&&c.BaseRenderer.Options.VditorMathBlockPreview){f=$append(f,new CJ(["style","display: none"]));}g=e.$length;h=1>g||((3===g)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.Tokens;i=A.ReplaceAll(i,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(i));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};N.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};N.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};N.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};N.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};N.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};N.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};N.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};N.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};N.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};N.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};N.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};N.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};N.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};N.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};N.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};N.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};N.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};N.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};N.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};N.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};N.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};N.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){$s=3;continue;}$s=4;continue;case 3:d=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteString("\"");$s=12;case");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.Writer.Bytes();l=A.LastIndex(k,(new CI($stringToBytes("\"");$s=32;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=33;continue;}$s=34;continue;case 33:$r=c.BaseRenderer.WriteByte(34);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=a.ChildByType(42);if(!(CM.nil===r)&&!(CI.nil===r.Tokens)){$s=36;continue;}$s=37;continue;case 36:$r=c.BaseRenderer.WriteString(" title=\"");$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r.Tokens=A.ReplaceAll(r.Tokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(r.Tokens);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:$r=c.BaseRenderer.WriteString(" />");$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=c.BaseRenderer.Writer.Bytes();t=A.LastIndex(s,(new CI($stringToBytes("=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]).Tokens));}i=($bytesToString(a.LinkRefLabel));j=new CL([new CJ(["data-type","link-ref"]),new CJ(["data-link-label",i])]);$r=c.BaseRenderer.Tag("span",j,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(h);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 4:$s=-1;return 2;case 5:case 2:if(b){$s=15;continue;}$s=16;continue;case 15:k=a.ChildByType(41);l=k.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=18;continue;}$s=19;continue;case 18:m=A.TrimSpace(l);$s=20;case 20:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=A.ToLower(n);$s=21;case 21:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;if(A.HasPrefix(n,(new CI($stringToBytes("javascript:"))))){l=CI.nil;}case 19:l=c.BaseRenderer.LinkPath(l);p=A.Contains(l,F.CaretTokens);if(p){q=a.ChildByType(40);q.Tokens=$appendSlice(q.Tokens,F.CaretTokens);l=A.ReplaceAll(l,F.CaretTokens,CI.nil);}r=new CL([new CJ(["href",($bytesToString(l))])]);s=a.ChildByType(42);if(!(CM.nil===s)&&!(CI.nil===s.Tokens)){s.Tokens=A.ReplaceAll(s.Tokens,F.CaretTokens,CI.nil);r=$append(r,new CJ(["title",($bytesToString(s.Tokens))]));}$r=c.BaseRenderer.Tag("a",r,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=17;continue;case 16:$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};N.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};N.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("
    ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:$r=c.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};N.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Contains(a.Tokens,(new CI($stringToBytes(">0;$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=7;continue;}$s=8;continue;case 7:if(0>0;$r=c.BaseRenderer.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 10:case 8:if(b){$s=12;continue;}$s=13;continue;case 12:d=a.PreviousNodeText();$s=14;case 14:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if("\xE2\x80\x8B"===e||""===e){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:f=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),f);g=A.TrimSpace(a.Tokens);$s=18;case 18:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.Tokens=g;$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-inline"])]),false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=G.EscapeHTML(f);$r=c.BaseRenderer.Write(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};N.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};N.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:e=new CL([new CJ(["data-block","0"])]);e=$appendSlice(e,a.KramdownIAL);$r=c.BaseRenderer.Tag("p",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};N.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=A.TrimRight(d,"\n");if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};N.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(32);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 6:$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-marker",C.Repeat("`",a.CodeMarkerLen)])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};N.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};N.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};N.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent;e=d.Parent;if(!(CM.nil===e)&&(33===e.Type)){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};N.ptr.prototype.renderEmphasis=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};N.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","*"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};N.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};N.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","_"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};N.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};N.ptr.prototype.renderStrong=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};N.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","**"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};N.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};N.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","__"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};N.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};N.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};N.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};N.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\"");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.ChildByType(420);if(!(CM.nil===e)){d=($bytesToString(e.Tokens));}if(c.BaseRenderer.Options.HeadingID&&!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(" data-id=\""+d+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:if(""===d){$s=8;continue;}$s=9;continue;case 8:f=AT(a);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;case 9:$r=c.BaseRenderer.WriteString(" id=\"wysiwyg-"+d+"\"");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:if(1===a.HeadingLevel){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 14:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:g=AT(a);$s=23;case 23:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+h]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+h])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};N.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};N.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};N.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};N.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};N.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};N.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};N.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CI.nil===a.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};N.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};N.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};N.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d="```";if(!(CM.nil===a.FirstChild)&&A.HasPrefix(a.FirstChild.Tokens,(new CI($stringToBytes(d))))){d=($bytesToString(a.FirstChild.Tokens));}$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};N.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g="";h=false;i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+g]));if("mindmap"===g){$s=5;continue;}$s=6;continue;case 5:k=BO(a.Tokens);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 6:case 4:case 2:m=new CL([new CJ(["class","vditor-wysiwyg__pre"])]);if(!A.Contains(a.Tokens,F.CaretTokens)&&!h&&c.BaseRenderer.Options.VditorCodeBlockPreview){m=$append(m,new CJ(["style","display: none"]));}$r=c.BaseRenderer.Tag("pre",m,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteString("\n");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=12;continue;case 11:if(h){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteString("");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(g);if(n){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.Tag("div",i,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=25;continue;case 24:$r=c.BaseRenderer.Tag("code",i,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.WriteString("");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=31;continue;case 30:$r=c.BaseRenderer.WriteString("");$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 21:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.WriteByte=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.BaseRenderer.Writer.WriteByte(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;b.LastOut=$append(b.LastOut,a);if(1024:");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=13;continue;}$s=14;continue;case 13:$r=c.WriteString(" ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=c.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(e);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};P.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kramdown-ial"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};P.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"mark");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};P.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};P.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};P.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};P.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};P.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sup");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};P.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};P.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};P.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sub");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};P.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};P.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};P.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};P.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};P.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};P.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};P.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};P.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("[toc]");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};P.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};P.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:a=[a];c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"]),new CJ(["data-type","footnotes-link"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].Write(a[0].Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteString(": ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a[0].FirstChild;case 13:if(!(!(CM.nil===d))){$s=14;continue;}$r=H.Walk(d,(function(a,c){return function $b(e,f){var{e,f,g,h,i,j,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f&&!(e===a[0].FirstChild)&&(e.IsBlock()||(15===e.Type)||(13===e.Type))){$s=1;continue;}$s=2;continue;case 1:g=" ";if(13===e.Type){$s=3;continue;}$s=4;continue;case 3:e.Tokens=$appendSlice((new CI($stringToBytes(g))),e.Tokens);$s=5;continue;case 4:$r=c[0].WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:i=(h=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),h!==undefined?h.v:$throwNilPointerError)(e,f);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=8;case 8:return j;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,j,$s};return $f;};})(a,c));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=13;continue;case 14:$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};P.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];i=h.Text();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new CL([new CJ(["data-type","footnotes-ref"])]);k=$append(k,new CJ(["class","b3-tooltips b3-tooltips__s"]));l=G.EscapeString(j);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=AS(l,24);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}k=$append(k,new CJ(["aria-label",m]));k=$append(k,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","sup"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};P.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};P.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.CodeBlockInfo);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};P.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};P.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!a.IsFencedCodeBlock){$s=10;continue;}$s=11;continue;case 10:$r=c.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$r=c.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};P.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};P.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};P.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};P.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};P.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};P.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};P.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};P.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};P.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};P.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};P.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};P.ptr.prototype.renderMathBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};P.ptr.prototype.renderTableCell=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};P.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};P.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};P.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","table"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};P.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"s");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};P.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};P.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};P.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};P.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};P.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};P.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"]),new CJ(["data-type","link-text"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};P.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};P.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};P.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};P.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};P.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};P.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};P.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};P.ptr.prototype.renderImage=function(a,b){var a,b,c,d;c=this;if(b){if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();d=a.ChildByType(43);if(!(CM.nil===d)){d.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}}return 2;};P.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};P.ptr.prototype.renderLink=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};P.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};P.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};P.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");c.BaseRenderer.Writer.Reset();$r=c.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};P.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.Parent;e=!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight;if(!e){$s=5;continue;}$s=6;continue;case 5:$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.popWriter(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};P.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(a.ParentIs(109,CQ.nil)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimRight(d,"\n");$r=c.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};P.ptr.prototype.renderCodeSpan=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};P.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};P.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};P.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};P.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"em");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};P.ptr.prototype.popWriteClass=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));$r=c.renderClass(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e])).Write(c.BaseRenderer.Writer.Bytes());$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;c.BaseRenderer.Writer=(g=c.nodeWriterStack,h=c.nodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriteClass,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};P.prototype.popWriteClass=function(a,b){return this.$val.popWriteClass(a,b);};P.ptr.prototype.popWriter=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;b.nodeWriterStack=$subslice(b.nodeWriterStack,0,(b.nodeWriterStack.$length-1>>0));e=(c=b.nodeWriterStack,d=b.nodeWriterStack.$length-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d])).Write(b.BaseRenderer.Writer.Bytes());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;b.BaseRenderer.Writer=(f=b.nodeWriterStack,g=b.nodeWriterStack.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriter,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.popWriter=function(a){return this.$val.popWriter(a);};P.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};P.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};P.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};P.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};P.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"strong");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};P.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};P.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};P.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};P.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};P.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h=(new CI($stringToBytes("> ")));g=$appendSlice(h,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,h));f.Reset();i=f.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;l=(j=c.nodeWriterStack,k=c.nodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;c.BaseRenderer.Writer=(m=c.nodeWriterStack,n=c.nodeWriterStack.$length-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};P.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};P.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};P.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=9;continue;}$s=10;continue;case 9:$r=c.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=13;case 13:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=14;continue;}$s=15;continue;case 14:$r=c.WriteString(C.Repeat("=",e));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.WriteString(C.Repeat("-",e));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:f="h"+$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.renderClass(a,f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.popWriter(a);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,$s};return $f;};P.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};P.ptr.prototype.renderClass=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.Writer.Bytes();e=A.NewReader(d);f=new G.Node.ptr(CU.nil,CU.nil,CU.nil,CU.nil,CU.nil,3,0,"","",CW.nil);h=G.ParseFragment(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];c.BaseRenderer.Writer.Reset();j=0;case 2:if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);l=c.domAttrValue(k,"class");if(""===l){l=b;}else{l=l+(" "+b);}c.domSetAttrValue(k,"class",l);m=G.Render(c.BaseRenderer.Writer,k);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;j=j+(1)>>0;$s=2;continue;case 3:$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.renderClass,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderClass=function(a,b){return this.$val.renderClass(a,b);};P.ptr.prototype.domAttrValue=function(a,b){var a,b,c,d,e,f;c=this;if(CU.nil===a){return"";}d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f.Key===b){return f.Val;}e++;}return"";};P.prototype.domAttrValue=function(a,b){return this.$val.domAttrValue(a,b);};P.ptr.prototype.domSetAttrValue=function(a,b,c){var a,b,c,d,e,f,g;d=this;if(CU.nil===a){return;}e=a.Attr;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(g.Key===b){g.Val=c;return;}f++;}a.Attr=$append(a.Attr,new G.Attribute.ptr("",b,c));};P.prototype.domSetAttrValue=function(a,b,c){return this.$val.domSetAttrValue(a,b,c);};P.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};P.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};P.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write($pkg.NewlineSV);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};P.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h="";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter));}else{h=($bytesToString(a.ListData.Marker));}i=(new CI($stringToBytes(""+h+" ")));g=$appendSlice(i,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}j=(new CI($stringToBytes(""+C.Repeat(" ",a.ListData.Padding)+"")));g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,j));f.Reset();k=f.Write(g);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;n=(l=c.nodeWriterStack,m=c.nodeWriterStack.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;c.BaseRenderer.Writer=(o=c.nodeWriterStack,p=c.nodeWriterStack.$length-1>>0,((p<0||p>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};P.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};P.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--strong"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(120);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("] ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.TrimPrefix(a.Next.Tokens,(new CI($stringToBytes(" "))));$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};P.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("---");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};P.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};P.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};P.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(9))||(f===(10))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:P.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};P.prototype.Text=function(a){return this.$val.Text(a);};S=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new R.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderSup")});ck=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderSupOpenMarker")});cl=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSupCloseMarker")});cm=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSub")});cn=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSubOpenMarker")});co=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSubCloseMarker")});cp=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderMark2OpenMarker")});cq=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderMark2CloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorIRRenderer=S;R.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};R.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};R.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};R.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};R.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};R.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};R.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};R.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};R.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};R.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};R.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};R.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};R.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};R.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__marker--pre"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"]),new CJ(["class","language-yaml"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};R.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};R.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};R.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};R.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};R.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};R.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:R.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};R.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};R.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.WriteString("["+($bytesToString(a.Tokens))+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 5:if(!(!(CM.nil===d))){$s=6;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=5;continue;case 6:$r=c[0].BaseRenderer.WriteString("
    ");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};R.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=new CL([new CJ(["data-type","footnotes-ref"])]);n=a.Text();$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=C.Contains(o,"\xE2\x80\xB8");if(p){m=$append(m,new CJ(["class","vditor-ir__node vditor-ir__node--expand vditor-tooltipped vditor-tooltipped__s"]));}else{m=$append(m,new CJ(["class","vditor-ir__node vditor-tooltipped vditor-tooltipped__s"]));}q=G.EscapeString(l);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=AS(q,24);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}m=$append(m,new CJ(["aria-label",r]));m=$append(m,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("sup",m,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker--hide"]),new CJ(["data-render","1"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};R.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};R.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};R.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};R.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};R.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g=false;h="";if(f){g=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+h]));if("mindmap"===h){$s=3;continue;}$s=4;continue;case 3:k=BO(a.Tokens);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 4:case 2:m="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorCodeBlockPreview){m=m+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",m])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=8;continue;}$s=9;continue;case 8:if(!g){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.WriteString("");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$r=c.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(h);if(n){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("div",i,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("code",i,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("");$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 19:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};R.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};R.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};R.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};R.ptr.prototype.renderEmoji=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.renderSpanNode(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmoji,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};R.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};R.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};R.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","math-inline"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};R.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};R.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};R.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorMathBlockPreview){g=g+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",g])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.Tokens;h=A.ReplaceAll(h,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(h));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};R.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};R.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};R.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};R.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};R.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};R.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};R.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"]),new CJ(["data-type","table"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};R.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};R.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};R.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};R.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};R.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.BaseRenderer.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};R.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};R.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__link"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.BaseRenderer.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};R.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};R.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};R.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};R.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};R.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};R.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};R.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};R.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=!(CM.nil===a.Next)&&(16===a.Next.Type)&&A.HasPrefix(a.Next.Tokens,F.CaretTokens);if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();e=a.ChildByType(43);if(!(CM.nil===e)){e.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}f=c.Text(a);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h="vditor-ir__node";if(C.Contains(g,"\xE2\x80\xB8")||d){h=h+(" vditor-ir__node--expand");}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class",h]),new CJ(["data-type","img"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(d){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.ReplaceAll(a.Next.Tokens,F.CaretTokens,CI.nil);case 7:i=a;if(3===a.LinkType){$s=9;continue;}$s=10;continue;case 9:j=c.BaseRenderer.Tree.FindLinkRefDefLink(a.LinkRefLabel);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 10:k=i.ChildByType(41).Tokens;k=c.BaseRenderer.LinkPath(k);k=A.ReplaceAll(k,F.CaretTokens,CI.nil);l=new CL([new CJ(["src",($bytesToString(k))])]);m=a.ChildByType(40);if(!(CM.nil===m)&&0");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-block"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=10;continue;}$s=11;continue;case 10:f=AE(e);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 11:$r=c.BaseRenderer.Write(e);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};R.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.Equal(a.Tokens,(new CI($stringToBytes(""))));e=A.Equal(a.Tokens,(new CI($stringToBytes(""))));if(d||e){$s=1;continue;}$s=2;continue;case 1:if(d){$s=4;continue;}$s=5;continue;case 4:if(c.tagMatchClose("kbd",a)){$s=7;continue;}$s=8;continue;case 7:$r=c.renderSpanNode(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("kbd",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.renderSpanNode(a);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=6;continue;case 5:if(c.tagMatchOpen("kbd",a)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("/kbd",CL.nil,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.renderSpanNode(a);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.renderSpanNode(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:case 6:$s=3;continue;case 2:$r=c.renderSpanNode(a);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};R.ptr.prototype.tagMatchClose=function(a,b){var a,b,c,d;c=this;d=b.Next;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&""===d.TokensStr()){return true;}d=d.Next;}return false;};R.prototype.tagMatchClose=function(a,b){return this.$val.tagMatchClose(a,b);};R.ptr.prototype.tagMatchOpen=function(a,b){var a,b,c,d;c=this;d=b.Previous;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&"<"+a+">"===d.TokensStr()){return true;}d=d.Previous;}return false;};R.prototype.tagMatchOpen=function(a,b){return this.$val.tagMatchOpen(a,b);};R.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};R.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};R.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};R.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};R.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};R.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};R.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};R.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};R.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};R.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};R.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};R.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};R.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};R.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};R.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};R.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};R.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};R.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};R.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};R.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=c.Text(a);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=a.ChildByType(420);if(C.Contains(e,"\xE2\x80\xB8")||(!(CM.nil===f)&&A.Contains(f.Tokens,F.CaretTokens))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node vditor-ir__node--expand\"");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node\"");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:g="";if(!(CM.nil===f)){g=($bytesToString(f.Tokens));}if(""===g){$s=10;continue;}$s=11;continue;case 10:h=AT(a);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:$r=c.BaseRenderer.WriteString(" id=\"ir-"+g+"\"");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:if(1===a.HeadingLevel){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:i=AT(a);$s=25;case 25:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+j]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+j])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:if(!a.HeadingSetext){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$s=3;continue;case 2:if(a.HeadingSetext){$s=34;continue;}$s=35;continue;case 34:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"]),new CJ(["data-render","2"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.setextHeadingLen(a);$s=38;case 38:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(1===a.HeadingLevel){$s=39;continue;}$s=40;continue;case 39:$r=c.BaseRenderer.WriteString(C.Repeat("=",l));$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=41;continue;case 40:$r=c.BaseRenderer.WriteString(C.Repeat("-",l));$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 35:$r=c.BaseRenderer.WriteString(">0))+">");$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};R.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};R.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","heading-id"]),new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};R.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};R.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};R.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};R.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};R.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};R.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};R.ptr.prototype.renderSpanNode=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=CL.nil;f=a.Type;if(f===(17)){e=$append(e,new CJ(["data-type","em"]));}else if(f===(22)){e=$append(e,new CJ(["data-type","strong"]));}else if(f===(101)){e=$append(e,new CJ(["data-type","s"]));}else if(f===(450)){e=$append(e,new CJ(["data-type","mark"]));}else if(f===(485)){e=$append(e,new CJ(["data-type","sup"]));}else if(f===(490)){e=$append(e,new CJ(["data-type","sub"]));}else if(f===(33)){if(!((3===a.LinkType))){e=$append(e,new CJ(["data-type","a"]));}else{e=$append(e,new CJ(["data-type","link-ref"]));}}else if(f===(34)){e=$append(e,new CJ(["data-type","img"]));}else if(f===(27)){e=$append(e,new CJ(["data-type","code"]));}else if(f===(200)){e=$append(e,new CJ(["data-type","emoji"]));}else if(f===(10)){e=$append(e,new CJ(["data-type","html-inline"]));}else if(f===(44)){e=$append(e,new CJ(["data-type","html-entity"]));}else if(f===(400)){e=$append(e,new CJ(["data-type","backslash"]));}else{e=$append(e,new CJ(["data-type","inline-node"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:g=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(C.HasSuffix(h,"\xE2\x80\xB8")){$s=6;continue;}$s=7;continue;case 6:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:i=a.NextNodeText();$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasPrefix(j,"\xE2\x80\xB8")){$s=10;continue;}$s=11;continue;case 10:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("span",e,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderSpanNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.renderSpanNode=function(a){return this.$val.renderSpanNode(a);};R.ptr.prototype.renderDivNode=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=new CL([new CJ(["data-block","0"])]);f=a.Type;if(f===(11)){e=$append(e,new CJ(["data-type","code-block"]));}else if(f===(9)){e=$append(e,new CJ(["data-type","html-block"]));}else if(f===(300)){e=$append(e,new CJ(["data-type","math-block"]));}else if(f===(425)){e=$append(e,new CJ(["data-type","yaml-front-matter"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("div",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("div",e,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderDivNode,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderDivNode=function(a){return this.$val.renderDivNode(a);};R.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:R.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};R.prototype.Text=function(a){return this.$val.Text(a);};U=function(a,b,c){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=CB(a,c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=new T.ptr(d,b,CJ.nil);f=41;(e.FormatRenderer.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(e,"renderLinkDest")});$s=-1;return e;}return;}var $f={$blk:U,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$pkg.NewTextBundleRenderer=U;T.ptr.prototype.Render=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=CJ.nil;c=this;d=c.FormatRenderer.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a=d;b=c.originalLink;$s=-1;return[a,b];}return;}var $f={$blk:T.ptr.prototype.Render,$c:true,$r,a,b,c,d,$s};return $f;};T.prototype.Render=function(){return this.$val.Render();};T.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=c.linkPrefixes;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!(""===g)&&C.HasPrefix(d,g)){c.originalLink=$append(c.originalLink,d);d="assets"+$substring(d,g.length);}f++;}$r=c.FormatRenderer.BaseRenderer.WriteString(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:T.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};T.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};AQ.ptr.prototype.FixTermTypo=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.fixTermTypo0(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:AQ.ptr.prototype.FixTermTypo,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.FixTermTypo=function(a){return this.$val.FixTermTypo(a);};AQ.ptr.prototype.fixTermTypo0=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.$length;d=0;e=0;f=0;g=0;h=0;i=e;j=f;k=g;l=h;m=0;n=0;o=m;p=n;q=CI.nil;case 1:if(!(i=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+i]);if(V(d)){i=i+(1)>>0;$s=1;continue;}if(1<=i){o=(r=i-1>>0,((r<0||r>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+r]));if(!V(o)){i=i+(1)>>0;$s=1;continue;}}if(I.IsASCIIPunct(o)){i=i+(1)>>0;$s=1;continue;}j=i;while(true){if(!(j=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]);if(V(p)||(46===p)){break;}j=j+(1)>>0;}if(I.IsASCIIPunct(p)){i=i+(1)>>0;$s=1;continue;}s=A.ToLower($subslice(a,i,j));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=s;t=(u=$mapIndex(b.Options.Terms,$String.keyFor(K.BytesToStr(q))),u!==undefined?[u.v,true]:["",false]);v=t[0];w=t[1];if(w){l=0;k=i;while(true){if(!(k=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]=v.charCodeAt(l));l=l+(1)>>0;k=k+(1)>>0;}}i=i+(1)>>0;$s=1;continue;case 2:$s=-1;return a;}return;}var $f={$blk:AQ.ptr.prototype.fixTermTypo0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};AQ.prototype.fixTermTypo0=function(a){return this.$val.fixTermTypo0(a);};V=function(a){var a;return a>=128||I.IsWhitespace(a)||I.IsASCIIPunct(a);};W=function(){var a,b,c,d,e,f,g,h,i,j,k;a=false;a=(b=(X?X.size:0),((b<0||b>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));c=X;d=0;e=c?c.keys():undefined;f=c?c.size:0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]);if(f<(d-3>>0)&&(105===(g=f+1>>0,((g<0||g>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+g])))&&(110===(h=f+2>>0,((h<0||h>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h])))&&(103===(i=f+3>>0,((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i])))&&D.Is(D.Han,((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]))){b=b+(($encodeRune(e))+"ing");f=f+(4)>>0;continue;}b=Z(b,e);f=f+(1)>>0;}return b;};$pkg.Space0=Y;Z=function(a,b){var a,b,c,d;if(0===a.length){return($encodeRune(b));}if("1"<=a&&"9">=a&&(65039===b)){return a+($encodeRune(b));}c=E.DecodeLastRuneInString(a);d=c[0];if(AA(d,b)){return a+" "+($encodeRune(b));}return a+($encodeRune(b));};AA=function(a,b){var a,b,c,d,e,f;if(D.IsSpace(a)||D.IsSpace(b)||((F.CaretRune===a))||((F.CaretRune===b))||!D.IsPrint(a)||!D.IsPrint(b)){return false;}c=AB(a);d=!((37===b))&&!((64===b))&&(D.IsPunct(b)||(126===b)||(61===b)||(35===b));if(c&&d){return false;}e=!((37===a))&&!((64===a))&&(D.IsPunct(a)||(126===a)||(61===a)||(35===a));f=AB(b);if(f&&e){return false;}if((!c&&!f)||(c&&f)){return false;}return true;};AB=function(a){var a;return D.Is(D.Han,a)||D.Is(D.Lm,a)||D.Is(D.Hiragana,a)||D.Is(D.Katakana,a)||D.Is(D.Hangul,a);};AD=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=AE((new CI($stringToBytes(a))));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($bytesToString(b));$s=2;case 2:return c;}return;}var $f={$blk:AD,$c:true,$r,a,b,c,$s};return $f;};$pkg.Sanitize=AD;AE=function(a){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=new A.Buffer.ptr(CI.nil,0,0);c=false;d=new $Int64(0,0);e="";f=A.Contains(a,(new CI($stringToBytes(" \xE2\x80\xB8"))));a=A.ReplaceAll(a,F.CaretTokens,(new CI($stringToBytes("caretreplacement"))));g=G.NewTokenizer(A.NewReader(a));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;case 2:i=[i];j=h.Next();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j===0){$s=4;continue;}$s=5;continue;case 4:k=h.Err();if($interfaceIsEqual(k,L.EOF)){l=b[0].Bytes();if(f){l=A.ReplaceAll(l,(new CI($stringToBytes("\"caretreplacement"))),(new CI($stringToBytes("\" caretreplacement"))));}else{l=A.ReplaceAll(l,(new CI($stringToBytes("\" caretreplacement"))),(new CI($stringToBytes("\"caretreplacement"))));}l=A.ReplaceAll(l,(new CI($stringToBytes("caretreplacement"))),F.CaretTokens);$s=-1;return l;}m=k.Error();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=K.StrToBytes(m);$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=9;case 9:return o;case 5:i[0]=$clone(h.Token(),G.Token);p=i[0].Type;if(p===(6)){$s=11;continue;}if(p===(5)){$s=12;continue;}if(p===(2)){$s=13;continue;}if(p===(3)){$s=14;continue;}if(p===(4)){$s=15;continue;}if(p===(1)){$s=16;continue;}$s=17;continue;case 11:$s=17;continue;case 12:$s=17;continue;case 13:e=i[0].Data;q=(r=$mapIndex(AC,$String.keyFor(i[0].Data)),r!==undefined?[r.v,true]:[$ifaceNil,false]);s=q[1];if(s){$s=18;continue;}$s=19;continue;case 18:c=true;d=(t=new $Int64(0,1),new $Int64(d.$high+t.$high,d.$low+t.$low));u=b[0].WriteString(" ");$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=10;continue;case 19:if(!((i[0].Attr.$length===0))){$s=21;continue;}$s=22;continue;case 21:v=AH(i[0].Attr);$s=23;case 23:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}i[0].Attr=v;case 22:if(!c){$s=24;continue;}$s=25;continue;case 24:if(AF(i[0].Data)){$s=26;continue;}$s=27;continue;case 26:$r=AG(b[0],i[0]);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:w=$clone(i[0],G.Token).String();$s=30;case 30:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=b[0].WriteString(w);$s=31;case 31:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 28:case 25:$s=17;continue;case 14:if(e===i[0].Data){e="";}y=(z=$mapIndex(AC,$String.keyFor(i[0].Data)),z!==undefined?[z.v,true]:[$ifaceNil,false]);aa=y[1];if(aa){$s=32;continue;}$s=33;continue;case 32:d=(ab=new $Int64(0,1),new $Int64(d.$high-ab.$high,d.$low-ab.$low));if((d.$high===0&&d.$low===0)){c=false;}ac=b[0].WriteString(" ");$s=34;case 34:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;$s=10;continue;case 33:if(!c){$s=35;continue;}$s=36;continue;case 35:ad=$clone(i[0],G.Token).String();$s=37;case 37:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=b[0].WriteString(ad);$s=38;case 38:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae;case 36:$s=17;continue;case 15:if(!((i[0].Attr.$length===0))){$s=39;continue;}$s=40;continue;case 39:af=AH(i[0].Attr);$s=41;case 41:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}i[0].Attr=af;case 40:if(!c){$s=42;continue;}$s=43;continue;case 42:if(AF(i[0].Data)){$s=44;continue;}$s=45;continue;case 44:$r=AG(b[0],i[0]);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 45:ag=$clone(i[0],G.Token).String();$s=48;case 48:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=b[0].WriteString(ag);$s=49;case 49:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;case 46:case 43:$s=17;continue;case 16:if(!c){$s=50;continue;}$s=51;continue;case 50:ai=e;if(ai===("script")){$s=53;continue;}if(ai===("style")){$s=54;continue;}$s=55;continue;case 53:aj=b[0].WriteString(i[0].Data);$s=57;case 57:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$s=56;continue;case 54:ak=b[0].WriteString(i[0].Data);$s=58;case 58:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;$s=56;continue;case 55:al=$clone(i[0],G.Token).String();$s=59;case 59:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=b[0].WriteString(al);$s=60;case 60:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;case 56:case 52:case 51:case 17:case 10:$s=2;continue;case 3:$s=-1;return CI.nil;}return;}var $f={$blk:AE,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AF=function(a){var a,b;b=a;if(b===("a")||b===("area")||b===("blockquote")||b===("img")||b===("link")||b===("script")){return true;}else{return false;}};AG=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=A.NewBufferString("");d=c.WriteString("<");$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=c.WriteString(b.Data);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=b.Attr;g=0;case 3:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key==="caretreplacement"){$s=5;continue;}$s=6;continue;case 5:i=c.WriteString(" caretreplacement");$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;g++;$s=3;continue;case 6:j=c.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=c.WriteString(h.Key);$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=c.WriteString("=\"");$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=h.Key;if(m===("href")||m===("src")){$s=12;continue;}$s=13;continue;case 12:n=G.EscapeString(h.Val);$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=c.WriteString(n);$s=16;case 16:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=14;continue;case 13:p=G.EscapeString(h.Val);$s=17;case 17:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=c.WriteString(p);$s=18;case 18:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 14:case 11:r=c.WriteByte(34);$s=19;case 19:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g++;$s=3;continue;case 4:if(b.Type===4){$s=20;continue;}$s=21;continue;case 20:s=c.WriteString(" /");$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 21:t=c.WriteString(">");$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=a.WriteString(c.String());$s=24;case 24:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=-1;return;}return;}var $f={$blk:AG,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};AH=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=CW.nil;c=a;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!AJ(e.Key)){d++;$s=1;continue;}if("src"===e.Key||"srcdoc"===e.Key||"srcset"===e.Key||"href"===e.Key){$s=3;continue;}$s=4;continue;case 3:f=C.TrimSpace(e.Val);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=C.ToLower(f);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;h=AI(h);if(C.HasPrefix(h,"data:image/svg+xml")||C.HasPrefix(h,"data:text/html")||C.HasPrefix(h,"javascript")){d++;$s=1;continue;}i=AE((new CI($stringToBytes(h))));$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=G.UnescapeAttrVal(($bytesToString(i)));$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(h===k)){d++;$s=1;continue;}case 4:b=$append(b,e);d++;$s=1;continue;case 2:$s=-1;return b;}return;}var $f={$blk:AH,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AI=function(a){var a,b,c,d,e,f;b=$makeSlice(CY,0,a.length);c=a;d=0;while(true){if(!(d>0,((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Write,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.Write=function(a){return this.$val.Write(a);};AQ.ptr.prototype.WriteString=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.length;if(0>0));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.WriteString,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.WriteString=function(a){return this.$val.WriteString(a);};AQ.ptr.prototype.Newline=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!((10===a.LastOut))){$s=1;continue;}$s=2;continue;case 1:b=a.Writer.WriteByte(10);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.LastOut=10;case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Newline,$c:true,$r,a,b,$s};return $f;};AQ.prototype.Newline=function(){return this.$val.Newline();};AQ.ptr.prototype.TextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Previous;if(!(CM.nil===e)&&(16===e.Type)){$s=1;continue;}$s=2;continue;case 1:f=E.DecodeLastRune(e.Tokens);g=f[0];h=E.DecodeRune(d);i=h[0];if(AA(g,i)){$s=3;continue;}$s=4;continue;case 3:j=b.Writer.WriteByte(32);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AQ.prototype.TextAutoSpacePrevious=function(a){return this.$val.TextAutoSpacePrevious(a);};AQ.ptr.prototype.TextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Next;if(!(CM.nil===e)){$s=1;continue;}$s=2;continue;case 1:if(16===e.Type){$s=3;continue;}if(456===e.Type){$s=4;continue;}$s=5;continue;case 3:f=E.DecodeRune(e.Tokens);g=f[0];h=E.DecodeLastRune(d);i=h[0];if(AA(i,g)){$s=6;continue;}$s=7;continue;case 6:j=b.Writer.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 7:$s=5;continue;case 4:e=e.Next;if(!(CM.nil===e)&&(16===e.Type)){k=E.DecodeRune(e.Tokens);l=k[0];m=E.DecodeLastRune(d);n=m[0];if(AA(n,l)){e.Tokens=$appendSlice(new CI([32]),e.Tokens);}}case 5:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};AQ.prototype.TextAutoSpaceNext=function(a){return this.$val.TextAutoSpaceNext(a);};AQ.ptr.prototype.LinkTextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Previous;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeLastRune(d.Tokens);f=e[0];g=E.DecodeRune(c.Tokens);h=g[0];if(AA(f,h)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpacePrevious=function(a){return this.$val.LinkTextAutoSpacePrevious(a);};AQ.ptr.prototype.LinkTextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Next;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeRune(d.Tokens);f=e[0];g=E.DecodeLastRune(c.Tokens);h=g[0];if(AA(h,f)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpaceNext=function(a){return this.$val.LinkTextAutoSpaceNext(a);};AS=function(a,b){var a,b,c,d,e,f,g,h;c="";d=0;e=0;while(true){if(!(e>0;c=c+(($encodeRune(g)));d=d+(1)>>0;if(b<=d){break;}}return c;};$pkg.SubStr=AS;AT=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";if(0===K.StrToBytes(a.HeadingNormalizedID).$length){$s=1;continue;}$s=2;continue;case 1:$r=AU(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:b=a.HeadingNormalizedID;$s=-1;return b;}return;}var $f={$blk:AT,$c:true,$r,a,b,$s};return $f;};$pkg.HeadingID=AT;AU=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=CM.nil;c=a.Parent;while(true){if(!(!((0===c.Type)))){break;}c=c.Parent;}b[0]=$makeMap($String.keyFor,[]);$r=H.Walk(c,(function(b){return function $b(d,e){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if(e){$s=1;continue;}$s=2;continue;case 1:if(2===d.Type){$s=3;continue;}$s=4;continue;case 3:f=AV(d);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;while(true){if(!(0<(h=$mapIndex(b[0],$String.keyFor(g)),h!==undefined?h.v:0))){break;}g=g+("-");}d.HeadingNormalizedID=g;i=g;(b[0]||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(i),{k:i,v:1});case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AU,$c:true,$r,a,b,c,$s};return $f;};AV=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=a.ChildByType(420);d="";if(!(CM.nil===c)){d=K.BytesToStr(c.Tokens);}if(""===d){$s=1;continue;}$s=2;continue;case 1:e=a.Text();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 2:d=C.TrimLeft(d,"#");d=C.ReplaceAll(d,"\xE2\x80\xB8","");f=d;g=0;while(true){if(!(g");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e;h=0;case 9:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);$r=c.renderToC0(i);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h++;$s=9;continue;case 10:$r=c.WriteString("");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.WriteString("[toc]
    ");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.WriteString("");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:AQ.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};AQ.ptr.prototype.renderToC0=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.WriteString("
  • ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("span",new CL([new CJ(["data-target-id",a.ID])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.WriteString(a.Content);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=a.Children;d=0;case 8:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);$r=b.renderToC0(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=8;continue;case 9:$r=b.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=b.WriteString("
  • ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.renderToC0,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.renderToC0=function(a){return this.$val.renderToC0(a);};AQ.ptr.prototype.Tag=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(d.DisableTags>0){$s=-1;return;}$r=d.WriteString("<");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.WriteString(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=d.WriteString(" "+(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])+"=\""+(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=5;continue;case 6:case 4:if(c){$s=8;continue;}$s=9;continue;case 8:$r=d.WriteString(" /");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=d.WriteString(">");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Tag,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};AQ.prototype.Tag=function(a,b,c){return this.$val.Tag(a,b,c);};AQ.ptr.prototype.headings=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=DC.nil;b=this;c=b.Tree.Root.ChildrenByType(2);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=DB.nil;f=d;g=0;case 2:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!(b.Tree.Root===h.Parent)){g++;$s=2;continue;}i=AT(h);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(b.Options.VditorWYSIWYG){j="wysiwyg-"+j;}else if(b.Options.VditorIR){j="ir-"+j;}if(b.Options.KramdownBlockIAL){k=h.KramdownIAL;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if("id"===(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0])){j=(1>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+1]);break;}l++;}}n=AY(h);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new AW.ptr(j,b.Tree.Box,b.Tree.Path,b.Tree.HPath,n,h.HeadingLevel,DC.nil,DB.nil);if(DB.nil===e){a=$append(a,o);}else{if(e.Level");$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=b[0].Write(G.EscapeHTML(d.Tokens));$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=b[0].WriteString("");$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=6;continue;case 4:k=b[0].WriteString("");$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=b[0].Write(G.EscapeHTML(d.Tokens));$s=12;case 12:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=b[0].WriteString("");$s=13;case 13:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=6;continue;case 5:if(d.ParentIs(22,CQ.nil)){$s=14;continue;}if(d.ParentIs(17,CQ.nil)){$s=15;continue;}$s=16;continue;case 14:n=b[0].WriteString("");$s=18;case 18:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=b[0].Write(G.EscapeHTML(d.Tokens));$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=b[0].WriteString("");$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=17;continue;case 15:q=b[0].WriteString("");$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=b[0].Write(G.EscapeHTML(d.Tokens));$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=b[0].WriteString("");$s=23;case 23:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=17;continue;case 16:if(!(CM.nil===d.Previous)&&(10===d.Previous.Type)){$s=24;continue;}$s=25;continue;case 24:if(A.HasPrefix(d.Previous.Tokens,(new CI($stringToBytes(""))))){$s=31;continue;}$s=32;continue;case 31:v=b[0].Write(d.Next.Tokens);$s=33;case 33:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 32:$s=26;continue;case 25:w=b[0].Write(G.EscapeHTML(d.Tokens));$s=34;case 34:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;case 26:case 17:case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();$s=-1;return c;}return;}var $f={$blk:AY,$c:true,$r,a,b,c,$s};return $f;};AQ.ptr.prototype.setextHeadingLen=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=0;d=this;b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(e,f){var{e,f,g,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(((16===e.Type)||(40===e.Type)||(32===e.Type))&&f){$s=1;continue;}$s=2;continue;case 1:g=b[0].Write(e.Tokens);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=b[0].String();e=C.ReplaceAll(e,"\xE2\x80\xB8","");f=C.Split(e,"\n");h=(g=f.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));i=h;j=0;while(true){if(!(j>0;}else{c=c+(1)>>0;}j+=k[1];}if(0===c){c=3;}$s=-1;return c;}return;}var $f={$blk:AQ.ptr.prototype.setextHeadingLen,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};AQ.prototype.setextHeadingLen=function(a){return this.$val.setextHeadingLen(a);};AQ.ptr.prototype.renderListStyle=function(a,b){var a,b,c,d;c=this;if(c.Options.RenderListStyle){d=a.ListData.Typ;if(d===(0)){b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}else if(d===(1)){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else if(d===(3)){if(0===a.ListData.BulletChar){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else{b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}}}};AQ.prototype.renderListStyle=function(a,b){return this.$val.renderListStyle(a,b);};AQ.ptr.prototype.tagSrc=function(a){var a,b,c,d;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>c){return CI.nil;}else{d=$subslice(a,(c+5>>0));d=$subslice(d,0,A.Index(d,(new CI($stringToBytes("\"")))));return d;}};AQ.prototype.tagSrc=function(a){return this.$val.tagSrc(a);};AQ.ptr.prototype.tagSrcPath=function(a){var a,b,c,d,e,f;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>0));if(1>A.ReplaceAll(d,F.CaretTokens,CI.nil).$length){return a;}e=b.LinkPath(d);f=($bytesToString(e));if(A.HasPrefix(e,(new CI($stringToBytes("//"))))){f="https:"+f;}a=A.ReplaceAll(a,d,(new CI($stringToBytes(f))));}return a;};AQ.prototype.tagSrcPath=function(a){return this.$val.tagSrcPath(a);};AQ.ptr.prototype.isLastNode=function(a,b){var a,b,c,d;c=this;if(a===b||CM.nil===b||CM.nil===b.Parent){return true;}if(!(CM.nil===b.Next)){return false;}if(0===b.Parent.Type){return a.LastChild===b;}d=CM.nil;d=b.Parent;while(true){if(CM.nil===d||CM.nil===d.Parent){return true;}if(0===d.Parent.Type){break;}d=d.Parent;}return a.LastChild===d;};AQ.prototype.isLastNode=function(a,b){return this.$val.isLastNode(a,b);};AQ.ptr.prototype.NodeID=function(a){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){b=(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]);$s=-1;return b;}e++;}g=H.NewNodeID();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}b=g;h=b;$s=2;case 2:return h;}return;}var $f={$blk:AQ.ptr.prototype.NodeID,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AQ.prototype.NodeID=function(a){return this.$val.NodeID(a);};AQ.ptr.prototype.NodeAttrs=function(a){var a,b,c,d,e,f;b=CL.nil;c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=$append(b,f);e++;}return b;};AQ.prototype.NodeAttrs=function(a){return this.$val.NodeAttrs(a);};AQ.ptr.prototype.NodeAttrsStr=function(a){var a,b,c,d,e,f;b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=b+((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])+"=\""+(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])+"\" ");e++;}if(!(""===b)){b=$substring(b,0,(b.length-1>>0));}return b;};AQ.prototype.NodeAttrsStr=function(a){return this.$val.NodeAttrsStr(a);};BA=function(a){var a,b,c,d;if(""===a){return false;}b=AZ;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(a===d){return true;}c++;}return false;};$pkg.NoHighlight=BA;AQ.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(43))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))||(f===(543))||(f===(542))||(f===(433))||(f===(434))||(f===(432))||(f===(456))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:AQ.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};AQ.prototype.Text=function(a){return this.$val.Text(a);};BD=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BC.ptr(c,b.NodeIndexStart);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BD,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleRenderer=BD;BC.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"custom-block");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BC.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"av");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BC.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(d.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:e=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!(""===f)){$s=10;continue;}$s=11;continue;case 10:g=E.DecodeLastRuneInString(f);h=g[0];if(D.IsLetter(h)||D.IsDigit(h)){$s=12;continue;}$s=13;continue;case 12:$r=d.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=d.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:c[0]=d.renderTextMarkAttrs(a);d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((CM.nil===a.Previous||(32===a.Previous.Type))&&J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=16;continue;}$s=17;continue;case 16:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:if(a.IsTextMarkType("code")){if(d.BaseRenderer.Options.Spellcheck){c[0]=$append(c[0],new CJ(["spellcheck","false"]));}}$r=d.BaseRenderer.Tag("span",c[0],false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=20;continue;}$s=21;continue;case 20:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:i=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){i=C.ReplaceAll(i,"|","|");}else{i=C.ReplaceAll(i,"\\|","|");}i=C.ReplaceAll(i,"\n","
    ");}$r=d.BaseRenderer.WriteString(i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=25;continue;}$s=26;continue;case 25:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 26:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=28;continue;}$s=29;continue;case 28:if(d.BaseRenderer.Options.AutoSpace){$s=31;continue;}$s=32;continue;case 31:j=a.NextNodeText();$s=33;case 33:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(""===k)){$s=34;continue;}$s=35;continue;case 34:l=E.DecodeRuneInString(k);m=l[0];if(D.IsLetter(m)||D.IsDigit(m)){$s=36;continue;}$s=37;continue;case 36:$r=d.BaseRenderer.WriteByte(32);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:case 35:case 32:$s=30;continue;case 29:$r=d.BaseRenderer.TextAutoSpaceNext(a);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BC.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BC.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BC.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","u"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BC.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BC.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BC.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kbd"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BC.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BC.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.ChildByType(468);if(CM.nil===e){$s=-1;return 2;}c[0]=CL.nil;f=e.Tokens;f=G.EscapeHTML(A.ReplaceAll(f,F.CaretTokens,CI.nil));g=K.BytesToStr(f);g=C.ReplaceAll(g,"_esc_newline_","\n");c[0]=$append(c[0],new CJ(["data-content",g]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BC.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BC.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BC.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BC.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=$append(c[0],new CJ(["data-subtype","widget"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BC.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BC.ptr.prototype.replaceSrc=function(a,b,c){var a,b,c,d,e,f;d=this;e=$appendSlice((new CI($stringToBytes(" src=\""))),b);e=$appendSlice(e,(new CI($stringToBytes("\""))));f=$appendSlice((new CI($stringToBytes(" src=\""))),c);f=$appendSlice(f,(new CI($stringToBytes("\""))));if(A.Contains(a,(new CI($stringToBytes("data-src="))))){return A.ReplaceAll(a,f,e);}e=$appendSlice(e,(new CI($stringToBytes(" data-src=\""+K.BytesToStr(c)+"\""))));return A.ReplaceAll(a,f,e);};BC.prototype.replaceSrc=function(a,b,c){return this.$val.replaceSrc(a,b,c);};BC.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(431);e="";f="";g=e;h=f;i=a.ChildByType(433);h="s";if(CM.nil===i){i=a.ChildByType(434);h="d";}if(!(CM.nil===i)){$s=3;continue;}$s=4;continue;case 3:j=i.Text();$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}g=j;case 4:g=c.escapeRefText(g);k=new CL([new CJ(["data-type","block-ref"]),new CJ(["data-subtype",h]),new CJ(["data-id",d.TokensStr()])]);$r=c.BaseRenderer.Tag("span",k,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=C.ReplaceAll(g,"&#124;","|");$r=c.BaseRenderer.WriteString(g);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BC.ptr.prototype.escapeRefText=function(a){var a,b;b=this;a=C.ReplaceAll(a,">",">");a=C.ReplaceAll(a,"<","<");a=C.ReplaceAll(a,"\"",""");a=C.ReplaceAll(a,"'","'");return a;};BC.prototype.escapeRefText=function(a){return this.$val.escapeRefText(a);};BC.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BC.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BC.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BC.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BC.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(541);e=d.TokensStr();f=e;g=a.ChildByType(543);if(!(CM.nil===g)){$s=3;continue;}$s=4;continue;case 3:h=g.Text();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 4:f=c.escapeRefText(f);i=new CL([new CJ(["data-type","file-annotation-ref"]),new CJ(["data-subtype","s"]),new CJ(["data-id",e])]);$r=c.BaseRenderer.Tag("span",i,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(f);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BC.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BC.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BC.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BC.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BC.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"git-conflict");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["spellcheck","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.TrimSpace(a.Tokens);$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$r=d.BaseRenderer.Write(G.EscapeHTML(f));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BC.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BC.ptr.prototype.renderGitConflict=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BC.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Previous||!((32===a.Previous.Type))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BC.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Parent.Text();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","tag"]),new CJ(["data-content",G.EscapeHTMLStr(e)])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BC.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BC.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"sb");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.FirstChild.Next.TokensStr();if(""===e){e="row";}c[0]=$append(c[0],new CJ(["data-sb-layout",e]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BC.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BC.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BC.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BC.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BC.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BC.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BC.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BC.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BC.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BC.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BC.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BC.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BC.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BC.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sup"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BC.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BC.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BC.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sub"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BC.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BC.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BC.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BC.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BC.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BC.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BC.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BC.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BC.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BC.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;f=false;g="";if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.Next)&&0e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="";h=false;if(!(CM.nil===a.Previous)){h=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}c[0]=new CL([new CJ(["class","protyle-action--first protyle-action__language"]),new CJ(["contenteditable","false"])]);if(!(CM.nil===a.Previous)&&0=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])));}$r=d.BaseRenderer.Tag("span",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(g);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","b3-tooltips__nw b3-tooltips protyle-icon protyle-icon--first protyle-action__copy"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["class","hljs"])]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));c[0]=$append(c[0],new CJ(["spellcheck","false"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=12;continue;}$s=13;continue;case 12:if(h){$s=15;continue;}$s=16;continue;case 15:$r=d.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=14;continue;case 13:j=G.EscapeHTML(a.Tokens);j=A.ReplaceAll(j,(new CI($stringToBytes("__@mark__"))),(new CI($stringToBytes(""))));j=A.ReplaceAll(j,(new CI($stringToBytes("__mark@__"))),(new CI($stringToBytes(""))));$r=d.BaseRenderer.Write(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BC.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BC.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BC.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BC.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BC.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BC.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BC.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)]),new CJ(["contenteditable","false"]),new CJ(["class","render-node"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BC.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BC.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.Contains(a.Previous.Tokens,F.CaretTokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BC.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;c[0]=$append(c[0],new CJ(["data-content",K.BytesToStr(e)]));c[0]=$append(c[0],new CJ(["data-subtype","math"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BC.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BC.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BC.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BC.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="td";if(107===a.Parent.Parent.Type){e="th";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;f=a.TableCellAlign;if(f===(1)){c[0]=$append(c[0],new CJ(["align","left"]));}else if(f===(2)){c[0]=$append(c[0],new CJ(["align","center"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["align","right"]));}d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BC.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BC.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("colgroup",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.IALAttr("colgroup");if(""===d){$s=5;continue;}$s=6;continue;case 5:if(!(CM.nil===a.FirstChild)){$s=8;continue;}$s=9;continue;case 8:e=a.FirstChild.FirstChild;case 10:if(!(!(CM.nil===e))){$s=11;continue;}if(109===e.Type){$s=12;continue;}$s=13;continue;case 12:f=e.IALAttr("style");if(!(""===f)){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",f])]),true);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:e=e.Next;$s=10;continue;case 11:case 9:$s=7;continue;case 6:g=C.Split(d,"|");h=g;i=0;case 19:if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(!(""===j)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",j])]),true);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:i++;$s=19;continue;case 20:case 7:$r=c.BaseRenderer.Tag("/colgroup",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BC.ptr.prototype.renderTable=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(CM.nil===a.FirstChild){$s=-1;return 1;}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"table");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("table",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/table",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BC.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BC.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BC.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BC.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BC.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BC.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BC.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!((34===a.Parent.Type))){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BC.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BC.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BC.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BC.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BC.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BC.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BC.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BC.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BC.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BC.ptr.prototype.renderImage=function(a,b){var{a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){d=true;$s=6;continue s;}e=a.Previous.Text();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d="\xE2\x80\xB8"===e;case 6:if(d||(a.ParentIs(109,CQ.nil)&&!(CM.nil===a.Previous)&&CM.nil===a.Previous.Previous)){$s=4;continue;}$s=5;continue;case 4:if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:if(456===a.Next.Type){$s=11;continue;}$s=12;continue;case 11:if(!A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 5:f=new CL([new CJ(["contenteditable","false"]),new CJ(["data-type","img"]),new CJ(["class","img"])]);g=a.IALAttr("parent-style");if(!(""===g)){f=$append(f,new CJ(["style",g]));}if(!C.Contains(g,"display")&&!C.Contains(g,"block")&&(c.BaseRenderer.LastOut===10)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:$r=c.BaseRenderer.Tag("span",f,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action protyle-icons"])]),false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:h=a.ChildByType(41).Tokens;if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=AE(h);$s=32;case 32:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;case 31:h=A.ReplaceAll(h,F.CaretTokens,CI.nil);j=h;k=K.BytesToStr(j);l=K.BytesToStr(c.BaseRenderer.LinkPath(h));m=new CL([new CJ(["src",l]),new CJ(["data-src",k])]);n=a.ChildByType(40);if(!(CM.nil===n)&&0");$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:m=new CL([new CJ(["class","protyle-action__title"])]);$r=c.BaseRenderer.Tag("span",m,false);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=c.BaseRenderer.Writer.Write(G.EscapeHTML(p));$s=44;case 44:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Next){x=true;$s=53;continue s;}y=a.Next.Text();$s=54;case 54:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x="\xE2\x80\xB8"===y;case 53:if(x){$s=51;continue;}$s=52;continue;case 51:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 52:if(!(456===a.Next.Type)){z=false;$s=58;continue s;}if(CM.nil===a.Next.Next){aa=true;$s=59;continue s;}ab=a.Next.Next.Text();$s=60;case 60:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa="\xE2\x80\xB8"===ab;case 59:z=aa;case 58:if(z){$s=56;continue;}$s=57;continue;case 56:if(A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 57:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderImage,$c:true,$r,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BC.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BC.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(41);e=d.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:f=A.TrimSpace(e);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=AE(e);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;h=A.ToLower(e);$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(A.HasPrefix(i,(new CI($stringToBytes("javascript:"))))){e=CI.nil;}case 5:e=c.BaseRenderer.LinkPath(e);j=A.Contains(e,F.CaretTokens);if(j){k=a.ChildByType(40);k.Tokens=$appendSlice(k.Tokens,F.CaretTokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);}l=new CL([new CJ(["data-type","a"]),new CJ(["data-href",($bytesToString(e))])]);m=a.ChildByType(42);if(!(CM.nil===m)&&!(CI.nil===m.Tokens)){l=$append(l,new CJ(["data-title",c.escapeRefText(($bytesToString(m.Tokens)))]));}$r=c.BaseRenderer.Tag("span",l,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BC.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.Tokens;e=A.ReplaceAll(e,F.CaretTokens,CI.nil);c[0]=$append(c[0],new CJ(["data-subtype","block"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["data-content",K.BytesToStr(G.EscapeHTML(e))])]);$r=d.BaseRenderer.Tag("protyle-html",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/protyle-html",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BC.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))||A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:a.Type=9;d=c.renderHTML(a,b);$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=8;case 8:return e;}return;}var $f={$blk:BC.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BC.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BC.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"p");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BC.ptr.prototype.renderText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace&&!((515===a.Parent.Type))){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(a.ParentIs(530,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:if("code"===a.Parent.TokensStr()){if(a.ParentIs(109,CQ.nil)){d=A.ReplaceAll(d,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}d=G.EscapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderText,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BC.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=15;continue;}$s=16;continue;case 15:h=a.NextNodeText();$s=17;case 17:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=18;continue;}$s=19;continue;case 18:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(32);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 16:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BC.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};BC.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BC.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};BC.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BC.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BC.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BC.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BC.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BC.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BC.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BC.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BC.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"bq");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BC.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BC.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(6>0));c[0]=$append(c[0],new CJ(["data-subtype","h"+e]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"h"+e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BC.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BC.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BC.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;e=a.ListData.Typ;if(e===(0)){c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(e===(1)){c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(e===(3)){c[0]=$append(c[0],new CJ(["data-subtype","t"]));}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"list");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BC.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e="li";c[0]=CL.nil;f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+"."]));c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","t"]));if(!(a.FirstChild===CM.nil)&&a.FirstChild.TaskListItemChecked){e=e+(" protyle-task--done");}}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0===a.ListData.Typ){$s=6;continue;}if(1===a.ListData.Typ){$s=7;continue;}$s=8;continue;case 6:g=new CL([new CJ(["class","protyle-action"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",g,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:h=new CL([new CJ(["class","protyle-action protyle-action--order"]),new CJ(["contenteditable","false"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",h,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(B.Itoa(a.ListData.Num)+".");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BC.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.TaskListItemChecked){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(CM.nil===a.Next){$s=8;continue;}$s=9;continue;case 8:d=H.NewNodeID();$s=10;case 10:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=a.InsertAfter(new H.Node.ptr(d,"","","",1,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BC.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"hr");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BC.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.renderBr(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BC.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Previous)&&((22===a.Previous.Type)||(17===a.Previous.Type)||(460===a.Previous.Type)||(101===a.Previous.Type)||(520===a.Previous.Type)||(456===a.Previous.Type))&&!(CM.nil===a.Next)&&A.Equal(F.CaretTokens,a.Next.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BC.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BC.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BC.ptr.prototype.blockNodeAttrs=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.nodeID(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nodeIndex(a,b);d.nodeDataType(a,b);d.nodeClass(a,b,c);e=a.KramdownIAL;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("id"===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])){f++;continue;}b.$set($append(b.$get(),new CJ([(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),C.ReplaceAll((1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]),"_esc_newline_","\n")])));f++;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.blockNodeAttrs,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.blockNodeAttrs=function(a,b,c){return this.$val.blockNodeAttrs(a,b,c);};BC.ptr.prototype.nodeClass=function(a,b,c){var a,b,c,d;d=this;b.$set($append(b.$get(),new CJ(["class",c])));};BC.prototype.nodeClass=function(a,b,c){return this.$val.nodeClass(a,b,c);};BC.ptr.prototype.nodeDataType=function(a,b){var a,b,c;c=this;b.$set($append(b.$get(),new CJ(["data-type",new H.NodeType(a.Type).String()])));};BC.prototype.nodeDataType=function(a,b){return this.$val.nodeDataType(a,b);};BC.ptr.prototype.nodeID=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.NodeID(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b.$set($append(b.$get(),new CJ(["data-node-id",d])));$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.nodeID,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.nodeID=function(a,b){return this.$val.nodeID(a,b);};BC.ptr.prototype.nodeIndex=function(a,b){var a,b,c;c=this;if(CM.nil===a.Parent||!((0===a.Parent.Type))){return;}b.$set($append(b.$get(),new CJ(["data-node-index",B.Itoa(c.NodeIndex)])));c.NodeIndex=c.NodeIndex+(1)>>0;return;};BC.prototype.nodeIndex=function(a,b){return this.$val.nodeIndex(a,b);};BC.ptr.prototype.spellcheck=function(a){var a,b;b=this;a.$set($append(a.$get(),new CJ(["spellcheck",B.FormatBool(b.BaseRenderer.Options.Spellcheck)])));return;};BC.prototype.spellcheck=function(a){return this.$val.spellcheck(a);};BC.ptr.prototype.contenteditable=function(a,b){var a,b,c,d;c=this;d=a.IALAttr("contenteditable");if(!(""===d)){b.$set($append(b.$get(),new CJ(["contenteditable",d])));}else{b.$set($append(b.$get(),new CJ(["contenteditable",B.FormatBool(c.BaseRenderer.Options.ProtyleContenteditable)])));}return;};BC.prototype.contenteditable=function(a,b){return this.$val.contenteditable(a,b);};BC.ptr.prototype.renderIAL=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=new CL([new CJ(["class","protyle-attr"]),new CJ(["contenteditable","false"])]);$r=b.BaseRenderer.Tag("div",c,false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.IALAttr("bookmark");if(!(""===d)){$s=2;continue;}$s=3;continue;case 2:d=C.ReplaceAll(d,"_esc_newline_","\n");d=G.EscapeHTMLStr(d);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--bookmark"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(d);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:e=a.IALAttr("name");if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:e=C.ReplaceAll(e,"_esc_newline_","\n");e=G.EscapeHTMLStr(e);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--name"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:f=a.IALAttr("alias");if(!(""===f)){$s=13;continue;}$s=14;continue;case 13:f=C.ReplaceAll(f,"_esc_newline_","\n");f=G.EscapeHTMLStr(f);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--alias"])]),false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(f);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:g=a.IALAttr("memo");if(!(""===g)){$s=19;continue;}$s=20;continue;case 19:g=C.ReplaceAll(g,"_esc_newline_","\n");g=G.EscapeHTMLStr(g);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--memo b3-tooltips b3-tooltips__nw"]),new CJ(["aria-label",g])]),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:h=a.IALAttr("custom-avs");if(!(""===h)){$s=24;continue;}$s=25;continue;case 24:h=C.ReplaceAll(h,"_esc_newline_","\n");h=G.EscapeHTMLStr(h);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--av"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:i=a.IALAttr("refcount");if(!(""===i)){$s=29;continue;}$s=30;continue;case 29:i=C.ReplaceAll(i,"_esc_newline_","\n");i=G.EscapeHTMLStr(i);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--refcount popover__block"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(i);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$r=b.BaseRenderer.WriteString("\xE2\x80\x8B");$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.renderIAL,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderIAL=function(a){return this.$val.renderIAL(a);};BC.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=C.ReplaceAll(a.TextMarkATitle,"\"","&quot;");if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=C.ReplaceAll(j,"_esc_newline_","\n");j=C.ReplaceAll(j,"\"","&quot;");b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;k=C.ReplaceAll(k,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};BC.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BF=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BE.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BF,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtylePreviewRenderer=BF;BE.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BE.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BE.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BE.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BE.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BE.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BE.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BE.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BE.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BE.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BE.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BE.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BE.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BE.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BE.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BE.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BE.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BE.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BE.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BE.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BE.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BE.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BE.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BE.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BE.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BE.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BE.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BE.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BE.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BE.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BE.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BE.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BE.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BE.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BE.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BE.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BE.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BE.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BE.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BE.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BE.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BE.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BE.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BE.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BE.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BE.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BE.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BE.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BE.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BE.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BE.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BE.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BE.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BE.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BE.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BE.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BE.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BE.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BE.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BE.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BE.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BE.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BE.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BE.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=false;e="";if(!(CM.nil===a.FirstChild.Next)&&0");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:if(d){$s=-1;return 1;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/pre",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BE.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BE.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BE.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BE.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BE.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BE.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BE.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BE.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BE.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BE.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BE.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BE.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BE.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BE.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BE.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BE.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BE.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=CL.nil;e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d=$append(d,new CJ(["data-content",K.BytesToStr(e)]));d=$append(d,new CJ(["data-subtype","math"]));$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BE.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BE.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BE.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BE.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BE.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BE.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BE.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BE.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BE.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BE.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BE.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BE.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BE.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BE.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BE.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BE.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BE.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BE.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BE.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BE.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BE.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BE.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=new CL([new CJ(["class","img"])]);e=a.IALAttr("parent-style");if(!(""===e)){d=$append(d,new CJ(["style",e]));}$r=c.BaseRenderer.Tag("span",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"");$s=12;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(34);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=a.ChildByType(42);h=CI.nil;if(!(CM.nil===g)&&!(CI.nil===g.Tokens)){$s=16;continue;}$s=17;continue;case 16:h=G.EscapeHTML(g.Tokens);$r=c.BaseRenderer.WriteString(" title=\"");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(h);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:i=c.BaseRenderer.NodeAttrsStr(a);if(!(""===i)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.WriteString(" "+i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(" />");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BE.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BE.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);$r=c.BaseRenderer.WriteString(" "+(0>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])+"=\""+(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1])+"\"");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i++;$s=19;continue;case 20:case 18:case 13:case 10:$r=c.BaseRenderer.WriteString(">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:k=AT(a);$s=25;case 25:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+l]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+l])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString("
    >0))+">");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BE.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BE.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BE.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BE.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BE.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f="protyle-task";if(e.TaskListItemChecked){f=f+(" protyle-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BE.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BE.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BE.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BE.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BE.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BE.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BE.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BE.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BE.ptr.prototype.Render=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;$s=-1;return a;}return;}var $f={$blk:BE.ptr.prototype.Render,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.Render=function(){return this.$val.Render();};BJ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BI.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BJ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleExportMdRenderer=BJ;BI.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BI.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BI.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.ContainTextMarkTypes(new CJ(["strong","em","s"]))&&!a.IsTextMarkType("inline-math");if(b){$s=1;continue;}$s=2;continue;case 1:e=c.renderMdMarker(a,b);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!a.IsTextMarkType("a")&&!a.IsTextMarkType("inline-memo")&&!a.IsTextMarkType("block-ref")&&!a.IsTextMarkType("file-annotation-ref")&&!a.IsTextMarkType("inline-math")){$s=5;continue;}$s=6;continue;case 5:g=a.TextMarkTextContent;if(a.IsTextMarkType("code")){$s=8;continue;}$s=9;continue;case 8:g=G.UnescapeString(g);if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:h=I.RepeatBackslashBeforePipe(g);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:case 9:if(d){$s=13;continue;}$s=14;continue;case 13:i=E.DecodeRuneInString(g);j=i[0];k=I.IsUnicodeWhitespace(j);l=D.IsPunct(j)||D.IsSymbol(j);if(k||l){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(32);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:$r=c.BaseRenderer.WriteString(f);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$s=3;continue;case 2:m=c.renderMdMarker(a,b);$s=21;case 21:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.WriteString(n);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=23;continue;}$s=24;continue;case 23:if(530===a.Next.Type){$s=25;continue;}$s=26;continue;case 25:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=27;continue;case 26:if(d){$s=29;continue;}$s=30;continue;case 29:o=a.TextMarkTextContent;p=E.DecodeLastRuneInString(o);q=p[0];r=I.IsUnicodeWhitespace(q);s=D.IsPunct(q)||D.IsSymbol(q);if(r||s){$s=31;continue;}$s=32;continue;case 31:$r=c.BaseRenderer.WriteByte(32);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 32:case 30:case 27:case 24:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};BI.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BI.ptr.prototype.renderMdMarker=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c="";d=this;e=C.Split(a.TextMarkType," ");if(1===e.$length){$s=1;continue;}$s=2;continue;case 1:f=d.renderMdMarker0(a,(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]),b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}c=f;g=c;$s=4;case 4:return g;case 2:h=CJ.nil;i=e;j=0;while(true){if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);if("a"===l||"inline-memo"===l||"block-ref"===l||"file-annotation-ref"===l||"inline-math"===l){h=$append(h,l);e=$appendSlice($subslice(e,0,k),$subslice(e,(k+1>>0)));break;}j++;}e=$appendSlice(h,e);m=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if("a"===m||"inline-memo"===m||"block-ref"===m||"file-annotation-ref"===m||"inline-math"===m){$s=5;continue;}$s=6;continue;case 5:n=$subslice(e,1);if(b){$s=8;continue;}$s=9;continue;case 8:o=n;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if(!("code"===q)){c=c+(d.renderMdMarker1(a,q,b));}p++;}r=m;if(r===("a")){$s=12;continue;}if(r===("block-ref")){$s=13;continue;}if(r===("file-annotation-ref")){$s=14;continue;}if(r===("inline-memo")){$s=15;continue;}if(r===("inline-math")){$s=16;continue;}$s=17;continue;case 12:s=a.TextMarkAHref;s=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(s))))));s=G.UnescapeHTMLStr(s);s=d.BaseRenderer.EncodeLinkSpace(s);c=c+("[");t=n;u=0;while(true){if(!(u=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]);if("code"===v){c=c+(d.renderMdMarker1(a,v,b));}u++;}$s=-1;return c;case 13:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){c=c+(" \""+a.TextMarkTextContent+"\"");}else{c=c+(" '"+a.TextMarkTextContent+"'");}c=c+("))");$s=17;continue;case 14:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("<<"+a.TextMarkFileAnnotationRefID);c=c+(" \""+a.TextMarkTextContent+"\"");c=c+(">>");$s=17;continue;case 15:w=E.DecodeLastRuneInString(a.TextMarkTextContent);x=w[0];c=c+(a.TextMarkTextContent);y=a.TextMarkInlineMemoContent;y=C.ReplaceAll(y,"_esc_newline_"," ");if(AB(x)){c=c+("^\xEF\xBC\x88"+y+"\xEF\xBC\x89^");}else{c=c+("^("+y+")^");}$s=17;continue;case 16:z=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=18;continue;}$s=19;continue;case 18:aa=I.RepeatBackslashBeforePipe(z);$s=20;case 20:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;z=C.ReplaceAll(z,"\n","
    ");case 19:z=C.ReplaceAll(z,"_esc_newline_"," ");c=c+("$"+z+"$");case 17:case 11:$s=10;continue;case 9:ab=m;if(ab===("a")){ac=a.TextMarkAHref;ac=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(ac))))));ac=G.UnescapeHTMLStr(ac);ac=d.BaseRenderer.EncodeLinkSpace(ac);c=c+(($bytesToString(I.EscapeProtyleMarkers((new CI($stringToBytes(a.TextMarkTextContent)))))));ad=n;ae=0;while(true){if(!(ae=ad.$length)?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+ae]);if("code"===af){c=c+(d.renderMdMarker1(a,af,b));}ae++;}c=c+("]("+ac);if(!(""===a.TextMarkATitle)){c=c+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}c=c+(")");}ag=n;ah=0;while(true){if(!(ah=ag.$length)?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+ah]);if(!("code"===ai)){c=c+(d.renderMdMarker1(a,ai,b));}ah++;}case 10:$s=7;continue;case 6:if(!b){BK(e);}aj=e;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);c=c+(d.renderMdMarker1(a,al,b));ak++;}case 7:$s=-1;return c;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderMdMarker=function(a,b){return this.$val.renderMdMarker(a,b);};BK=function(a){var a,b,c,d,e,f,g,h;b=a.$length-1>>0;c=0;while(true){if(!(c<(d=a.$length/2,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError("integer divide by zero")))){break;}e=(f=b-c>>0,((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]));g=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]=e);(h=b-c>>0,((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]=g));c=c+(1)>>0;}};BI.ptr.prototype.renderMdMarker0=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=b;if(f===("a")){$s=2;continue;}if(f===("block-ref")){$s=3;continue;}if(f===("file-annotation-ref")){$s=4;continue;}if(f===("inline-memo")){$s=5;continue;}if(f===("inline-math")){$s=6;continue;}$s=7;continue;case 2:g=a.TextMarkAHref;g=($bytesToString(e.BaseRenderer.LinkPath((new CI($stringToBytes(g))))));g=G.UnescapeHTMLStr(g);g=e.BaseRenderer.EncodeLinkSpace(g);if(c){d=d+("["+a.TextMarkTextContent+"]("+g);if(!(""===a.TextMarkATitle)){d=d+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}d=d+(")");}$s=8;continue;case 3:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){d=d+(" \""+a.TextMarkTextContent+"\"");}else{d=d+(" '"+a.TextMarkTextContent+"'");}d=d+("))");}$s=8;continue;case 4:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("<<"+a.TextMarkFileAnnotationRefID);d=d+(" \""+a.TextMarkTextContent+"\"");d=d+(">>");}$s=8;continue;case 5:if(c){h=E.DecodeLastRuneInString(a.TextMarkTextContent);i=h[0];d=d+(a.TextMarkTextContent);j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");if(AB(i)){d=d+("^\xEF\xBC\x88"+j+"\xEF\xBC\x89^");}else{d=d+("^("+j+")^");}}$s=8;continue;case 6:if(c){$s=9;continue;}$s=10;continue;case 9:k=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=12;continue;}$s=13;continue;case 12:l=I.RepeatBackslashBeforePipe(k);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;k=C.ReplaceAll(k,"\n","
    ");case 13:k=C.ReplaceAll(k,"_esc_newline_"," ");d=d+("$"+k);$s=11;continue;case 10:d=d+("$");case 11:$s=8;continue;case 7:d=d+(e.renderMdMarker1(a,b,c));case 8:case 1:$s=-1;return d;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BI.prototype.renderMdMarker0=function(a,b,c){return this.$val.renderMdMarker0(a,b,c);};BI.ptr.prototype.renderMdMarker1=function(a,b,c){var a,b,c,d,e,f;d="";e=this;f=b;if(f===("strong")){d=d+("**");}else if(f===("em")){d=d+("*");}else if(f===("code")){d=d+("`");}else if(f===("tag")){d=d+("#");}else if(f===("s")){d=d+("~~");}else if(f===("mark")){d=d+("==");}else if(f===("u")){if(c){d=d+("");}else{d=d+("");}}else if(f===("sup")){if(c){d=d+("^");}else{d=d+("^");}}else if(f===("sub")){if(c){d=d+("~");}else{d=d+("~");}}else if(f===("kbd")){if(c){d=d+("");}else{d=d+("");}}return d;};BI.prototype.renderMdMarker1=function(a,b,c){return this.$val.renderMdMarker1(a,b,c);};BI.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BI.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BI.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BI.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BI.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BI.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BI.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BI.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BI.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BI.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BI.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BI.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BI.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BI.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BI.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BI.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BI.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BI.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BI.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BI.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BI.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BI.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BI.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BI.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BI.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BI.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BI.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BI.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BI.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BI.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BI.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BI.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BI.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BI.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BI.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BI.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BI.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BI.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BI.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BI.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BI.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BI.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BI.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BI.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BI.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BI.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BI.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BI.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BI.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BI.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BI.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BI.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BI.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BI.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BI.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BI.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BI.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};BI.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BI.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BI.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BI.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BI.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BI.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BI.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BI.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BI.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BI.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BI.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BI.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BI.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BI.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BI.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);d=(new CI($stringToBytes(c.BaseRenderer.EncodeLinkSpace(($bytesToString(d))))));$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BI.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BI.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BI.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BI.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BI.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BI.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BI.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BI.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BI.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BI.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BI.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BI.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BI.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BI.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BI.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BI.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BI.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.ChineseParagraphBeginningSpace&&(0===a.Parent.Type)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE3\x80\x80\xE3\x80\x80");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=7;continue;}$s=8;continue;case 7:d=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 8:if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("

    ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=-1;return 2;case 11:if(c.withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=18;continue;}$s=19;continue;case 18:if(c.withoutKramdownBlockIAL(a)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BI.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BI.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BI.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BI.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BI.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BI.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1");case 4:e=C.ReplaceAll(e,"_esc_newline_"," ");$r=c.BaseRenderer.WriteString(e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BI.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BI.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(36);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.UnescapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BI.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BI.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=2;continue;}$s=3;continue;case 2:if(c.withoutKramdownBlockIAL(a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BI.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a.Parent)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BI.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;e=a.Parent.ChildByType(14);if(!(CM.nil===e)&&BA(($bytesToString(e.CodeBlockInfo)))){d=G.UnescapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BI.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BI.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BI.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=11;continue;}$s=12;continue;case 11:if(c.withoutKramdownBlockIAL(a)){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(10);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 12:$s=-1;return 1;case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BI.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BI.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BI.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BI.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BI.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BI.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BI.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BI.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BI.ptr.prototype.renderBlockquote=function(a,b){var{a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BI.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BI.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BI.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BI.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BI.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BI.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BI.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();if(A.HasPrefix(k,(new CI($stringToBytes("* "))))){k=$appendSlice((new CI($stringToBytes(" \n\n"))),k);}l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BI.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BI.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BI.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BI.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BI.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};BI.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};BN=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(K.StrToBytes(a));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=K.BytesToStr(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BN,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmapStr=BN;BO=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=G.EncodeDestination(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BO,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmap=BO;BP=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];a=A.ReplaceAll(a,F.CaretTokens,CI.nil);c=J.Parse("",a,J.NewOptions());$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(CM.nil===d.Root.FirstChild||!((7===d.Root.FirstChild.Type))){$s=-1;return(new CI($stringToBytes("{}")));}e=CN.nil;f=d.Root.FirstChild;while(true){if(!(!(CM.nil===f))){break;}if(!((7===f.Type))){e=$append(e,f);}f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(d.Root,(function(b){return function $b(j,k){var{j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{j,k});$s=$s||0;s:while(true){switch($s){case 0:l=j.Type;if(l===(0)){$s=2;continue;}if(l===(7)){$s=3;continue;}if(l===(8)){$s=4;continue;}$s=5;continue;case 2:if(k){$s=7;continue;}$s=8;continue;case 7:if(BR(j)){$s=10;continue;}$s=11;continue;case 10:m=b[0].WriteString("{\"name\": \"Root\", \"children\": [");$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 11:$s=9;continue;case 8:if(BR(j)){$s=13;continue;}$s=14;continue;case 13:n=b[0].WriteString("]}");$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 14:case 9:$s=-1;return 2;case 3:$s=-1;return 2;case 4:o=!(CM.nil===j.ChildByType(7));if(k){$s=16;continue;}$s=17;continue;case 16:p=BQ(j.FirstChild);$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=b[0].WriteString("{\"name\": \""+p+"\"");$s=20;case 20:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o){$s=21;continue;}$s=22;continue;case 21:r=b[0].WriteString(", \"children\": [");$s=23;case 23:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 22:$s=18;continue;case 17:if(o){$s=24;continue;}$s=25;continue;case 24:s=b[0].WriteString("]");$s=26;case 26:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 25:t=b[0].WriteString("}");$s=27;case 27:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;if(!(CM.nil===j.Next)||!(CM.nil===j.Parent.Next)){$s=28;continue;}$s=29;continue;case 28:u=b[0].WriteString(", ");$s=30;case 30:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;case 29:case 18:$s=6;continue;case 5:$s=-1;return 2;case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};})(b));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0].Bytes();}return;}var $f={$blk:BP,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BQ=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c="";if(CM.nil===a){c="";$s=-1;return c;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(d,e){var{d,e,f,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if((7===d.Type)||(8===d.Type)){$s=-1;return 2;}if(((16===d.Type)||(40===d.Type))&&e){$s=1;continue;}$s=2;continue;case 1:f=b[0].Write(d.Tokens);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();c=C.ReplaceAll(c,"\\","\\\\");c=C.ReplaceAll(c,"\"","\\\"");c=C.ReplaceAll(c,"\xE2\x80\xB8","");$s=-1;return c;}return;}var $f={$blk:BQ,$c:true,$r,a,b,c,$s};return $f;};BR=function(a){var a,b,c,d;b=0;c=a.FirstChild;while(true){if(!(!(CM.nil===c))){break;}if(7===c.Type){b=b+(1)>>0;}c=c.Next;}if(1>0;}d=d.Next;}if(1a.$length){return true;}if(47===(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])){return false;}return!A.Contains(a,(new CI($stringToBytes(":/"))))&&!A.Contains(a,(new CI($stringToBytes(":\\"))))&&!A.Contains(a,(new CI($stringToBytes(":%5C"))));};AQ.prototype.isRelativePath=function(a){return this.$val.isRelativePath(a);};BT=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BS.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderCodeBlock")});h=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderMathBlock")});i=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderBlockquote")});j=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderSuperBlock")});k=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderHeading")});l=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderList")});m=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderListItem")});n=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderThematicBreak")});o=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHTML")});p=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderTable")});q=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderToC")});r=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderYamlFrontMatter")});s=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderBlockQueryEmbed")});t=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderKramdownBlockIAL")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:BT,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$pkg.NewKityMinderJSONRenderer=BT;BS.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};BS.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};BS.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BS.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BS.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BS.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BS.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BS.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BS.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){if(a.Parent.FirstChild===a&&a.Parent.LastChild===a){$s=-1;return 2;}}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BS.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BS.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BS.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BS.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;while(true){if(!(!(CM.nil===d))){break;}d.Unlink();d=d.Next;}e=BU(a);f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);a.AppendChild(h);g++;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BS.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BS.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BS.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BS.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BS.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BS.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 1;};BS.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BS.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"root\":");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BS.ptr.prototype.data=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=this;$r=c.BaseRenderer.WriteString("\"data\":");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.Type;if(e===(0)){$s=4;continue;}if(e===(7)){$s=5;continue;}if(e===(5)){$s=6;continue;}if(e===(475)){$s=7;continue;}$s=8;continue;case 4:d=c.BaseRenderer.Tree.Name;$s=9;continue;case 5:if(0===a.ListData.Typ){$s=10;continue;}if(1===a.ListData.Typ){$s=11;continue;}$s=12;continue;case 10:$r=c.BaseRenderer.WriteString("\"priority\": \"iconList\",");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 11:$r=c.BaseRenderer.WriteString("\"priority\": \"iconOrderedList\",");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\"priority\": \"iconCheck\",");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=9;continue;case 6:$r=c.BaseRenderer.WriteString("\"priority\": \"iconQuote\",");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 7:$r=c.BaseRenderer.WriteString("\"priority\": \"iconSuper\",");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(f,g){var{f,g,h,i,j,$s,$r,$c}=$restore(this,{f,g});$s=$s||0;s:while(true){switch($s){case 0:if(!g){$s=-1;return 2;}if(460===f.Type){$s=1;continue;}$s=2;continue;case 1:h=f.Text();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=b[0].WriteString("#"+h+"#");$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return 1;case 2:if((16===f.Type)||(40===f.Type)||(433===f.Type)||(434===f.Type)||(29===f.Type)||(15===f.Type)||(42===f.Type)||(302===f.Type)||(306===f.Type)||(427===f.Type)){$s=5;continue;}$s=6;continue;case 5:j=b[0].Write(f.Tokens);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,f,g,h,i,j,$s};return $f;};})(b));$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=b[0].String();case 9:case 3:f=C.NewReplacer(new CJ(["\\","","\n","","\"","","\t","","'",""]));g=f.Replace(d);$s=20;case 20:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}d=g;d=C.ReplaceAll(d,"'","");if(16=e.HeadingLevel){break;}}if(455===e.Type){if(!A.Contains(e.Tokens,(new CI($stringToBytes("type=\"doc\""))))){b=$append(b,e);}}else{b=$append(b,e);}e=e.Next;}return b;};BW=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=CN.nil;$r=H.Walk(a.Root,(function(c){return function(d,e){var d,e;if(!e||!((455===d.Type))){return 2;}c[0]=$append(c[0],d);return 2;};})(c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c[0];e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);f.Unlink();e++;}g=AR(a,b);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new BV.ptr(g);h.BaseRenderer.DefaultRendererFunc=$methodVal(h,"renderNode");$s=-1;return h;}return;}var $f={$blk:BW,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};$pkg.NewJSONRenderer=BW;BV.ptr.prototype.renderNode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(",");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:d=K.BytesToStr(a.Tokens);e=new H.NodeType(a.Type).String();a.Data=d;a.TypeStr=e;a.Properties=BX(a.KramdownIAL);$mapDelete(a.Properties,$String.keyFor("refcount"));g=M.Marshal(a);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j="";k="";a.Data=j;a.TypeStr=k;a.Properties=false;if(!($interfaceIsEqual($ifaceNil,i))){$s=8;continue;}$s=9;continue;case 8:l=i.Error();$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$panic(new $String("marshal node to json failed: "+l));$s=-1;return 0;case 9:m=K.BytesToStr(h);m=$substring(m,0,(m.length-1>>0));$r=c.BaseRenderer.WriteString(m);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.FirstChild)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(",\"Children\":[");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString("}");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$s=3;continue;case 2:if(!(CM.nil===a.FirstChild)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(93);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("}");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BV.ptr.prototype.renderNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BV.prototype.renderNode=function(a,b){return this.$val.renderNode(a,b);};BX=function(a){var a,b,c,d,e,f;b=false;b=$makeMap($String.keyFor,[]);c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);(b||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])});d++;}return b;};BZ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BY.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BZ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewHtmlRenderer=BZ;BY.ptr.prototype.Render=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;d=a;e=b.RenderFootnotes();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;a=$appendSlice(d,f);$s=-1;return a;}return;}var $f={$blk:BY.ptr.prototype.Render,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.Render=function(){return this.$val.Render();};BY.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BY.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BY.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(a.TextMarkInlineMemoContent);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BY.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BY.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BY.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BY.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BY.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BY.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BY.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BY.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BY.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BY.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BY.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BY.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BY.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BY.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BY.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BY.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BY.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BY.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BY.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BY.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BY.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BY.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BY.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BY.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BY.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BY.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BY.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BY.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BY.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BY.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BY.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BY.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BY.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BY.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BY.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BY.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BY.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BY.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BY.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BY.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BY.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BY.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BY.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BY.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BY.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BY.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BY.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BY.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BY.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BY.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BY.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BY.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BY.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BY.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BY.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BY.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BY.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BY.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BY.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BY.ptr.prototype.RenderFootnotes=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(1>a.BaseRenderer.FootnotesDefs.$length){$s=-1;return CI.nil;}b=new A.Buffer.ptr(CI.nil,0,0);c=b.WriteString("
    ");$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;d=b.WriteString("
    \n");$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=b.WriteString("
      ");$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=a.BaseRenderer.FootnotesDefs;g=0;case 4:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=b.WriteString("
    1. >0)+"\">");$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=new J.Tree.ptr(CM.nil,a.BaseRenderer.Tree.Context,DF.nil,DG.nil,"","","","","",CJ.nil,new $Int64(0,0),new $Int64(0,0),"");k.Context.Tree=k;k.Root=new H.Node.ptr("","","","",0,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");k.Root.AppendChild(i);l=BZ(k,a.BaseRenderer.Options);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=k.Root.LastDeepestChild();h=i.FootnotesRefs.$length-1>>0;while(true){if(!(0<=h)){break;}p=(o=i.FootnotesRefs,((h<0||h>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+h]));q=" \xE2\x86\xA9";r=new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,K.StrToBytes(q),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");n.InsertAfter(r);h=h-(1)>>0;}m.BaseRenderer.RenderingFootnotes=true;s=m.Render();$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=b.Write(t);$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=b.WriteString("
    2. \n");$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;g++;$s=4;continue;case 5:w=b.WriteString("
    ");$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return b.Bytes();}return;}var $f={$blk:BY.ptr.prototype.RenderFootnotes,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BY.prototype.RenderFootnotes=function(){return this.$val.RenderFootnotes();};BY.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c,d,e,f,g;c=this;if(b){if(!c.BaseRenderer.RenderingFootnotes){d=false;e=c.BaseRenderer.FootnotesDefs;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(A.EqualFold(a.Tokens,g.Tokens)){d=true;break;}f++;}if(!d){c.BaseRenderer.FootnotesDefs=$append(c.BaseRenderer.FootnotesDefs,a);}return 1;}}return 2;};BY.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BY.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BY.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BY.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BY.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BY.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BY.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BY.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BY.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BY.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BY.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","language-math"])]);$r=c.BaseRenderer.Tag("span",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BY.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BY.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BY.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BY.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BY.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-math"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BY.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BY.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BY.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BY.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.handleKramdownBlockIAL(a);$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BY.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BY.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BY.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BY.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BY.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BY.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BY.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BY.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BY.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BY.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BY.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BY.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BY.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BY.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BY.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BY.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BY.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=a.IALAttr("parent-style");if(!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["style",d])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("\"");$s=14;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(34);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=a.ChildByType(42);if(!(CM.nil===f)&&!(CI.nil===f.Tokens)){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" title=\"");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(f.Tokens));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:g=c.BaseRenderer.NodeAttrsStr(a);if(!(""===g)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString(" "+g);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString(" />");$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.IALAttr("style");if(!(""===h)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=c.BaseRenderer.Writer.Bytes();j=A.LastIndex(i,(new CI($stringToBytes("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BY.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BY.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]))+"\"");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:if(1=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);$r=c.BaseRenderer.WriteString(" "+(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])+"=\""+(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])+"\"");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k++;$s=17;continue;case 18:case 16:case 11:case 8:$r=c.BaseRenderer.WriteString(">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:m=AT(a);$s=23;case 23:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+n]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+n])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};BY.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BY.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BY.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BY.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}d.handleKramdownBlockIAL(a);c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BY.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(""===c.BaseRenderer.Options.GFMTaskListItemClass)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f=c.BaseRenderer.Options.GFMTaskListItemClass;if(e.TaskListItemChecked){f=f+(" vditor-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BY.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BY.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BY.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BY.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BY.ptr.prototype.handleKramdownBlockIAL=function(a){var a,b,c,d;b=this;if(b.BaseRenderer.Options.KramdownBlockIAL&&!("id"===b.BaseRenderer.Options.KramdownIALIDRenderName)&&0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=b.BaseRenderer.Options.KramdownIALIDRenderName));}};BY.prototype.handleKramdownBlockIAL=function(a){return this.$val.handleKramdownBlockIAL(a);};BY.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BY.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BY.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BY.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};CB=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CA.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:CB,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewFormatRenderer=CB;CA.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};CA.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};CA.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(c.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:d=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=10;continue;}$s=11;continue;case 10:f=E.DecodeLastRuneInString(e);g=f[0];if("\xE2\x80\x8B"===($encodeRune(g))){e=C.TrimSuffix(e,"\xE2\x80\x8B");h=E.DecodeLastRuneInString(e);g=h[0];}if(D.IsLetter(g)||D.IsDigit(g)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:i=c.renderTextMarkAttrs(a);$r=c.BaseRenderer.Tag("span",i,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"\\|","|");j=C.ReplaceAll(j,"|","\\|");j=C.ReplaceAll(j,"\n","
    ");if(C.Contains(a.TextMarkType,"code")){j=C.ReplaceAll(j,"
    ","");}}if(c.BaseRenderer.Options.AutoSpace&&!J.ContainTextMark(a,new CJ(["block-ref","code","inline-math","kbd","tag"]))){j=($bytesToString(c.BaseRenderer.Space((new CI($stringToBytes(j))))));}$r=c.BaseRenderer.WriteString(j);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=19;continue;}$s=20;continue;case 19:if(c.BaseRenderer.Options.AutoSpace){$s=22;continue;}$s=23;continue;case 22:k=a.NextNodeText();$s=24;case 24:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!(""===l)){$s=25;continue;}$s=26;continue;case 25:m=E.DecodeRuneInString(l);n=m[0];if("\xE2\x80\x8B"===($encodeRune(n))){l=C.TrimPrefix(l,"\xE2\x80\x8B");o=E.DecodeRuneInString(l);n=o[0];}if(D.IsLetter(n)||D.IsDigit(n)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteByte(32);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:case 26:case 23:$s=21;continue;case 20:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CA.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};CA.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");h=C.ReplaceAll(h,"|","\\|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=a.TextMarkATitle;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");i=C.ReplaceAll(i,"|","\\|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=G.EscapeHTMLStr(j);b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};CA.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};CA.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};CA.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};CA.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};CA.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};CA.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};CA.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};CA.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};CA.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};CA.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};CA.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};CA.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};CA.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};CA.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};CA.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};CA.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};CA.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};CA.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};CA.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};CA.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};CA.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};CA.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};CA.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};CA.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};CA.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};CA.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CA.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CA.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CA.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};CA.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};CA.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};CA.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};CA.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CA.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};CA.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};CA.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CA.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};CA.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};CA.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};CA.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CA.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CA.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};CA.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};CA.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};CA.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};CA.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CA.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};CA.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};CA.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};CA.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};CA.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CA.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CA.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CA.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CA.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CA.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CA.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};CA.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};CA.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CA.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CA.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CA.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CA.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CA.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};CA.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CA.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CA.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};CA.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CA.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CA.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};CA.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};CA.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};CA.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};CA.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};CA.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};CA.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};CA.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};CA.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};CA.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};CA.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};CA.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};CA.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};CA.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};CA.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};CA.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CA.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CA.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CA.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CA.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CA.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=3;continue;}$s=4;continue;case 3:d=A.TrimSpace(a.FirstChild.Tokens);$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 4:if(a.ParentIs(109,CQ.nil)){$s=6;continue;}$s=7;continue;case 6:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("

    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 2;case 7:if(c.withoutKramdownBlockIAL(a)){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.Newline();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=14;continue;}$s=15;continue;case 14:if(c.withoutKramdownBlockIAL(a)){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:case 15:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};CA.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CA.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};CA.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};CA.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};CA.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};CA.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};CA.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};CA.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CA.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};CA.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};CA.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CA.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CA.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CA.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CA.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CA.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CA.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CA.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};CA.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};CH=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CG.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeBlock")});j=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderMathBlock")});k=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderInlineMath")});l=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderEmphasis")});m=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderStrong")});n=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderBlockquote")});o=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHeading")});p=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderList")});q=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderListItem")});r=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderThematicBreak")});s=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderHardBreak")});t=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderSoftBreak")});u=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderHTML")});v=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineHTML")});w=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderLink")});x=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderImage")});y=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderStrikethrough")});z=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderTaskListItemMarker")});aa=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderTable")});ab=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderTableHead")});ac=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderTableRow")});ad=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderTableCell")});ae=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderEmoji")});af=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderEmojiUnicode")});ag=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderEmojiImg")});ah=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderEmojiAlias")});ai=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderFootnotesDef")});aj=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderFootnotesRef")});ak=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderToC")});al=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderBackslash")});am=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderBackslashContent")});an=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderHtmlEntity")});ao=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderYamlFrontMatter")});ap=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderBlockRef")});aq=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderFileAnnotationRef")});ar=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderMark")});as=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderSup")});at=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderSub")});au=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderKramdownBlockIAL")});av=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderKramdownSpanIAL")});aw=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBlockQueryEmbed")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:CH,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewEChartsJSONRenderer=CH;CG.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(K.IsDocIAL(a.Tokens)){e=c.BaseRenderer.Tree.ID;}$r=c.leaf("Block IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CG.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.leaf("Span IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CG.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Mark\nmark",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CG.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sup\nsup",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CG.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sub\nsub",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CG.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockQueryEmbed\n{{script}}",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CG.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockRef\n((id))",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CG.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("FileAnnotationRef\n<>",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CG.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};CG.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Front Matter\nYAML",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CG.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Entity\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CG.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CG.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Blackslash\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CG.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("ToC\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CG.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Footnotes Ref\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CG.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Footnotes Def\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CG.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline Math\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};CG.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Math Block\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};CG.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Img\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CG.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Unicode\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CG.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CG.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CG.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Cell\ntd",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CG.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Row\ntr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CG.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Head\nthead",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};CG.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Table\ntable",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CG.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Strikethrough\ndel",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CG.ptr.prototype.renderImage=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Image\nimg",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderImage,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CG.ptr.prototype.renderLink=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Link\na",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderLink,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CG.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Block\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CG.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline HTML\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CG.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Document",a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CG.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Paragraph\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CG.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=0;f="";g=d;h=0;while(true){if(!(h>0;f=f+(($encodeRune(j)));if(4>0));$r=c.val("Heading\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CG.ptr.prototype.renderList=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}$r=c.val("List\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderList,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CG.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("List Item\nli "+K.BytesToStr(a.ListData.Marker),a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CG.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=" ";if(a.TaskListItemChecked){d="X";}$r=c.val("Task List Item Marker\n["+d+"]",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CG.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Thematic Break\nhr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CG.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Hard Break\nbr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CG.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Soft Break\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CG.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Code Block\npre.code",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};CG.ptr.prototype.leaf=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.openObj();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(b);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.leaf,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.leaf=function(a,b){return this.$val.leaf(a,b);};CG.ptr.prototype.val=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;a=C.ReplaceAll(a,"\\","\\\\");a=C.ReplaceAll(a,"\n","\\n");a=C.ReplaceAll(a,"\"","");a=C.ReplaceAll(a,"'","");$r=c.BaseRenderer.WriteString("\"name\":\""+a+"\"");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.val,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.val=function(a,b){return this.$val.val(a,b);};CG.ptr.prototype.openObj=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteByte(123);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openObj,$c:true,$r,a,$s};return $f;};CG.prototype.openObj=function(){return this.$val.openObj();};CG.ptr.prototype.closeObj=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.BaseRenderer.WriteByte(125);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b.ignore(a.Next)){$s=2;continue;}$s=3;continue;case 2:$r=b.comma();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeObj,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeObj=function(a){return this.$val.closeObj(a);};CG.ptr.prototype.openChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteString(",\"children\":[");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.openChildren=function(a){return this.$val.openChildren(a);};CG.ptr.prototype.closeChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeChildren=function(a){return this.$val.closeChildren(a);};CG.ptr.prototype.comma=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteString(",");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.comma,$c:true,$r,a,$s};return $f;};CG.prototype.comma=function(){return this.$val.comma();};CG.ptr.prototype.ignore=function(a){var a,b;b=this;return CM.nil===a||(6===a.Type)||(18===a.Type)||(19===a.Type)||(20===a.Type)||(21===a.Type)||(23===a.Type)||(24===a.Type)||(25===a.Type)||(26===a.Type)||(102===a.Type)||(103===a.Type)||(104===a.Type)||(105===a.Type)||(301===a.Type)||(302===a.Type)||(303===a.Type)||(305===a.Type)||(306===a.Type)||(307===a.Type)||(426===a.Type)||(428===a.Type)||(427===a.Type);};CG.prototype.ignore=function(a){return this.$val.ignore(a);};BY.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=2;continue;}$s=3;continue;case 2:if(b){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.FirstChild.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 5:$s=-1;return 2;case 6:case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BY.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="";if(0=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])));}f=BA(d);if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=CL.nil;c.handleKramdownBlockIAL(a);g=$appendSlice(g,a.KramdownIAL);if(!f){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("pre",g,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:h=a.Tokens;if(0");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:if(f){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString("
    ");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 13:h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=3;continue;case 2:if(f){$s=26;continue;}$s=27;continue;case 26:$r=c.BaseRenderer.WriteString("
    ");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:$r=c.BaseRenderer.Newline();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BY.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};DH.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DI.methods=[{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"inListItem",name:"inListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"popWriteClass",name:"popWriteClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"popWriter",name:"popWriter",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderClass",name:"renderClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"domAttrValue",name:"domAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String],[$String],false)},{prop:"domSetAttrValue",name:"domSetAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String,$String],[],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DJ.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"tagMatchClose",name:"tagMatchClose",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"tagMatchOpen",name:"tagMatchOpen",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSpanNode",name:"renderSpanNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderDivNode",name:"renderDivNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DK.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI,CJ],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CK.methods=[{prop:"FixTermTypo",name:"FixTermTypo",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"fixTermTypo0",name:"fixTermTypo0",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"TextAutoSpacePrevious",name:"TextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"TextAutoSpaceNext",name:"TextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpacePrevious",name:"LinkTextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpaceNext",name:"LinkTextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC0",name:"renderToC0",pkg:"github.com/88250/lute/render",typ:$funcType([DB],[],false)},{prop:"Tag",name:"Tag",pkg:"",typ:$funcType([$String,CL,$Bool],[],false)},{prop:"headings",name:"headings",pkg:"github.com/88250/lute/render",typ:$funcType([],[DC],false)},{prop:"setextHeadingLen",name:"setextHeadingLen",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Int],false)},{prop:"renderListStyle",name:"renderListStyle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"tagSrc",name:"tagSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"tagSrcPath",name:"tagSrcPath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"isLastNode",name:"isLastNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CM],[$Bool],false)},{prop:"NodeID",name:"NodeID",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"NodeAttrs",name:"NodeAttrs",pkg:"",typ:$funcType([CM],[CL],false)},{prop:"NodeAttrsStr",name:"NodeAttrsStr",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"EncodeLinkSpace",name:"EncodeLinkSpace",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LinkPath",name:"LinkPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"PrefixPath",name:"PrefixPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"RelativePath",name:"RelativePath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"isRelativePath",name:"isRelativePath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[$Bool],false)}];DO.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"replaceSrc",name:"replaceSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI,CI,CI],[CI],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"escapeRefText",name:"escapeRefText",pkg:"github.com/88250/lute/render",typ:$funcType([$String],[$String],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"blockNodeAttrs",name:"blockNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeClass",name:"nodeClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeDataType",name:"nodeDataType",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeID",name:"nodeID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeIndex",name:"nodeIndex",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"spellcheck",name:"spellcheck",pkg:"github.com/88250/lute/render",typ:$funcType([CR],[],false)},{prop:"contenteditable",name:"contenteditable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderIAL",name:"renderIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)}];DP.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)}];DR.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMdMarker",name:"renderMdMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[$String],false)},{prop:"renderMdMarker0",name:"renderMdMarker0",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderMdMarker1",name:"renderMdMarker1",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DT.methods=[{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"data",name:"data",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)}];DU.methods=[{prop:"renderNode",name:"renderNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DV.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"RenderFootnotes",name:"RenderFootnotes",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"handleKramdownBlockIAL",name:"handleKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CX.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DW.methods=[{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"leaf",name:"leaf",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"val",name:"val",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"ignore",name:"ignore",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];N.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"commentStackDepth",name:"commentStackDepth",embedded:false,exported:false,typ:$Int,tag:""}]);P.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"nodeWriterStack",name:"nodeWriterStack",embedded:false,exported:false,typ:CT,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:CI,tag:""}]);R.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);T.init("github.com/88250/lute/render",[{prop:"FormatRenderer",name:"FormatRenderer",embedded:true,exported:true,typ:CX,tag:""},{prop:"linkPrefixes",name:"linkPrefixes",embedded:false,exported:false,typ:CJ,tag:""},{prop:"originalLink",name:"originalLink",embedded:false,exported:false,typ:CJ,tag:""}]);AL.init([CM,$Bool],[H.WalkStatus],false);AM.init([CM,$Bool],[$String,H.WalkStatus],false);AO.init("",[{prop:"SoftBreak2HardBreak",name:"SoftBreak2HardBreak",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"AutoSpace",name:"AutoSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"RenderListStyle",name:"RenderListStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlight",name:"CodeSyntaxHighlight",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightDetectLang",name:"CodeSyntaxHighlightDetectLang",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightInlineStyle",name:"CodeSyntaxHighlightInlineStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightLineNum",name:"CodeSyntaxHighlightLineNum",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightStyleName",name:"CodeSyntaxHighlightStyleName",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorWYSIWYG",name:"VditorWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorIR",name:"VditorIR",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorSV",name:"VditorSV",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleWYSIWYG",name:"ProtyleWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownBlockIAL",name:"KramdownBlockIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownSpanIAL",name:"KramdownSpanIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"SuperBlock",name:"SuperBlock",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ImageLazyLoading",name:"ImageLazyLoading",embedded:false,exported:true,typ:$String,tag:""},{prop:"ChineseParagraphBeginningSpace",name:"ChineseParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Sanitize",name:"Sanitize",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"FixTermTypo",name:"FixTermTypo",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Terms",name:"Terms",embedded:false,exported:true,typ:DL,tag:""},{prop:"ToC",name:"ToC",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"HeadingID",name:"HeadingID",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownIALIDRenderName",name:"KramdownIALIDRenderName",embedded:false,exported:true,typ:$String,tag:""},{prop:"HeadingAnchor",name:"HeadingAnchor",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"GFMTaskListItemClass",name:"GFMTaskListItemClass",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorCodeBlockPreview",name:"VditorCodeBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorMathBlockPreview",name:"VditorMathBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorHTMLBlockPreview",name:"VditorHTMLBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"LinkBase",name:"LinkBase",embedded:false,exported:true,typ:$String,tag:""},{prop:"LinkPrefix",name:"LinkPrefix",embedded:false,exported:true,typ:$String,tag:""},{prop:"NodeIndexStart",name:"NodeIndexStart",embedded:false,exported:true,typ:$Int,tag:""},{prop:"ProtyleContenteditable",name:"ProtyleContenteditable",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KeepParagraphBeginningSpace",name:"KeepParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleMarkNetImg",name:"ProtyleMarkNetImg",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Spellcheck",name:"Spellcheck",embedded:false,exported:true,typ:$Bool,tag:""}]);AQ.init("",[{prop:"Options",name:"Options",embedded:false,exported:true,typ:CZ,tag:""},{prop:"RendererFuncs",name:"RendererFuncs",embedded:false,exported:true,typ:DM,tag:""},{prop:"DefaultRendererFunc",name:"DefaultRendererFunc",embedded:false,exported:true,typ:AL,tag:""},{prop:"ExtRendererFuncs",name:"ExtRendererFuncs",embedded:false,exported:true,typ:DN,tag:""},{prop:"Writer",name:"Writer",embedded:false,exported:true,typ:CS,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:$Uint8,tag:""},{prop:"Tree",name:"Tree",embedded:false,exported:true,typ:DA,tag:""},{prop:"DisableTags",name:"DisableTags",embedded:false,exported:true,typ:$Int,tag:""},{prop:"FootnotesDefs",name:"FootnotesDefs",embedded:false,exported:true,typ:CN,tag:""},{prop:"RenderingFootnotes",name:"RenderingFootnotes",embedded:false,exported:true,typ:$Bool,tag:""}]);AW.init("github.com/88250/lute/render",[{prop:"ID",name:"ID",embedded:false,exported:true,typ:$String,tag:"json:\"id\""},{prop:"Box",name:"Box",embedded:false,exported:true,typ:$String,tag:"json:\"box\""},{prop:"Path",name:"Path",embedded:false,exported:true,typ:$String,tag:"json:\"path\""},{prop:"HPath",name:"HPath",embedded:false,exported:true,typ:$String,tag:"json:\"hPath\""},{prop:"Content",name:"Content",embedded:false,exported:true,typ:$String,tag:"json:\"content\""},{prop:"Level",name:"Level",embedded:false,exported:true,typ:$Int,tag:"json:\"level\""},{prop:"Children",name:"Children",embedded:false,exported:true,typ:DC,tag:"json:\"children\""},{prop:"parent",name:"parent",embedded:false,exported:false,typ:DB,tag:""}]);BC.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeIndex",name:"NodeIndex",embedded:false,exported:true,typ:$Int,tag:""}]);BE.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BI.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);BS.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BV.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BY.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);CA.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);CG.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.NewlineSV=(new CI($stringToBytes("
    \n
    ")));X=$makeMap($String.keyFor,[{k:"flutter",v:"Flutter"},{k:"netty",v:"Netty"},{k:"jetty",v:"Jetty"},{k:"tomcat",v:"Tomcat"},{k:"jdbc",v:"JDBC"},{k:"mariadb",v:"MariaDB"},{k:"ipfs",v:"IPFS"},{k:"saas",v:"SaaS"},{k:"paas",v:"PaaS"},{k:"iaas",v:"IaaS"},{k:"ioc",v:"IoC"},{k:"freemarker",v:"FreeMarker"},{k:"ruby",v:"Ruby"},{k:"rails",v:"Rails"},{k:"mina",v:"Mina"},{k:"puppet",v:"Puppet"},{k:"vagrant",v:"Vagrant"},{k:"chef",v:"Chef"},{k:"beego",v:"Beego"},{k:"gin",v:"Gin"},{k:"iris",v:"Iris"},{k:"php",v:"PHP"},{k:"ssh",v:"SSH"},{k:"web",v:"Web"},{k:"websocket",v:"WebSocket"},{k:"api",v:"API"},{k:"css",v:"CSS"},{k:"html",v:"HTML"},{k:"json",v:"JSON"},{k:"jsonp",v:"JSONP"},{k:"xml",v:"XML"},{k:"yaml",v:"YAML"},{k:"csv",v:"CSV"},{k:"soap",v:"SOAP"},{k:"ajax",v:"AJAX"},{k:"messagepack",v:"MessagePack"},{k:"javascript",v:"JavaScript"},{k:"java",v:"Java"},{k:"jsp",v:"JSP"},{k:"restful",v:"RESTFul"},{k:"graphql",v:"GraphQL"},{k:"gorm",v:"GORM"},{k:"orm",v:"ORM"},{k:"oauth",v:"OAuth"},{k:"facebook",v:"Facebook"},{k:"github",v:"GitHub"},{k:"gist",v:"Gist"},{k:"heroku",v:"Heroku"},{k:"twitter",v:"Twitter"},{k:"youtube",v:"YouTube"},{k:"dynamodb",v:"DynamoDB"},{k:"mysql",v:"MySQL"},{k:"postgresql",v:"PostgreSQL"},{k:"sqlite",v:"SQLite"},{k:"memcached",v:"Memcached"},{k:"mongodb",v:"MongoDB"},{k:"redis",v:"Redis"},{k:"elasticsearch",v:"Elasticsearch"},{k:"solr",v:"Solr"},{k:"b3log",v:"B3log"},{k:"hacpai",v:"HacPai"},{k:"sphinx",v:"Sphinx"},{k:"linux",v:"Linux"},{k:"ubuntu",v:"Ubuntu"},{k:"centos",v:"CentOS"},{k:"centos7",v:"CentOS7"},{k:"redhat",v:"RedHat"},{k:"gitlab",v:"GitLab"},{k:"jquery",v:"jQuery"},{k:"angularjs",v:"AngularJS"},{k:"ffmpeg",v:"FFmpeg"},{k:"git",v:"Git"},{k:"svn",v:"SVN"},{k:"vim",v:"VIM"},{k:"emacs",v:"Emacs"},{k:"sublime",v:"Sublime"},{k:"virtualbox",v:"VirtualBox"},{k:"safari",v:"Safari"},{k:"chrome",v:"Chrome"},{k:"ie",v:"IE"},{k:"firefox",v:"Firefox"},{k:"iterm",v:"iTerm"},{k:"iterm2",v:"iTerm2"},{k:"iwork",v:"iWork"},{k:"itunes",v:"iTunes"},{k:"iphoto",v:"iPhoto"},{k:"ibook",v:"iBook"},{k:"imessage",v:"iMessage"},{k:"photoshop",v:"Photoshop"},{k:"excel",v:"Excel"},{k:"powerpoint",v:"PowerPoint"},{k:"ios",v:"iOS"},{k:"iphone",v:"iPhone"},{k:"ipad",v:"iPad"},{k:"android",v:"Android"},{k:"imac",v:"iMac"},{k:"macbook",v:"MacBook"},{k:"vps",v:"VPS"},{k:"vpn",v:"VPN"},{k:"cpu",v:"CPU"},{k:"spring",v:"Spring"},{k:"springboot",v:"SpringBoot"},{k:"springcloud",v:"SpringCloud"},{k:"springmvc",v:"SpringMVC"},{k:"mybatis",v:"MyBatis"},{k:"qq",v:"QQ"},{k:"sql",v:"SQL"},{k:"markdown",v:"Markdown"},{k:"jdk",v:"JDK"},{k:"openjdk",v:"OpenJDK"},{k:"cors",v:"CORS"},{k:"protobuf",v:"Protobuf"},{k:"google",v:"Google"},{k:"ibm",v:"IBM"},{k:"oracle",v:"Oracle"},{k:"typora",v:"Typora"}]);AC=$makeMap($String.keyFor,[{k:"frame",v:$ifaceNil},{k:"frameset",v:$ifaceNil},{k:"noembed",v:$ifaceNil},{k:"noframes",v:$ifaceNil},{k:"noscript",v:$ifaceNil},{k:"nostyle",v:$ifaceNil},{k:"object",v:$ifaceNil},{k:"script",v:$ifaceNil},{k:"style",v:$ifaceNil},{k:"title",v:$ifaceNil}]);AK=$makeMap($String.keyFor,[{k:"onafterprint",v:$ifaceNil},{k:"onbeforeprint",v:$ifaceNil},{k:"onbeforeunload",v:$ifaceNil},{k:"onerror",v:$ifaceNil},{k:"onhashchange",v:$ifaceNil},{k:"onload",v:$ifaceNil},{k:"onmessage",v:$ifaceNil},{k:"onoffline",v:$ifaceNil},{k:"ononline",v:$ifaceNil},{k:"onpagehide",v:$ifaceNil},{k:"onpageshow",v:$ifaceNil},{k:"onpopstate",v:$ifaceNil},{k:"onresize",v:$ifaceNil},{k:"onstorage",v:$ifaceNil},{k:"onunload",v:$ifaceNil},{k:"onblur",v:$ifaceNil},{k:"onchange",v:$ifaceNil},{k:"oncontextmenu",v:$ifaceNil},{k:"onfocus",v:$ifaceNil},{k:"oninput",v:$ifaceNil},{k:"oninvalid",v:$ifaceNil},{k:"onreset",v:$ifaceNil},{k:"onsearch",v:$ifaceNil},{k:"onselect",v:$ifaceNil},{k:"onsubmit",v:$ifaceNil},{k:"onkeydown",v:$ifaceNil},{k:"onkeypress",v:$ifaceNil},{k:"onkeyup",v:$ifaceNil},{k:"onclick",v:$ifaceNil},{k:"ondblclick",v:$ifaceNil},{k:"onmousedown",v:$ifaceNil},{k:"onmousemove",v:$ifaceNil},{k:"onmouseout",v:$ifaceNil},{k:"onmouseover",v:$ifaceNil},{k:"onmouseleave",v:$ifaceNil},{k:"onmouseenter",v:$ifaceNil},{k:"onmouseup",v:$ifaceNil},{k:"onmousewheel",v:$ifaceNil},{k:"onwheel",v:$ifaceNil},{k:"ondrag",v:$ifaceNil},{k:"ondragend",v:$ifaceNil},{k:"ondragenter",v:$ifaceNil},{k:"ondragleave",v:$ifaceNil},{k:"ondragover",v:$ifaceNil},{k:"ondragstart",v:$ifaceNil},{k:"ondrop",v:$ifaceNil},{k:"onscroll",v:$ifaceNil},{k:"oncopy",v:$ifaceNil},{k:"oncut",v:$ifaceNil},{k:"onpaste",v:$ifaceNil},{k:"onabort",v:$ifaceNil},{k:"oncanplay",v:$ifaceNil},{k:"oncanplaythrough",v:$ifaceNil},{k:"oncuechange",v:$ifaceNil},{k:"ondurationchange",v:$ifaceNil},{k:"onemptied",v:$ifaceNil},{k:"onended",v:$ifaceNil},{k:"onloadeddata",v:$ifaceNil},{k:"onloadedmetadata",v:$ifaceNil},{k:"onloadstart",v:$ifaceNil},{k:"onpause",v:$ifaceNil},{k:"onplay",v:$ifaceNil},{k:"onplaying",v:$ifaceNil},{k:"onprogress",v:$ifaceNil},{k:"onratechange",v:$ifaceNil},{k:"onseeked",v:$ifaceNil},{k:"onseeking",v:$ifaceNil},{k:"onstalled",v:$ifaceNil},{k:"onsuspend",v:$ifaceNil},{k:"ontimeupdate",v:$ifaceNil},{k:"onvolumechange",v:$ifaceNil},{k:"onwaiting",v:$ifaceNil},{k:"ontoggle",v:$ifaceNil},{k:"onbegin",v:$ifaceNil},{k:"onend",v:$ifaceNil},{k:"onrepeat",v:$ifaceNil},{k:"http-equiv",v:$ifaceNil},{k:"formaction",v:$ifaceNil}]);AZ=new CJ(["mermaid","echarts","abc","graphviz","mindmap","flowchart","plantuml"]);CF=new CJ(["jpg","png","gif","webp","cr2","tif","bmp","heif","jxr","psd","ico","dwg","mp4","m4v","mkv","webm","mov","avi","wmv","mpg","flv","3gp","mid","mp3","m4a","ogg","flac","wav","amr","aac","epub","zip","tar","rar","gz","bz2","7z","xz","pdf","exe","swf","rtf","iso","eot","ps","sqli","nes","crx","cab","deb","ar","Z","lz","rpm","elf","dcm","doc","docx","xls","xlsx","ppt","pptx","md","txt","woff","woff2","ttf","otf","wasm","exe","html","js","css","go","java","textbundle"]);CD=CF.$length;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); -$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,B,C,N,P,R,Z,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AY,BA,BB,BC,BD,BE,BF,BG,BH,T,W,a,b,Q,S,AA;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];P=$packages["unicode"];R=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AO.nil;this.RenderOptions=AC.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});Z=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(H.Tree);AC=$ptrType(I.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(H.Context);AH=$ptrType(L.Lexer);AI=$ptrType(H.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(H.Options);AP=$sliceType(AE);AQ=$ptrType(AP);AR=$ptrType(F.Attribute);AS=$sliceType(AR);AT=$sliceType(G.Atom);AU=$sliceType($emptyInterface);AV=$ptrType(R);AW=$sliceType(Z);AY=$ptrType(A.Buffer);BA=$mapType($String,$emptyInterface);BB=$sliceType(D.NodeType);BC=$sliceType($Int32);BD=$mapType($String,$String);BE=$ptrType(O.Object);BF=$mapType($String,BE);BG=$mapType($String,BF);BH=$mapType(D.NodeType,I.ExtRendererFunc);R.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};R.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};R.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorDOM=function(c){return this.$val.SpinVditorDOM(c);};R.ptr.prototype.HTML2VditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorDOM2Md=function(c){return this.$val.vditorDOM2Md(c);};R.ptr.prototype.parseHTML=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=C.NewReader(c);g=F.Parse(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=-1;return AE.nil;}if(!("html"===h.FirstChild.Data)){$s=-1;return h;}$s=-1;return h.FirstChild.LastChild;}return;}var $f={$blk:R.ptr.prototype.parseHTML,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.parseHTML=function(c){return this.$val.parseHTML(c);};R.ptr.prototype.adjustVditorDOM=function(c){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.removeEmptyNodes(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.removeHighlightJSSpans(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}d.mergeVditorDOMList0(e);e=e.NextSibling;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}g=c.FirstChild;while(true){if(!(!(AE.nil===g))){break;}d.adjustVditorDOMListList(g);g=g.NextSibling;}h=c.FirstChild;case 3:if(!(!(AE.nil===h))){$s=4;continue;}$r=d.adjustVditorDOMListItemInP(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=3;continue;case 4:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.adjustVditorDOM=function(c){return this.$val.adjustVditorDOM(c);};R.ptr.prototype.adjustVditorDOMListList=function(c){var c,d,e,f,g,h,i;d=this;if(!((42754===c.DataAtom))&&!((79618===c.DataAtom))&&!((45570===c.DataAtom))){return;}if(45570===c.DataAtom){if(!(AE.nil===c.FirstChild)&&(514===c.FirstChild.DataAtom)){c.FirstChild.DataAtom=0;c.FirstChild.Data="\xE2\x80\x8B";e=c.NextSibling;if(!(AE.nil===c.NextSibling)&&(45570===c.NextSibling.DataAtom)){f=e.FirstChild;if(!(AE.nil===f)&&"\xE2\x80\xB8\xE2\x80\x8B"===f.Data){f.Data="\xE2\x80\xB8\n";}}}}else{if(!(AE.nil===c.Parent)&&((42754===c.Parent.DataAtom)||(79618===c.Parent.DataAtom))){g=c.PrevSibling;if(!(AE.nil===g)){c.Unlink();g.AppendChild(c);}}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}i=h.NextSibling;d.adjustVditorDOMListList(h);h=i;}};R.prototype.adjustVditorDOMListList=function(c){return this.$val.adjustVditorDOMListList(c);};R.ptr.prototype.removeHighlightJSSpans=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.hljsSpans(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeHighlightJSSpans,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeHighlightJSSpans=function(c){return this.$val.removeHighlightJSSpans(c);};R.ptr.prototype.hljsSpans=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;if((40708===c.DataAtom)&&C.HasPrefix(J.DomAttrValue(c,"class"),"hljs-")){$s=1;continue;}$s=2;continue;case 1:d.$set($append(d.$get(),c));f=J.DomText(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,g,"",AS.nil));case 2:h=c.FirstChild;case 4:if(!(!(h===AE.nil))){$s=5;continue;}$r=e.hljsSpans(h,d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.hljsSpans,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.hljsSpans=function(c,d){return this.$val.hljsSpans(c,d);};R.ptr.prototype.removeEmptyNodes=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.searchEmptyNodes(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeEmptyNodes=function(c){return this.$val.removeEmptyNodes(c);};R.ptr.prototype.searchEmptyNodes=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=c.DataAtom;if(f===(0)){$s=2;continue;}if(f===(40708)){$s=3;continue;}if((f===(449798))||(f===(257))||(f===(28162))||(f===(1537))||(f===(283139))||(f===(9473))||(f===(53766))||(f===(46596))){$s=4;continue;}if("katex"===J.DomAttrValue(c,"class")){$s=5;continue;}$s=6;continue;case 2:if(e.isInline(c.PrevSibling)||e.isInline(c.NextSibling)||e.isInline(c.Parent)){$s=1;continue;}if(1===c.Type){g=C.TrimLeft(c.Data," ");g=C.TrimRight(g," ");while(true){if(!(C.Contains(g,"\n\n"))){break;}g=C.ReplaceAll(g,"\n\n","");}if(""===g){d.$set($append(d.$get(),c));$s=-1;return;}}h=c.Parent;if(!(AE.nil===h)&&((79618===h.DataAtom)||(42754===h.DataAtom)||(45570===h.DataAtom))){$s=7;continue;}$s=8;continue;case 7:if(AE.nil===c.NextSibling||((1===c.NextSibling.Type)||(42754===c.NextSibling.DataAtom))){i=true;$s=11;continue s;}j=C.TrimSpace(c.Data);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(i){$s=9;continue;}$s=10;continue;case 9:c.Data=C.TrimRight(c.Data,"\n\t ");case 10:case 8:if(!(AE.nil===h)&&((365829===h.DataAtom)||(208901===h.DataAtom)||(9989===h.DataAtom)||(52226===h.DataAtom))){$s=13;continue;}$s=14;continue;case 13:k=C.TrimSpace(c.Data);$s=15;case 15:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}c.Data=k;case 14:if(""===c.Data){d.$set($append(d.$get(),c));}if(4===c.Type){d.$set($append(d.$get(),c));}$s=6;continue;case 3:l=c.LastChild;if(!(AE.nil===l)&&(514===l.DataAtom)){c.InsertAfter(l);}if(J.IsTempMarkSpan(c)){d.$set($append(d.$get(),c));m=AP.nil;n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}m=$append(m,n);n=n.NextSibling;}o=m;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);c.InsertBefore(q);p++;}$s=-1;return;}$s=6;continue;case 4:if(!(AE.nil===c.FirstChild)){if(514===c.FirstChild.DataAtom){d.$set($append(d.$get(),c.FirstChild));c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.FirstChild.Type){r=c.FirstChild.Data;s=e.prefixSpaces(r);if(!(""===s)){c.FirstChild.Data="\xE2\x80\x8B"+c.FirstChild.Data;}}}if(!(AE.nil===c.LastChild)){if(514===c.LastChild.DataAtom){d.$set($append(d.$get(),c.LastChild));c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.LastChild.Type){t=c.LastChild.Data;u=e.suffixSpaces(t);if(!(""===u)){c.FirstChild.Data=c.FirstChild.Data+"\xE2\x80\x8B";}}}$s=6;continue;case 5:d.$set($append(d.$get(),c));case 6:case 1:v=c.FirstChild;case 16:if(!(!(v===AE.nil))){$s=17;continue;}$r=e.searchEmptyNodes(v,d);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=16;continue;case 17:w=c.DataAtom;if((w===(79618))||(w===(42754))){$s=20;continue;}$s=21;continue;case 20:x=J.DomAttrValue(c,"data-type");if("footnotes-defs-ol"===x){$s=-1;return;}if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!((281349===c.FirstChild.FirstChild.DataAtom))){$s=-1;return;}y=J.DomText(c);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(""===z){d.$set($append(d.$get(),c));}case 21:case 19:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.searchEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.searchEmptyNodes=function(c,d){return this.$val.searchEmptyNodes(c,d);};R.ptr.prototype.mergeVditorDOMList0=function(c){var c,d,e,f,g,h;d=this;e=c.DataAtom;if((e===(42754))||(e===(79618))){if(!(AE.nil===c.NextSibling)&&(c.DataAtom===c.NextSibling.DataAtom)&&(1===c.NextSibling.Attr.$length)){f=c.NextSibling.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=f.NextSibling;f.Unlink();c.AppendChild(f);f=g;}c.NextSibling.Unlink();}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}d.mergeVditorDOMList0(h);h=h.NextSibling;}};R.prototype.mergeVditorDOMList0=function(c){return this.$val.mergeVditorDOMList0(c);};R.ptr.prototype.adjustVditorDOMListTight0=function(c){var c,d,e,f;d=this;e=c.DataAtom;if(e===(42754)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}else if(e===(79618)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}f=c.FirstChild;while(true){if(!(!(f===AE.nil))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}};R.prototype.adjustVditorDOMListTight0=function(c){return this.$val.adjustVditorDOMListTight0(c);};R.ptr.prototype.adjustVditorDOMListItemInP=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c.DataAtom;if(e===(45570)){$s=2;continue;}$s=3;continue;case 2:if(!(AE.nil===c.PrevSibling)&&J.DomAttrValue(c.PrevSibling,"data-node-id")===J.DomAttrValue(c,"data-node-id")){$s=4;continue;}$s=5;continue;case 4:f=c;g=D.NewNodeID();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=d.setDOMAttrValue(f,"data-node-id",h);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(AE.nil===c.PrevSibling)&&!(AE.nil===c.FirstChild)){$s=8;continue;}$s=9;continue;case 8:i=J.DomAttrValue(c.FirstChild,"data-node-id");if(!(""===i)&&!(AE.nil===c.PrevSibling.LastChild)&&J.DomAttrValue(c.PrevSibling.LastChild,"data-node-id")===i){$s=10;continue;}$s=11;continue;case 10:j=c.FirstChild;k=D.NewNodeID();$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=d.setDOMAttrValue(j,"data-node-id",l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:m=c.FirstChild;while(true){if(!(!(AE.nil===m))){break;}if(d.listItemEnter(c)){n=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\xE2\x80\xB8","",AS.nil));n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));c.FirstChild.Unlink();c.FirstChild.Unlink();c.AppendChild(n);m=n;m=m.NextSibling;continue;}if(!((3073===m.DataAtom))&&!((100106===m.DataAtom))&&!((42754===m.DataAtom))&&!((79618===m.DataAtom))&&!((92931===m.DataAtom))){o=d.forwardNextBlock(m);p=o[0];q=o[1];r=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);m.InsertBefore(r);s=p;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);u.Unlink();r.AppendChild(u);t++;}m=q;if(AE.nil===m){break;}}m=m.NextSibling;}case 3:case 1:v=c.FirstChild;case 14:if(!(!(v===AE.nil))){$s=15;continue;}$r=d.adjustVditorDOMListItemInP(v);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=14;continue;case 15:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOMListItemInP,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};R.prototype.adjustVditorDOMListItemInP=function(c){return this.$val.adjustVditorDOMListItemInP(c);};R.ptr.prototype.forwardNextBlock=function(c){var c,d,e,f,g,h;d=AP.nil;e=AE.nil;f=this;g=c;while(true){if(!(!(AE.nil===g))){break;}h=g.DataAtom;if((h===(79618))||(h===(42754))||(h===(92931))||(h===(100106))){return[d,e];}d=$append(d,g);g=g.NextSibling;}return[d,e];};R.prototype.forwardNextBlock=function(c){return this.$val.forwardNextBlock(c);};R.ptr.prototype.listItemEnter=function(c){var c,d;d=this;if(AE.nil===c.FirstChild){return false;}if("\xE2\x80\xB8"===c.FirstChild.Data&&"br"===c.LastChild.Data){return true;}return false;};R.prototype.listItemEnter=function(c){return this.$val.listItemEnter(c);};R.ptr.prototype.isTightList=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=0;g=0;h=0;i=0;j=f;k=g;l=h;m=i;n=e.FirstChild;while(true){if(!(!(AE.nil===n))){break;}o=n.DataAtom;if((o===(42754))||(o===(79618))){j=j+(1)>>0;}else if(o===(92931)){k=k+(1)>>0;}else if(o===(100106)){l=l+(1)>>0;}else if(o===(3073)){m=m+(1)>>0;}n=n.NextSibling;}if(1>0)||1<(m+l>>0)||1<(m+j>>0)){return"false";}e=e.NextSibling;}return"true";};R.prototype.isTightList=function(c){return this.$val.isTightList(c);};R.ptr.prototype.genASTByVditorDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-block"===g){$s=8;continue;}if("toc-block"===g){$s=9;continue;}$s=10;continue;case 6:h=c.FirstChild;case 11:if(!(!(h===AE.nil))){$s=12;continue;}$r=e.genASTByVditorDOM(h,d);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=11;continue;case 12:$s=10;continue;case 7:i=J.DomText(c);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(j))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(k);$s=10;continue;case 8:l=c.FirstChild;if(!((79618===l.DataAtom))){$s=15;continue;}$s=16;continue;case 15:$s=17;case 17:return;case 16:m=l.FirstChild;case 18:if(!(!(AE.nil===m))){$s=19;continue;}if("\n"===m.Data){m=m.NextSibling;$s=18;continue;}n=new A.Buffer.ptr(AD.nil,0,0);o=F.Render(n,m);$s=20;case 20:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if($interfaceIsEqual($ifaceNil,p)){$s=21;continue;}$s=22;continue;case 21:q=e.vditorDOM2Md("
      "+n.String()+"
    ");$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=J.DomAttrValue(m,"data-marker");r=$substring(r,3);t=C.Split(r,"\n");r="";u=t;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if(0=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))-48<<24>>>24)>>0));al=J.DomAttrValue(c,"data-marker");am=J.DomAttrValue(c,"data-id");if(!(""===am)){c.LastChild.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," {"+am+"}","",AS.nil));}ac.HeadingSetext="="===al||"-"===al;if(!ac.HeadingSetext){an=new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");an.Tokens=(new AD($stringToBytes(C.Repeat("#",ac.HeadingLevel))));ac.AppendChild(an);}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 30:ac.Type=4;d.Context.Tip.AppendChild(ac);$s=56;continue;case 31:ao=J.DomText(c);$s=69;case 69:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=C.TrimSpace(ao);$s=70;case 70:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(""===aq||">"===aq||"\xE2\x80\xB8"===aq){$s=71;continue;}$s=72;continue;case 71:$s=73;case 73:return;case 72:ac.Type=5;ac.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(">"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 32:if(AE.nil===c.FirstChild){$s=74;continue;}$s=75;continue;case 74:$s=76;case 76:return;case 75:ac.Type=7;ac.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ac.ListData.Typ=1;}ar=J.DomAttrValue(c,"data-tight");if("true"===ar||""===ar){ac.ListData.Tight=true;}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 33:ac.Type=8;as=J.DomAttrValue(c,"data-marker");at=0;if(""===as){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){au=J.DomAttrValue(c.Parent.FirstChild,"data-marker");av=J.DomAttrValue(c.Parent,"start");if(""===av){as="1";}else{as=av;}if(!(""===au)){as=as+($substring(au,(au.length-1>>0)));}else{as=as+(".");}}else{as=J.DomAttrValue(c.Parent,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===as||"-"===as||"+"===as){as="1.";}if(!("1."===as)&&!("1)"===as)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){as="1.";}if(!("1."===as)&&!("1)"===as)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){as="1.";}}else{if(!("*"===as)&&!("-"===as)&&!("+"===as)){as="*";}at=as.charCodeAt(0);}}else{as=J.DomAttrValue(c,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}ac.ListData=new D.ListData.ptr(0,false,at,0,0,0,0,false,(new AD($stringToBytes(as))),0);if(0===at){aw=B.Atoi(($encodeRune(as.charCodeAt(0))));ac.ListData.Num=aw[0];ac.ListData.Delimiter=as.charCodeAt((as.length-1>>0));}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 34:if(378116===c.FirstChild.DataAtom){ax=J.DomAttrValue(c.Parent,"data-marker");if(""===ax){ax="```";}ay=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){ay=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}az=J.DomAttrValue(c.Parent,"data-type");ba=az;if(ba===("math-block")){ac.Type=300;ac.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("yaml-front-matter")){ac.Type=425;ac.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("html-block")){ac.Type=9;ac.Tokens=ay;d.Context.Tip.AppendChild(ac);}else{ac.Type=11;ac.IsFencedCodeBlock=true;ac.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bb=J.DomAttrValue(c.FirstChild,"class");if(C.Contains(bb,"language-")){bc=$substring(bb,9);ac.LastChild.CodeBlockInfo=(new AD($stringToBytes(bc)));}bd=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ac.AppendChild(bd);ac.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}}$s=77;case 77:return;case 35:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}be=J.DomText(c);$s=81;case 81:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=C.TrimSpace(be);$s=82;case 82:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=e.isEmptyText(c);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}if(bh){$s=83;continue;}$s=84;continue;case 83:$s=86;case 86:return;case 84:if("\xE2\x80\xB8"===bg){$s=87;continue;}$s=88;continue;case 87:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=89;case 89:return;case 88:ac.Type=17;bi=J.DomAttrValue(c,"data-marker");if(""===bi){bi="*";}if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=90;continue;}$s=91;continue;case 90:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=92;case 92:return;case 91:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 36:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bj=J.DomText(c);$s=96;case 96:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=C.TrimSpace(bj);$s=97;case 97:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=bk;bm=e.isEmptyText(c);$s=100;case 100:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=98;continue;}$s=99;continue;case 98:$s=101;case 101:return;case 99:if("\xE2\x80\xB8"===bl){$s=102;continue;}$s=103;continue;case 102:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=104;case 104:return;case 103:ac.Type=22;bn=J.DomAttrValue(c,"data-marker");if(""===bn){bn="**";}if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=105;continue;}$s=106;continue;case 105:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=107;case 107:return;case 106:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 37:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=108;continue;}$s=109;continue;case 108:$s=110;case 110:return;case 109:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=111;case 111:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=112;case 112:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=115;case 115:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=113;continue;}$s=114;continue;case 113:$s=116;case 116:return;case 114:if("\xE2\x80\xB8"===bq){$s=117;continue;}$s=118;continue;case 117:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=119;case 119:return;case 118:ac.Type=101;bs=J.DomAttrValue(c,"data-marker");if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=120;continue;}$s=121;continue;case 120:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=122;case 122:return;case 121:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 38:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=123;continue;}$s=124;continue;case 123:$s=125;case 125:return;case 124:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bt=J.DomText(c);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=C.TrimSpace(bt);$s=127;case 127:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;bw=e.isEmptyText(c);$s=130;case 130:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}if(bw){$s=128;continue;}$s=129;continue;case 128:$s=131;case 131:return;case 129:if("\xE2\x80\xB8"===bv){$s=132;continue;}$s=133;continue;case 132:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=134;case 134:return;case 133:ac.Type=450;bx=J.DomAttrValue(c,"data-marker");if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=135;continue;}$s=136;continue;case 135:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=137;case 137:return;case 136:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 39:if(AE.nil===c.FirstChild){$s=138;continue;}$s=139;continue;case 138:$s=140;case 140:return;case 139:by=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===by){$s=141;continue;}$s=142;continue;case 141:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=143;case 143:return;case 142:if(""===by){$s=144;continue;}$s=145;continue;case 144:$s=146;case 146:return;case 145:bz=(new AD($stringToBytes(by)));if("html-inline"===g){$s=147;continue;}$s=148;continue;case 147:ac.Type=10;ac.Tokens=bz;d.Context.Tip.AppendChild(ac);$s=149;case 149:return;case 148:ca=J.DomAttrValue(c,"data-marker");if(""===ca){ca="`";}if(A.HasPrefix(bz,(new AD($stringToBytes("`"))))){bz=$appendSlice((new AD($stringToBytes(" "))),bz);bz=$append(bz,32);}ac.Type=27;ac.CodeMarkerLen=ca.length;ac.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bz,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=150;case 150:return;case 40:if(!(AE.nil===c.Parent)){$s=151;continue;}$s=152;continue;case 151:if(e.parentIs(c,new AT([37378,87554]))){$s=153;continue;}$s=154;continue;case 153:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=155;continue;}$s=156;continue;case 155:$s=157;case 157:return;case 156:if(AE.nil===c.NextSibling){$s=158;continue;}$s=159;continue;case 158:$s=160;case 160:return;case 159:ac.Type=10;ac.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ac);$s=161;case 161:return;case 154:if(3073===c.Parent.DataAtom){$s=162;continue;}$s=163;continue;case 162:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=164;continue;}$s=165;continue;case 164:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=166;case 166:return;case 165:if(!(AE.nil===c.Parent.Parent)&&!(AE.nil===c.Parent.Parent.NextSibling)&&(45570===c.Parent.Parent.NextSibling.DataAtom)){$s=167;continue;}$s=168;continue;case 167:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=169;case 169:return;case 168:case 163:case 152:ac.Type=31;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 41:if(c.FirstChild===AE.nil||(c.FirstChild.Type===1)){$s=170;continue;}$s=171;continue;case 170:cb=J.DomText(c);$s=172;case 172:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if(""===cc||"\xE2\x80\x8B"===cc){$s=173;continue;}$s=174;continue;case 173:$s=175;case 175:return;case 174:case 171:ac.Type=33;ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 42:cd=aa;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=176;continue;}$s=177;continue;case 176:ac.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(cf);$s=178;continue;case 177:if("link-ref"===g){$s=179;continue;}$s=180;continue;case 179:ac.Type=16;cg="!["+J.DomAttrValue(c,"alt")+"]["+J.DomAttrValue(c,"data-link-label")+"]";ac.Tokens=(new AD($stringToBytes(cg)));d.Context.Tip.AppendChild(ac);$s=181;case 181:return;case 180:ac.Type=34;ac.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===ce)){ac.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ce))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ch=J.DomAttrValue(c,"src");if(!(""===e.RenderOptions.LinkBase)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ch))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomAttrValue(c,"title");if(!(""===ci)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ci))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 178:d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 43:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=185;continue;}$s=186;continue;case 185:cj=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=187;case 187:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cj;$s=26;continue;case 186:ac.Type=100;ac.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ac);if(!(AF.nil===ac.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.ListData)){ac.Parent.Parent.ListData.Typ=3;}if(!(AF.nil===ac.Parent.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.Parent.ListData)){ac.Parent.Parent.Parent.ListData.Typ=3;}$s=56;continue;case 44:ac.Type=106;ck=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=188;continue;}$s=189;continue;case 188:$s=190;case 190:return;case 189:cl=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===cl))){break;}cm=J.DomAttrValue(cl,"align");cn=cm;if(cn===("left")){ck=$append(ck,1);}else if(cn===("center")){ck=$append(ck,2);}else if(cn===("right")){ck=$append(ck,3);}else{ck=$append(ck,0);}cl=cl.NextSibling;}ac.TableAligns=ck;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 45:ac.Type=107;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 46:$s=56;continue;case 47:ac.Type=108;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 48:ac.Type=109;co=J.DomAttrValue(c,"align");cp=0;cq=co;if(cq===("left")){cp=1;}else if(cq===("center")){cp=2;}else if(cq===("right")){cp=3;}else{cp=0;}ac.TableCellAlign=cp;ac.Tokens=AD.nil;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 49:if(AE.nil===c.FirstChild){$s=26;continue;}if("footnotes-ref"===g){ac.Type=16;ac.Tokens=(new AD($stringToBytes("["+J.DomAttrValue(c,"data-footnotes-label")+"]")));if(C.Contains(c.FirstChild.Data,"\xE2\x80\xB8")){ac.Tokens=$appendSlice(ac.Tokens,E.CaretTokens);}d.Context.Tip.AppendChild(ac);}$s=191;case 191:return;case 50:if(AE.nil===c.FirstChild){$s=26;continue;}if(C.Contains(aa,"vditor-comment")){$s=192;continue;}$s=193;continue;case 192:ac.Type=10;cr=new A.Buffer.ptr(AD.nil,0,0);cs=cr.WriteString("=ct.$length)?($throwRuntimeError("index out of range"),undefined):ct.$array[ct.$offset+cu]);cx=cr.WriteString(cw.Key);$s=197;case 197:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}cx;if(!(""===cw.Val)){$s=198;continue;}$s=199;continue;case 198:cy=cr.WriteString("=\"");$s=200;case 200:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=cr.WriteString(cw.Val);$s=201;case 201:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;da=cr.WriteString("\"");$s=202;case 202:if($c){$c=false;da=da.$blk();}if(da&&da.$blk!==undefined){break s;}da;case 199:if(cv<(c.Attr.$length-1>>0)){$s=203;continue;}$s=204;continue;case 203:db=cr.WriteString(" ");$s=205;case 205:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}db;case 204:cu++;$s=195;continue;case 196:dc=cr.WriteString(">");$s=206;case 206:if($c){$c=false;dc=dc.$blk();}if(dc&&dc.$blk!==undefined){break s;}dc;ac.Tokens=cr.Bytes();d.Context.Tip.AppendChild(ac);$s=26;continue;case 193:if("link-ref"===g){$s=207;continue;}$s=208;continue;case 207:ac.Type=16;dd="["+c.FirstChild.Data+"]["+J.DomAttrValue(c,"data-link-label")+"]";if(!(AE.nil===c.NextSibling)&&"2"===J.DomAttrValue(c.NextSibling,"data-render")){dd="!"+dd;}ac.Tokens=(new AD($stringToBytes(dd)));d.Context.Tip.AppendChild(ac);$s=209;case 209:return;case 208:de=AD.nil;if("\xE2\x80\x8B"===c.FirstChild.Data&&""===J.DomAttrValue(c,"style")&&!(AE.nil===c.FirstChild.NextSibling)){de=(new AD($stringToBytes(c.FirstChild.NextSibling.FirstChild.Data)));}else if(378116===c.FirstChild.DataAtom){de=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));if("\xE2\x80\x8B"===($bytesToString(de))){$s=26;continue;}}if("math-inline"===g){$s=210;continue;}if("html-inline"===g){$s=211;continue;}if("code-inline"===g){$s=212;continue;}if("html-entity"===g){$s=213;continue;}$s=214;continue;case 210:ac.Type=304;ac.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,de,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=215;case 215:return;case 211:ac.Type=10;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=216;case 216:return;case 212:ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=217;case 217:return;case 213:ac.Type=16;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=218;case 218:return;case 214:$s=26;continue;$s=56;continue;case 51:ac.Type=16;df=J.DomText(c);$s=219;case 219:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}ac.Tokens=(new AD($stringToBytes(df)));d.Context.Tip.AppendChild(ac);$s=220;case 220:return;case 52:ac.Type=9;dg=J.DomHTML(c);$s=221;case 221:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}ac.Tokens=dg;ac.Tokens=(dh=A.SplitAfter(ac.Tokens,(new AD($stringToBytes("")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ac);$s=56;continue;case 53:ac.Type=10;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ac.Tokens=di;d.Context.Tip.AppendChild(ac);$s=223;case 223:return;case 54:$s=224;case 224:return;case 55:ac.Type=9;dj=J.DomHTML(c);$s=225;case 225:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}ac.Tokens=dj;d.Context.Tip.AppendChild(ac);$s=226;case 226:return;case 56:case 26:dk=c.FirstChild;case 227:if(!(!(dk===AE.nil))){$s=228;continue;}$r=e.genASTByVditorDOM(dk,d);$s=229;case 229:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dk=dk.NextSibling;$s=227;continue;case 228:dl=c.DataAtom;if(dl===(40708)){if(C.Contains(aa,"vditor-comment")){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",10,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(28162))||(dl===(1537))){dm=J.DomAttrValue(c,"data-marker");if(""===dm){dm="*";}if("_"===dm){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(449798))||(dl===(257))){dn=J.DomAttrValue(c,"data-marker");if(""===dn){dn="**";}if("__"===dn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(1)){ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dp=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dp))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dq=J.DomAttrValue(c,"title");if(!(""===dq)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dq))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dl===(283139))||(dl===(9473))||(dl===(53766))){dr=J.DomAttrValue(c,"data-marker");if("~"===dr){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(46596)){ds=J.DomAttrValue(c,"data-marker");if("="===ds){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorDOM=function(c,d){return this.$val.genASTByVditorDOM(c,d);};R.ptr.prototype.hasAttr=function(c,d){var c,d,e,f,g,h;e=this;f=c.Attr;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key===d){return true;}g++;}return false;};R.prototype.hasAttr=function(c,d){return this.$val.hasAttr(c,d);};R.ptr.prototype.domChild=function(c,d){var c,d,e,f,g;e=this;if(AE.nil===c){return AE.nil;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild=function(c,d){return this.$val.domChild(c,d);};R.ptr.prototype.domChild0=function(c,d){var c,d,e,f,g;e=this;if(c.DataAtom===d){return c;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild0=function(c,d){return this.$val.domChild0(c,d);};R.ptr.prototype.setDOMAttrValue=function(c,d,e){var c,d,e,f,g,h,i;f=this;if(AE.nil===c){return;}g=c.Attr;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i.Key===d){i.Val=e;return;}h++;}c.Attr=$append(c.Attr,new F.Attribute.ptr("",d,e));};R.prototype.setDOMAttrValue=function(c,d,e){return this.$val.setDOMAttrValue(c,d,e);};R.ptr.prototype.parentIs=function(c,d){var c,d,e,f,g,h,i;e=this;f=c.Parent;while(true){if(!(!(AE.nil===f))){break;}g=d;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i===f.DataAtom){return true;}h++;}f=f.Parent;}return false;};R.prototype.parentIs=function(c,d){return this.$val.parentIs(c,d);};R.ptr.prototype.isCaret=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=false;e=false;f=this;g=J.DomText(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=C.TrimSpace(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(1>j.length&&1>0;while(true){if(!(f>=0)){break;}if((32===c.charCodeAt(f))||(160===c.charCodeAt(f))){d=d+(" ");}else{return d;}f=f-(1)>>0;}return d;};R.prototype.suffixSpaces=function(c){return this.$val.suffixSpaces(c);};R.ptr.prototype.SpinVditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=C.TrimSpace(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if("\xE2\x80\xB8"===f){$s=1;continue;}$s=2;continue;case 1:d=""+($bytesToString(I.NewlineSV));$s=-1;return d;case 2:g=H.Parse("",(new AD($stringToBytes(c))),e.ParseOptions);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewVditorSVRenderer(h,e.RenderOptions);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=C.ReplaceAll(($bytesToString(l)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.SpinVditorSVDOM=function(c){return this.$val.SpinVditorSVDOM(c);};R.ptr.prototype.HTML2VditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorSVRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorSVDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2VditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.Md2VditorSVDOM=function(c){return this.$val.Md2VditorSVDOM(c);};R.ptr.prototype.SpinVditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorIRDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorIRRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorIRDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorIRDOM=function(c){return this.$val.SpinVditorIRDOM(c);};R.ptr.prototype.HTML2VditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorIRRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorIRDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorIRDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorIRDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorIRDOM2Md=function(c){return this.$val.vditorIRDOM2Md(c);};R.ptr.prototype.genASTByVditorIRDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-def"===g){$s=8;continue;}if("footnotes-block"===g){$s=9;continue;}if("toc-block"===g){$s=10;continue;}$s=11;continue;case 6:if(("code-block"===g||"math-block"===g)&&!C.Contains(J.DomAttrValue(c.FirstChild,"data-type"),"-block-open-marker")){$s=13;continue;}$s=14;continue;case 13:h=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=J.DomText(c.FirstChild);$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(i))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(j);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$s=16;case 16:return;case 14:k=c.FirstChild;case 17:if(!(!(k===AE.nil))){$s=18;continue;}$r=e.genASTByVditorIRDOM(k,d);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=17;continue;case 18:$s=12;continue;case 7:l=J.DomText(c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(m))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(n);$s=12;continue;case 8:o=c.FirstChild;case 21:if(!(!(o===AE.nil))){$s=22;continue;}$r=e.genASTByVditorIRDOM(o,d);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o.NextSibling;$s=21;continue;case 22:$s=12;continue;case 9:p=c.FirstChild;case 24:if(!(!(AE.nil===p))){$s=25;continue;}q=new A.Buffer.ptr(AD.nil,0,0);r=F.Render(q,p);$s=26;case 26:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if($interfaceIsEqual($ifaceNil,s)){$s=27;continue;}$s=28;continue;case 27:t=e.vditorIRDOM2Md(q.String());$s=29;case 29:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=C.Split(u,"\n");u="";w=v;x=0;while(true){if(!(x=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]);if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 38:if(AE.nil===c.FirstChild){$s=94;continue;}$s=95;continue;case 94:$s=96;case 96:return;case 95:ag.Type=7;ag.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ag.ListData.Typ=1;}ba=J.DomAttrValue(c,"data-tight");if("true"===ba||""===ba){ag.ListData.Tight=true;}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 39:bb=c.FirstChild;if(!(AE.nil===bb)&&(3073===bb.DataAtom)&&!(AE.nil===bb.NextSibling)&&(3073===bb.NextSibling.DataAtom)){d.Context.Tip.ListData.Tight=false;}ag.Type=8;bc=J.DomAttrValue(c,"data-marker");bd=0;if(""===bc){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){be=J.DomAttrValue(c.Parent.FirstChild,"data-marker");bf=J.DomAttrValue(c.Parent,"start");if(""===bf){bc="1";}else{bc=bf;}if(!(""===be)){bc=bc+($substring(be,(be.length-1>>0)));}else{bc=bc+(".");}}else{bc=J.DomAttrValue(c.Parent,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===bc||"-"===bc||"+"===bc){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){bc="1.";}}else{if(!("*"===bc)&&!("-"===bc)&&!("+"===bc)){bc="*";}bd=bc.charCodeAt(0);}}else{bc=J.DomAttrValue(c,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}ag.ListData=new D.ListData.ptr(0,false,bd,0,0,0,0,false,(new AD($stringToBytes(bc))),0);if(0===bd){bg=B.Atoi($substring(bc,0,(bc.length-1>>0)));ag.ListData.Num=bg[0];ag.ListData.Delimiter=bc.charCodeAt((bc.length-1>>0));}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 40:if(378116===c.FirstChild.DataAtom){bh=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){bh=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}bi=J.DomAttrValue(c.Parent,"data-type");bj=bi;if(bj===("math-block")){ag.Type=302;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("html-block")){ag.Type=9;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("yaml-front-matter")){ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bh,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);}else{ag.Type=15;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}}$s=97;case 97:return;case 41:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=98;continue;}$s=99;continue;case 98:$s=100;case 100:return;case 99:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bk=J.DomText(c);$s=101;case 101:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=C.TrimSpace(bk);$s=102;case 102:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;bn=e.isEmptyText(c);$s=105;case 105:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(bn){$s=103;continue;}$s=104;continue;case 103:$s=106;case 106:return;case 104:if("\xE2\x80\xB8"===bm){$s=107;continue;}$s=108;continue;case 107:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=109;case 109:return;case 108:ag.Type=17;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 42:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=110;continue;}$s=111;continue;case 110:$s=112;case 112:return;case 111:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=114;case 114:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=117;case 117:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=115;continue;}$s=116;continue;case 115:$s=118;case 118:return;case 116:if("\xE2\x80\xB8"===bq){$s=119;continue;}$s=120;continue;case 119:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=121;case 121:return;case 120:ag.Type=22;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 43:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=122;continue;}$s=123;continue;case 122:$s=124;case 124:return;case 123:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bs=J.DomText(c);$s=125;case 125:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=C.TrimSpace(bs);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=e.isEmptyText(c);$s=129;case 129:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=127;continue;}$s=128;continue;case 127:$s=130;case 130:return;case 128:if("\xE2\x80\xB8"===bu){$s=131;continue;}$s=132;continue;case 131:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=133;case 133:return;case 132:ag.Type=101;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 44:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=134;continue;}$s=135;continue;case 134:$s=136;case 136:return;case 135:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bw=J.DomText(c);$s=137;case 137:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=C.TrimSpace(bw);$s=138;case 138:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=bx;bz=e.isEmptyText(c);$s=141;case 141:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(bz){$s=139;continue;}$s=140;continue;case 139:$s=142;case 142:return;case 140:if("\xE2\x80\xB8"===by){$s=143;continue;}$s=144;continue;case 143:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=145;case 145:return;case 144:ag.Type=450;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 45:if(AE.nil===c.FirstChild){$s=146;continue;}$s=147;continue;case 146:$s=148;case 148:return;case 147:ca=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===ca){$s=149;continue;}$s=150;continue;case 149:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=151;case 151:return;case 150:if(""===ca){$s=152;continue;}$s=153;continue;case 152:$s=154;case 154:return;case 153:cb=(new AD($stringToBytes(ca)));cc=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cb,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ag.Type=27;ag.AppendChild(cc);d.Context.Tip.AppendChild(ag);$s=155;case 155:return;case 46:if(!(AE.nil===c.Parent)){$s=156;continue;}$s=157;continue;case 156:if(e.parentIs(c,new AT([37378,87554]))){$s=158;continue;}$s=159;continue;case 158:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=160;continue;}$s=161;continue;case 160:$s=162;case 162:return;case 161:if(AE.nil===c.NextSibling){$s=163;continue;}$s=164;continue;case 163:$s=165;case 165:return;case 164:ag.Type=10;ag.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ag);$s=166;case 166:return;case 159:if(3073===c.Parent.DataAtom){$s=167;continue;}$s=168;continue;case 167:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=169;continue;}$s=170;continue;case 169:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=171;case 171:return;case 170:case 168:case 157:ag.Type=31;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 47:ag.Type=33;ag.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 48:cd=ae;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=172;continue;}$s=173;continue;case 172:ag.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(cf);d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=174;continue;case 173:$s=175;case 175:return;case 174:$s=62;continue;case 49:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=176;continue;}$s=177;continue;case 176:$s=178;case 178:return;case 177:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=179;continue;}$s=180;continue;case 179:cg=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=181;case 181:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cg;$s=32;continue;case 180:ag.Type=100;ag.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ag);if(!(AF.nil===ag.Parent.Parent.Parent)&&!(AL.nil===ag.Parent.Parent.Parent.ListData)){ag.Parent.Parent.Parent.ListData.Typ=3;}$s=62;continue;case 50:ag.Type=106;ch=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:ci=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ci))){break;}cj=J.DomAttrValue(ci,"align");ck=cj;if(ck===("left")){ch=$append(ch,1);}else if(ck===("center")){ch=$append(ch,2);}else if(ck===("right")){ch=$append(ch,3);}else{ch=$append(ch,0);}ci=ci.NextSibling;}ag.TableAligns=ch;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 51:ag.Type=107;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 52:$s=62;continue;case 53:ag.Type=108;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 54:ag.Type=109;cl=J.DomAttrValue(c,"align");cm=0;cn=cl;if(cn===("left")){cm=1;}else if(cn===("center")){cm=2;}else if(cn===("right")){cm=3;}else{cm=0;}ag.TableCellAlign=cm;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 55:if(AE.nil===c.FirstChild){$s=32;continue;}if("footnotes-ref"===g){$s=185;continue;}$s=186;continue;case 185:ag.Type=16;co=J.DomText(c);$s=187;case 187:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(co)));d.Context.Tip.AppendChild(ag);case 186:$s=188;case 188:return;case 56:cp=g;if(cp===("inline-node")||cp===("em")||cp===("strong")||cp===("s")||cp===("a")||cp===("link-ref")||cp===("img")||cp===("code")||cp===("heading-id")||cp===("html-inline")||cp===("inline-math")||cp===("html-entity")){$s=190;continue;}if(cp===("math-block-close-marker")){$s=191;continue;}if(cp===("math-block-open-marker")){$s=192;continue;}if(cp===("yaml-front-matter-close-marker")){$s=193;continue;}if(cp===("yaml-front-matter-open-marker")){$s=194;continue;}if(cp===("code-block-open-marker")){$s=195;continue;}if(cp===("code-block-info")){$s=196;continue;}if(cp===("code-block-close-marker")){$s=197;continue;}if(cp===("heading-marker")){$s=198;continue;}$s=199;continue;case 190:ag.Type=16;cq=J.DomText(c);$s=200;case 200:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(cq)));d.Context.Tip.AppendChild(ag);$s=201;case 201:return;case 191:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=202;case 202:return;case 192:ag.Type=300;ag.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=203;case 203:return;case 193:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=204;case 204:return;case 194:ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=205;case 205:return;case 195:if(290819===c.NextSibling.DataAtom){c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,40708,"","",new AS([new F.Attribute.ptr("","data-type","code-block-info")])));}cr=J.DomText(c);$s=206;case 206:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=(new AD($stringToBytes(cr)));ct=A.LastIndex(cs,(new AD($stringToBytes("`"))))+1>>0;if(0>0;if(0")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ag);$s=62;continue;case 59:$s=62;continue;case 60:$s=221;case 221:return;case 61:ag.Type=9;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ag.Tokens=di;d.Context.Tip.AppendChild(ag);$s=223;case 223:return;case 62:case 32:dj=c.FirstChild;case 224:if(!(!(dj===AE.nil))){$s=225;continue;}$r=e.genASTByVditorIRDOM(dj,d);$s=226;case 226:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj=dj.NextSibling;$s=224;continue;case 225:dk=c.DataAtom;if(dk===(1)){ag.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dl=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkPrefix,"");}ag.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dm=J.DomAttrValue(c,"title");if(!(""===dm)){ag.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ag.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dk===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorIRDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorIRDOM=function(c,d){return this.$val.genASTByVditorIRDOM(c,d);};R.ptr.prototype.SpinBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.blockDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g=C.ReplaceAll(g,"\xE2\x80\x8B","");h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=i.Root.FirstChild;k=i.Root.LastChild.Previous;if((1===j.Type)&&""===j.ID&&!(AF.nil===k)&&!(j===k.Previous)&&(455===k.Type)){l=k.Previous.ID;m="";j.ID=l;k.Previous.ID=m;n=k.Previous.KramdownIAL;o=AN.nil;j.KramdownIAL=n;k.Previous.KramdownIAL=o;j.InsertAfter(k);}if((455===j.Type)&&!(AF.nil===j.Next)&&(455===j.Next.Type)&&J.IsDocIAL(j.Next.Tokens)){p=H.Tokens2IAL(j.Tokens);q=H.IAL2Map(p);s=new D.Node.ptr((r=$mapIndex(q,$String.keyFor("id")),r!==undefined?r.v:""),"","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,p,false,"","","","","","","","","","","",0,"");j.InsertBefore(s);}$r=H.NestedInlines2FlattedSpansHybrid(i,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=e.Tree2BlockDOM(i,e.RenderOptions);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.SpinBlockDOM=function(c){return this.$val.SpinBlockDOM(c);};R.ptr.prototype.HTML2BlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewProtyleRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2BlockDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);o.Unlink();n++;}p=d[0];q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);j.Root.AppendChild(r);q++;}s=I.NewProtyleRenderer(j,f.RenderOptions);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t.BaseRenderer.Render();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;e=J.BytesToStr(v);w=C.TrimSpace(e);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}e=w;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2InlineBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};R.prototype.BlockDOM2InlineBlockDOM=function(c){return this.$val.BlockDOM2InlineBlockDOM(c);};R.ptr.prototype.Md2BlockDOM=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;h=f.Md2BlockDOMTree(c,d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Md2BlockDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.Md2BlockDOM=function(c,d){return this.$val.Md2BlockDOM(c,d);};R.ptr.prototype.Md2BlockDOMTree=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=AB.nil;g=this;h=H.Parse("",(new AD($stringToBytes(c))),g.ParseOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;$r=H.NestedInlines2FlattedSpansHybrid(f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d){$s=3;continue;}$s=4;continue;case 3:$r=D.Walk(f.Root,(function(i,j){var i,j,k;if(!j){return 2;}if(i.IsEmptyBlockIAL()){k=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=H.Tokens2IAL(i.Tokens);k.ID=k.IALAttr("id");i.InsertBefore(k);return 2;}return 2;}));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:i=I.NewProtyleRenderer(f,g.RenderOptions);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=g.Md2BlockDOMRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l");$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Tree2BlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Tree2BlockDOM=function(c,d){return this.$val.Tree2BlockDOM(c,d);};R.ptr.prototype.RenderNodeBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;f=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");g=new H.Tree.ptr(f,new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h=I.NewProtyleRenderer(g,e.RenderOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d[0]=h;i=e.Md2BlockDOMRendererFuncs;j=0;k=i?i.keys():undefined;l=i?i.size:0;while(true){if(!(j\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"`","`");c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=0;g=0;h=f;i=g;j=c;k=0;while(true){if(!(k>0;}else{break;}k+=l[1];}n=c.length-1>>0;while(true){if(!(n>=0)){break;}if(32===c.charCodeAt(n)){i=i+(1)>>0;}else{break;}n=n-(1)>>0;}o=C.TrimSpace(c);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}c=o;c=C.Repeat(" ",h)+c+C.Repeat(" ",i);c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");p=d[0].parseHTML(c);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(AE.nil===q){$s=-1;return e;}$r=d[0].adjustVditorDOM(q);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,d[0].ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tip=e.Root;r=q.FirstChild;case 4:if(!(!(AE.nil===r))){$s=5;continue;}$r=d[0].genASTByBlockDOM(r,e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=r.NextSibling;$s=4;continue;case 5:$r=D.Walk(e.Root,(function(d){return function $b(s,t){var{s,t,u,$s,$r,$c}=$restore(this,{s,t});$s=$s||0;s:while(true){switch($s){case 0:if(t){$s=1;continue;}$s=2;continue;case 1:u=s.Type;if((u===(10))||(u===(9))||(u===(29))||(u===(15))||(u===(306))||(u===(302))||(u===(27))||(u===(304))){$s=4;continue;}if((u===(22))||(u===(17))||(u===(101))||(u===(520))){$s=5;continue;}if(u===(530)){$s=6;continue;}if(u===(16)){$s=7;continue;}$s=8;continue;case 4:if(!(AF.nil===s.Next)&&(27===s.Next.Type)&&(s.CodeMarkerLen===s.Next.CodeMarkerLen)&&!(AF.nil===s.FirstChild)&&!(AF.nil===s.FirstChild.Next)){s.FirstChild.Next.Tokens=$appendSlice(s.FirstChild.Next.Tokens,s.Next.FirstChild.Next.Tokens);s.Next.Unlink();}$s=8;continue;case 5:d[0].MergeSameSpan(s);$s=8;continue;case 6:$r=d[0].MergeSameTextMark(s);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:s.Tokens=A.ReplaceAll(s.Tokens,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 8:case 3:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,s,t,u,$s};return $f;};})(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2Tree,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.BlockDOM2Tree=function(c){return this.$val.BlockDOM2Tree(c);};R.ptr.prototype.MergeSameTextMark=function(c){var{aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(AF.nil===c.Previous){$s=-1;return;}e=false;f=false;if(456===c.Previous.Type){$s=1;continue;}$s=2;continue;case 1:if(AF.nil===c.Next||!((456===c.Next.Type))||AF.nil===c.Previous.Previous){$s=-1;return;}if(!A.Equal(c.Previous.Tokens,c.Next.Tokens)){$s=-1;return;}g=c.IsSameTextMarkType(c.Previous.Previous);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:e=true;$s=3;continue;case 2:if(!((16===c.Previous.Type)&&!C.Contains(c.Previous.TokensStr()," ")&&!C.Contains(c.Previous.TokensStr(),"\n"))){i=false;$s=11;continue s;}j=C.TrimSpace(C.ReplaceAll(c.Previous.TokensStr(),"\xE2\x80\x8B",""));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(!(i&&!(AF.nil===c.Previous.Previous))){h=false;$s=10;continue s;}k=c.IsSameTextMarkType(c.Previous.Previous);$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;case 10:if(h){$s=7;continue;}$s=8;continue;case 7:f=true;$s=9;continue;case 8:if(!((c.Type===c.Previous.Type))){l=true;$s=16;continue s;}m=c.IsSameTextMarkType(c.Previous);$s=17;case 17:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=!m;case 16:if(l){$s=14;continue;}$s=15;continue;case 14:$s=-1;return;case 15:case 9:case 3:n=C.Split(c.TextMarkType," ");o=$makeMap($String.keyFor,[]);p=n;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);s=r;(o||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(s),{k:s,v:true});q++;}t=AJ.nil;u=o;v=0;w=u?u.keys():undefined;x=u?u.size:0;while(true){if(!(v=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);$mapDelete(o,$String.keyFor(ae));ad++;}if(0<(o?o.size:0)){$s=-1;return;}if(e||f){c.TextMarkTextContent=c.Previous.Previous.TextMarkTextContent+c.TextMarkTextContent;c.Previous.Previous.Unlink();}else{c.TextMarkTextContent=c.Previous.TextMarkTextContent+c.TextMarkTextContent;}c.Previous.Unlink();$r=c.SortTextMarkDataTypes();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.MergeSameTextMark,$c:true,$r,aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.MergeSameTextMark=function(c){return this.$val.MergeSameTextMark(c);};R.ptr.prototype.MergeSameSpan=function(c){var c,d,e,f,g,h,i;d=this;if(AF.nil===c.Next||!((c.Type===c.Next.Type))){return;}if(!(AF.nil===c.Next.Next)&&(456===c.Next.Next.Type)){return;}e=AK.nil;c.Next.FirstChild.Unlink();c.Next.LastChild.Unlink();f=c.Next.FirstChild;while(true){if(!(!(AF.nil===f))){break;}e=$append(e,f);f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);c.LastChild.InsertBefore(i);h++;}c.Next.Unlink();};R.prototype.MergeSameSpan=function(c){return this.$val.MergeSameSpan(c);};R.ptr.prototype.CancelSuperBlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((475===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}i=$append(i,j);j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);g.Root.AppendChild(m);l++;}h.Unlink();n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelSuperBlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.CancelSuperBlock=function(c){return this.$val.CancelSuperBlock(c);};R.ptr.prototype.CancelList=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((7===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}n=m.FirstChild;while(true){if(!(!(AF.nil===n))){break;}if(!((100===n.Type))){k=$append(k,n);}n=n.Next;}l=$append(l,m);m=m.Next;}o=k;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);g.Root.AppendChild(q);p++;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}h.Unlink();u=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}d=u;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelList,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};R.prototype.CancelList=function(c){return this.$val.CancelList(c);};R.ptr.prototype.CancelBlockquote=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((5===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}if(!((6===m.Type))){k=$append(k,m);}l=$append(l,m);m=m.Next;}n=k;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);g.Root.AppendChild(p);o++;}h.Unlink();q=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}d=q;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelBlockquote,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};R.prototype.CancelBlockquote=function(c){return this.$val.CancelBlockquote(c);};R.ptr.prototype.Blocks2Ps=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h;while(true){if(!(!(AF.nil===m))){break;}n=m.Type;if(n===(2)){m.Type=1;}else if(n===(5)){o=m.FirstChild;while(true){if(!(!(AF.nil===o))){break;}if(6===o.Type){l=$append(l,o);o=o.Next;continue;}k=$append(k,o);o=o.Next;}l=$append(l,m);}else if(n===(7)){p=m.FirstChild;while(true){if(!(!(AF.nil===p))){break;}q=p.FirstChild;while(true){if(!(!(AF.nil===q))){break;}if(!((100===q.Type))){k=$append(k,q);}q=q.Next;}l=$append(l,p);p=p.Next;}l=$append(l,m);}m=m.Next;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}u=k;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);g.Root.AppendChild(w);v++;}x=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}d=x;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Blocks2Ps,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};R.prototype.Blocks2Ps=function(c){return this.$val.Blocks2Ps(c);};R.ptr.prototype.Blocks2Hs=function(c,d){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;g=f.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.Root.FirstChild;j=i;while(true){if(!(!(AF.nil===j))){break;}if((1===j.Type)||(2===j.Type)){j.Type=2;k=B.Atoi(d);j.HeadingLevel=k[0];}j=j.Next;}l=f.Tree2BlockDOM(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}e=l;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Blocks2Hs,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.Blocks2Hs=function(c,d){return this.$val.Blocks2Hs(c,d);};R.ptr.prototype.OL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.OL2TL=function(c){return this.$val.OL2TL(c);};R.ptr.prototype.UL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.UL2TL=function(c){return this.$val.UL2TL(c);};R.ptr.prototype.TL2OL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=AK.nil;k=h.FirstChild;while(true){if(!(!(AF.nil===k))){break;}if(455===k.Type){k=k.Next;continue;}j=$append(j,k.FirstChild);k.ListData.Typ=1;k.ListData.Num=i;i=i+(1)>>0;k=k.Next;}l=j;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n.Unlink();m++;}o=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}d=o;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.TL2OL=function(c){return this.$val.TL2OL(c);};R.ptr.prototype.TL2UL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}i=$append(i,j.FirstChild);j.ListData.Typ=0;j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);m.Unlink();l++;}n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2UL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.TL2UL=function(c){return this.$val.TL2UL(c);};R.ptr.prototype.OL2UL=function(c){var{c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=h.FirstChild;while(true){if(!(!(AF.nil===i))){break;}if(455===i.Type){i=i.Next;continue;}i.ListData.Typ=0;i=i.Next;}j=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2UL,$c:true,$r,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.OL2UL=function(c){return this.$val.OL2UL(c);};R.ptr.prototype.UL2OL=function(c){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}j.ListData.Typ=1;j.ListData.Num=i;i=i+(1)>>0;j=j.Next;}k=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.UL2OL=function(c){return this.$val.UL2OL(c);};R.ptr.prototype.blockDOM2Md=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=I.NewOptions();h.AutoSpace=false;h.FixTermTypo=false;h.KramdownBlockIAL=true;h.KramdownSpanIAL=true;h.KeepParagraphBeginningSpace=true;h.ProtyleWYSIWYG=true;h.SuperBlock=true;i=I.NewFormatRenderer(g,h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=($bytesToString(l));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.blockDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.blockDOM2Md=function(c){return this.$val.blockDOM2Md(c);};R.ptr.prototype.genASTByBlockDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"class");if("protyle-attr"===f||C.Contains(f,"__copy")||C.Contains(f,"protyle-linenumber__rows")){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if("1"===J.DomAttrValue(c,"spin")){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:if(C.Contains(f,"protyle-action")){$s=7;continue;}$s=8;continue;case 7:if(11===d.Context.Tip.Type){$s=9;continue;}if(8===d.Context.Tip.Type){$s=10;continue;}$s=11;continue;case 9:g=c.FirstChild;h="";if(!(AE.nil===g.FirstChild)){h=g.FirstChild.Data;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(h),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i=J.DomText(c.NextSibling);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasSuffix(j,"\n\n\xE2\x80\xB8")){j=C.TrimSuffix(j,"\n\n\xE2\x80\xB8");j=j+("\n\xE2\x80\xB8\n");}k=C.Split(j,"\n");l=new A.Buffer.ptr(AD.nil,0,0);m=k;n=0;case 13:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(C.Contains(p,"```")){p=C.ReplaceAll(p,"```","\xE2\x80\x8D```");}else{p=C.ReplaceAll(p,"\xE2\x80\x8D","");}q=l.WriteString(p);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o<(k.$length-1>>0)){$s=16;continue;}$s=17;continue;case 16:r=l.WriteByte(10);$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 17:n++;$s=13;continue;case 14:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,l.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=11;continue;case 10:if(3===d.Context.Tip.ListData.Typ){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,C.Contains(J.DomAttrValue(c.Parent,"class"),"protyle-task--done"),AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 11:$s=19;case 19:return;case 8:if("true"===J.DomAttrValue(c,"contenteditable")){$s=20;continue;}$s=21;continue;case 20:$r=e.genASTContenteditable(c,d);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;case 23:return;case 21:s=D.Str2NodeType(J.DomAttrValue(c,"data-type"));$s=24;case 24:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=J.DomAttrValue(c,"data-node-id");v=new D.Node.ptr(u,"","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");if(!(""===v.ID)&&!e.parentIs(c,new AT([365829]))){$s=25;continue;}$s=26;continue;case 25:v.KramdownIAL=new AN([new AJ(["id",v.ID])]);w=e.setBlockIAL(c,v);$s=27;case 27:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=new D.Node.ptr("","","","",455,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,x,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");$deferred.push([$methodVal(d.Context,"TipAppendChild"),[y]]);case 26:z=t;if(z===(465)){$s=29;continue;}if(z===(106)){$s=30;continue;}if(z===(1)){$s=31;continue;}if(z===(2)){$s=32;continue;}if(z===(5)){$s=33;continue;}if(z===(7)){$s=34;continue;}if(z===(8)){$s=35;continue;}if(z===(495)){$s=36;continue;}if(z===(475)){$s=37;continue;}if(z===(300)){$s=38;continue;}if(z===(11)){$s=39;continue;}if(z===(9)){$s=40;continue;}if(z===(425)){$s=41;continue;}if(z===(4)){$s=42;continue;}if(z===(500)){$s=43;continue;}if(z===(535)){$s=44;continue;}if(z===(510)){$s=45;continue;}if(z===(505)){$s=46;continue;}if(z===(550)){$s=47;continue;}if(z===(560)){$s=48;continue;}$s=49;continue;case 29:v.Type=465;v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));aa=J.DomAttrValue(c,"data-content");aa=C.ReplaceAll(aa,"\n","_esc_newline_");v.AppendChild(new D.Node.ptr("","","","",468,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aa),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=51;case 51:return;case 30:v.Type=106;ab=AM.nil;if(AE.nil===c.FirstChild){$s=52;continue;}$s=53;continue;case 52:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=54;case 54:return;case 53:if(e.parentIs(c,new AT([365829]))){$s=55;continue;}$s=56;continue;case 55:ac=J.DomText(c);$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=C.TrimSpace(ad);$s=58;case 58:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(ae)));d.Context.Tip.AppendChild(v);$s=59;case 59:return;case 56:af=c.FirstChild;ag=e.domChild(af,365829);if(AE.nil===ag){$s=60;continue;}$s=61;continue;case 60:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=62;case 62:return;case 61:ah=e.domChild(ag,208901);if(AE.nil===ah||AE.nil===ah.FirstChild||AE.nil===ah.FirstChild.FirstChild){$s=63;continue;}$s=64;continue;case 63:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=65;case 65:return;case 64:ai=ah.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}aj=J.DomAttrValue(ai,"align");ak=aj;if(ak===("left")){ab=$append(ab,1);}else if(ak===("center")){ab=$append(ab,2);}else if(ak===("right")){ab=$append(ab,3);}else{ab=$append(ab,0);}ai=ai.NextSibling;}v.TableAligns=ab;v.Tokens=AD.nil;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$r=e.genASTContenteditable(ag,d);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=67;case 67:return;case 31:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 32:al=J.DomText(c);$s=68;case 68:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(e.parentIs(c,new AT([365829]))){$s=69;continue;}$s=70;continue;case 69:an=C.TrimSpace(am);$s=71;case 71:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(an)));while(true){if(!(A.HasPrefix(v.Tokens,(new AD($stringToBytes("#")))))){break;}v.Tokens=A.TrimPrefix(v.Tokens,(new AD($stringToBytes("#"))));}d.Context.Tip.AppendChild(v);$s=72;case 72:return;case 70:ao=$substring(J.DomAttrValue(c,"data-subtype"),1);ap=C.TrimPrefix(am," ");if(C.HasPrefix(ap,"#")){$s=73;continue;}$s=74;continue;case 73:aq=C.Index(ap," \xE2\x80\xB8");if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 34:v.Type=7;ax=J.DomAttrValue(c,"data-marker");v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);ay=J.DomAttrValue(c,"data-subtype");if("u"===ay){v.ListData.Typ=0;}else if("o"===ay){v.ListData.Typ=1;}else if("t"===ay){v.ListData.Typ=3;}v.ListData.Marker=(new AD($stringToBytes(ax)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 35:az=J.DomAttrValue(c,"data-marker");if(!((7===d.Context.Tip.Type))){ba=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ba.Type=7;ba.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bb=J.DomAttrValue(c,"data-subtype");if("u"===bb){ba.ListData.Typ=0;ba.ListData.BulletChar=42;}else if("o"===bb){ba.ListData.Typ=1;bc=B.Atoi($substring(az,0,(az.length-1>>0)));ba.ListData.Num=bc[0];ba.ListData.Delimiter=46;}else if("t"===bb){ba.ListData.Typ=3;ba.ListData.BulletChar=42;}d.Context.Tip.AppendChild(ba);d.Context.Tip=ba;}v.Type=8;v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bd=J.DomAttrValue(c,"data-subtype");if("u"===bd){v.ListData.Typ=0;v.ListData.BulletChar=42;}else if("o"===bd){v.ListData.Typ=1;be=B.Atoi($substring(az,0,(az.length-1>>0)));v.ListData.Num=be[0];v.ListData.Delimiter=46;}else if("t"===bd){v.ListData.Typ=3;v.ListData.BulletChar=42;}v.ListData.Marker=(new AD($stringToBytes(az)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 36:v.Type=495;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 37:v.Type=475;d.Context.Tip.AppendChild(v);v.AppendChild(new D.Node.ptr("","","","",476,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=J.DomAttrValue(c,"data-sb-layout");v.AppendChild(new D.Node.ptr("","","","",477,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bf))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 38:v.Type=300;v.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"data-content");bg=F.UnescapeHTMLStr(bg);v.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=80;case 80:return;case 39:v.Type=11;v.IsFencedCodeBlock=true;v.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(c,"data-subtype");if(!(""===bh)){$s=81;continue;}$s=82;continue;case 81:v.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(bh),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(c,"data-content");v.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=83;case 83:return;case 82:d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 40:v.Type=9;bj=J.DomAttrValue(c.FirstChild.NextSibling.FirstChild,"data-content");bj=F.UnescapeHTMLStr(bj);v.Tokens=J.StrToBytes(bj);d.Context.Tip.AppendChild(v);$s=84;case 84:return;case 41:v.Type=425;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 42:v.Type=4;d.Context.Tip.AppendChild(v);$s=85;case 85:return;case 43:v.Type=500;c=e.domChild(c.FirstChild,195590);bk=J.DomHTML(c);$s=86;case 86:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}v.Tokens=bk;d.Context.Tip.AppendChild(v);$s=87;case 87:return;case 44:v.Type=535;c=e.domChild(c.FirstChild,195590);bl=J.DomHTML(c);$s=88;case 88:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}v.Tokens=bl;d.Context.Tip.AppendChild(v);$s=89;case 89:return;case 45:v.Type=510;c=e.domChild(c.FirstChild,192773);bm=J.DomHTML(c);$s=90;case 90:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}v.Tokens=bm;d.Context.Tip.AppendChild(v);$s=91;case 91:return;case 46:v.Type=505;c=e.domChild(c.FirstChild,70917);bn=J.DomHTML(c);$s=92;case 92:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}v.Tokens=bn;d.Context.Tip.AppendChild(v);$s=93;case 93:return;case 47:v.Type=550;v.AttributeViewID=J.DomAttrValue(c,"data-av-id");if(""===v.AttributeViewID){$s=94;continue;}$s=95;continue;case 94:bo=D.NewNodeID();$s=96;case 96:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}v.AttributeViewID=bo;case 95:v.AttributeViewType=J.DomAttrValue(c,"data-av-type");d.Context.Tip.AppendChild(v);$s=97;case 97:return;case 48:v.Type=560;v.CustomBlockInfo=J.DomAttrValue(c,"data-info");v.Tokens=(new AD($stringToBytes(F.UnescapeHTMLStr(J.DomAttrValue(c,"data-content")))));d.Context.Tip.AppendChild(v);$s=98;case 98:return;case 49:bp=c.DataAtom;if(bp===(0)){$s=100;continue;}if((bp===(2817))||(bp===(378116))||(bp===(449798))||(bp===(28162))||(bp===(47363))||(bp===(46596))||(bp===(9473))||(bp===(421123))||(bp===(461571))||(bp===(40708))){$s=101;continue;}$s=102;continue;case 100:v.Type=16;v.Tokens=J.StrToBytes(c.Data);if(0===d.Context.Tip.Type){bq=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bq);d.Context.Tip=bq;}$r=e.genASTContenteditable(c,d);$s=103;case 103:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=104;case 104:return;case 101:if(0===d.Context.Tip.Type){br=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(br);d.Context.Tip=br;}$r=e.genASTContenteditable(c,d);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=106;case 106:return;case 102:case 99:if((8===d.Context.Tip.Type)&&(281349===c.DataAtom)){$s=107;continue;}$s=108;continue;case 107:v.Type=100;v.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(v);$s=109;case 109:return;case 108:v.Type=10;bs=J.DomHTML(c);$s=110;case 110:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}v.Tokens=bs;d.Context.Tip.AppendChild(v);$s=111;case 111:return;case 50:case 28:bt=c.FirstChild;case 112:if(!(!(bt===AE.nil))){$s=113;continue;}$r=e.genASTByBlockDOM(bt,d);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bt=bt.NextSibling;$s=112;continue;case 113:bu=t;if(bu===(475)){v.AppendChild(new D.Node.ptr("","","","",478,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(bu===(11)){v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByBlockDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByBlockDOM=function(c,d){return this.$val.genASTByBlockDOM(c,d);};R.ptr.prototype.genASTContenteditable=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;if((11===d.Context.Tip.Type)||(560===d.Context.Tip.Type)){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(109320===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:f=J.DomAttrValue(c,"class");if("svg"===f){$s=7;continue;}$s=8;continue;case 7:$s=9;case 9:return;case 8:g=c.Data;h=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(g),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=c.DataAtom;if(i===(0)){$s=11;continue;}if(i===(208901)){$s=12;continue;}if(i===(9989)){$s=13;continue;}if(i===(52226)){$s=14;continue;}if((i===(87554))||(i===(37378))){$s=15;continue;}if(i===(378116)){$s=16;continue;}if(i===(40708)){$s=17;continue;}if(i===(421123)){$s=18;continue;}if(i===(461571)){$s=19;continue;}if(i===(2817)){$s=20;continue;}if(i===(47363)){$s=21;continue;}if(i===(514)){$s=22;continue;}if((i===(28162))||(i===(1537))){$s=23;continue;}if((i===(449798))||(i===(257))){$s=24;continue;}if((i===(283139))||(i===(9473))||(i===(53766))){$s=25;continue;}if(i===(46596)){$s=26;continue;}if(i===(198403)){$s=27;continue;}$s=28;continue;case 11:if(""===g){$s=29;continue;}$s=30;continue;case 29:$s=31;case 31:return;case 30:if(33===d.Context.Tip.Type){h.Type=40;}else if(2===d.Context.Tip.Type){g=C.ReplaceAll(g,"\n","");h.Tokens=J.StrToBytes(g);}else if(22===d.Context.Tip.Type){g=C.ReplaceAll(g,"**","");g=C.ReplaceAll(g,"*\xE2\x80\xB8","\xE2\x80\xB8");g=C.ReplaceAll(g,"\xE2\x80\xB8*","\xE2\x80\xB8");h.Tokens=J.StrToBytes(g);}if(e.parentIs(c,new AT([365829]))){$s=32;continue;}$s=33;continue;case 32:g=C.TrimSuffix(g,"\n");if((AE.nil===c.NextSibling&&!C.Contains(g,"\n"))||(!(AE.nil===c.NextSibling)&&(514===c.NextSibling.DataAtom)&&C.HasPrefix(g,"\n"))){g=C.ReplaceAll(g,"\n","");}if(C.Contains(g,"\\")){$s=34;continue;}$s=35;continue;case 34:j=C.ReplaceAll(g,"\\","");k=C.TrimSpace(j);$s=36;case 36:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;if(""===j){g=C.ReplaceAll(g,"\\","\\\\");}case 35:h.Tokens=J.StrToBytes(C.ReplaceAll(g,"\n","
    "));l=L.SplitWithoutBackslashEscape(h.Tokens,124);h.Tokens=AD.nil;m=l;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);h.Tokens=$appendSlice(h.Tokens,p);if(o<(l.$length-1>>0)){h.Tokens=$appendSlice(h.Tokens,(new AD($stringToBytes("\\|"))));}n++;}case 33:if((27===d.Context.Tip.Type)||(304===d.Context.Tip.Type)){$s=37;continue;}$s=38;continue;case 37:if(!(AF.nil===d.Context.Tip.Previous)&&(d.Context.Tip.Type===d.Context.Tip.Previous.Type)){d.Context.Tip.FirstChild.Next.Tokens=J.StrToBytes(g);}else{if(!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();}d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));}$s=39;case 39:return;case 38:if(530===d.Context.Tip.Type){$s=40;continue;}$s=41;continue;case 40:if("code"===d.Context.Tip.TokensStr()){$s=42;continue;}$s=43;continue;case 42:if(!(AF.nil===d.Context.Tip.FirstChild)&&!(AF.nil===d.Context.Tip.FirstChild.Next)&&!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){$s=44;continue;}$s=45;continue;case 44:g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));$s=46;case 46:return;case 45:case 43:case 41:if(515===d.Context.Tip.Type){h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\\\"))),(new AD($stringToBytes("\\"))));h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));if(A.Equal(h.Tokens,E.CaretTokens)){q=d.Context.Tip.Parent;d.Context.Tip.Unlink();d.Context.Tip=q;}}d.Context.Tip.AppendChild(h);$s=28;continue;case 12:if(e.parentIs(c.Parent.Parent,new AT([365829]))){$s=47;continue;}$s=48;continue;case 47:r=J.DomText(c.Parent.Parent);$s=49;case 49:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;s=C.ReplaceAll(s,"\xE2\x80\xB8","");t=C.TrimSpace(s);$s=50;case 50:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(t)));d.Context.Tip.AppendChild(h);$s=51;case 51:return;case 48:h.Type=107;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 13:$s=28;continue;case 14:h.Type=108;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 15:h.Type=109;u=J.DomAttrValue(c,"align");v=0;w=u;if(w===("left")){v=1;}else if(w===("center")){v=2;}else if(w===("right")){v=3;}else{v=0;}h.TableCellAlign=v;d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(h,c);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 16:y=e.isCaret(c);$s=53;case 53:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];if(z){$s=54;continue;}$s=55;continue;case 54:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=56;case 56:return;case 55:if(aa){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:if(e.ParseOptions.TextMark){$s=60;continue;}$s=61;continue;case 60:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;case 63:return;case 61:h.Type=27;h.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 17:ab=J.DomAttrValue(c,"data-type");if(""===ab){ab="text";}if(C.Contains(ab,"span")){$s=64;continue;}$s=65;continue;case 64:h.Type=16;ac=J.DomText(c);$s=66;case 66:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=J.StrToBytes(ac);$s=67;case 67:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h.Tokens=ad;d.Context.Tip.AppendChild(h);$s=68;case 68:return;case 65:if(C.Contains(ab,"img")){ab="img";}if(!(AF.nil===d.Context.Tip)&&!(AF.nil===d.Context.Tip.LastChild)){$s=69;continue;}$s=70;continue;case 69:ae=d.Context.Tip.LastChild.Text();$s=71;case 71:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=C.HasSuffix(af,"\\\xE2\x80\xB8");if(ag){af=C.TrimSuffix(af,"\xE2\x80\xB8");}if(C.HasSuffix(af,"\\")){ah=0;ai=af.length-1>>0;while(true){if(!(ai>=0)){break;}if(92===af.charCodeAt(ai)){ah=ah+(1)>>0;}else{break;}ai=ai-(1)>>0;}if(!((0===(aj=ah%2,aj===aj?aj:$throwRuntimeError("integer divide by zero"))))){if(ag){d.Context.Tip.LastChild.Tokens=A.TrimSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));}else{d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));}}}case 70:if("tag"===ab){$s=72;continue;}if("inline-math"===ab){$s=73;continue;}if("inline-memo"===ab){$s=74;continue;}if("a"===ab){$s=75;continue;}if("block-ref"===ab){$s=76;continue;}if("file-annotation-ref"===ab){$s=77;continue;}if("img"===ab){$s=78;continue;}if("backslash"===ab){$s=79;continue;}$s=80;continue;case 72:al=e.isCaret(c);$s=82;case 82:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];if(am){$s=83;continue;}$s=84;continue;case 83:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=85;case 85:return;case 84:if(an){$s=86;continue;}$s=87;continue;case 86:$s=88;case 88:return;case 87:if(e.ParseOptions.TextMark){$s=89;continue;}$s=90;continue;case 89:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=91;case 91:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=92;case 92:return;case 90:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");h.Type=460;h.AppendChild(new D.Node.ptr("","","","",461,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));Q(c,h);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 73:ao=J.GetTextMarkInlineMathData(c);if(""===ao){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.ParseOptions.TextMark){$s=96;continue;}$s=97;continue;case 96:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=99;case 99:return;case 97:h.Type=304;h.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ao),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=100;case 100:return;case 74:aq=e.isCaret(c);$s=101;case 101:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(ar){$s=102;continue;}$s=103;continue;case 102:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=104;case 104:return;case 103:if(as){$s=105;continue;}$s=106;continue;case 105:$s=107;case 107:return;case 106:if(e.ParseOptions.TextMark){$s=108;continue;}$s=109;continue;case 108:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=111;case 111:return;case 109:h.Type=16;at=J.DomText(c);$s=112;case 112:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=J.StrToBytes(at);$s=113;case 113:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}h.Tokens=au;d.Context.Tip.AppendChild(h);$s=114;case 114:return;case 75:if(AE.nil===c.FirstChild){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(33===d.Context.Tip.Type){$s=10;continue;}if(e.ParseOptions.TextMark){$s=118;continue;}$s=119;continue;case 118:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=120;case 120:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=121;case 121:return;case 119:h.Type=33;h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 76:av=J.DomText(c);$s=122;case 122:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;ax=C.TrimSpace(aw);$s=123;case 123:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;if(""===aw){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(aw==="\xE2\x80\xB8"){$s=127;continue;}$s=128;continue;case 127:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=129;case 129:return;case 128:if(e.ParseOptions.TextMark){$s=130;continue;}$s=131;continue;case 130:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=132;case 132:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=133;case 133:return;case 131:h.Type=430;h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ay=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",431,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ay),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",432,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));az=AF.nil;ba=J.DomAttrValue(c,"data-subtype");if("s"===ba||""===ba){az=new D.Node.ptr("","","","",433,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}else{az=new D.Node.ptr("","","","",434,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}if(e.parentIs(c,new AT([365829]))){az.Tokens=A.ReplaceAll(az.Tokens,(new AD($stringToBytes("|"))),(new AD($stringToBytes("|"))));}h.AppendChild(az);h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=134;case 134:return;case 77:bb=J.DomText(c);$s=135;case 135:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=C.TrimSpace(bc);$s=136;case 136:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;if(""===bc){$s=137;continue;}$s=138;continue;case 137:$s=139;case 139:return;case 138:if(bc==="\xE2\x80\xB8"){$s=140;continue;}$s=141;continue;case 140:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=142;case 142:return;case 141:if(e.ParseOptions.TextMark){$s=143;continue;}$s=144;continue;case 143:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=146;case 146:return;case 144:h.Type=540;h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));be=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",541,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",542,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=new D.Node.ptr("","","","",543,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bc),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(bf);h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=147;case 147:return;case 78:bg=e.domChild(c,198403);if(AE.nil===bg){$s=148;continue;}$s=149;continue;case 148:$s=150;case 150:return;case 149:h.Type=34;h.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(bg,"alt");h.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bh),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(bg,"data-src");h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bj=J.DomAttrValue(bg,"title");if(!(""===bj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(d.Context.Tip.LastChild,bg);$s=151;case 151:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=152;case 152:return;case 79:h.Type=400;if(AE.nil===c.FirstChild){$s=153;continue;}$s=154;continue;case 153:$s=155;case 155:return;case 154:if(c.FirstChild===c.LastChild&&!(AE.nil===c.FirstChild.FirstChild)){$s=156;continue;}$s=157;continue;case 156:$s=158;case 158:return;case 157:if(AE.nil===c.FirstChild.NextSibling&&(1===c.FirstChild.Type)){$s=159;continue;}$s=160;continue;case 159:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(c.FirstChild.Data),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=161;case 161:return;case 160:if(!(AE.nil===c.FirstChild.NextSibling)){bk=c.FirstChild.NextSibling.Data;bk=C.ReplaceAll(bk,"\\\\","\\");h.AppendChild(new D.Node.ptr("","","","",401,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bk),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);$s=162;case 162:return;case 80:bm=e.isCaret(c);$s=163;case 163:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;bn=bl[0];bo=bl[1];if(bn){$s=164;continue;}$s=165;continue;case 164:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=166;case 166:return;case 165:if(bo){$s=167;continue;}$s=168;continue;case 167:$s=169;case 169:return;case 168:bp=e.removeTempMark(ab);$s=170;case 170:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}ab=bp;bq=C.ReplaceAll(ab,"backslash","");br=C.TrimSpace(bq);$s=171;case 171:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bq=br;d.Context.Tip.AppendChild(h);if(""===bq){$s=172;continue;}$s=173;continue;case 172:h.Type=16;bs=J.DomText(c);$s=174;case 174:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(bs)));$s=175;case 175:return;case 173:e.setDOMAttrValue(c,"data-type",ab);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=177;case 177:return;case 81:$s=28;continue;case 18:bu=e.isCaret(c);$s=178;case 178:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;bv=bt[0];bw=bt[1];if(bv){$s=179;continue;}$s=180;continue;case 179:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=181;case 181:return;case 180:if(bw){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(e.ParseOptions.TextMark){$s=185;continue;}$s=186;continue;case 185:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=187;case 187:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=188;case 188:return;case 186:h.Type=490;h.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 19:by=e.isCaret(c);$s=189;case 189:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(bz){$s=190;continue;}$s=191;continue;case 190:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=192;case 192:return;case 191:if(ca){$s=193;continue;}$s=194;continue;case 193:$s=195;case 195:return;case 194:if(e.ParseOptions.TextMark){$s=196;continue;}$s=197;continue;case 196:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=198;case 198:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=199;case 199:return;case 197:h.Type=485;h.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 20:cc=e.isCaret(c);$s=200;case 200:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(cd){$s=201;continue;}$s=202;continue;case 201:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=203;case 203:return;case 202:if(ce){$s=204;continue;}$s=205;continue;case 204:$s=206;case 206:return;case 205:if(e.ParseOptions.TextMark){$s=207;continue;}$s=208;continue;case 207:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=209;case 209:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=210;case 210:return;case 208:h.Type=520;h.AppendChild(new D.Node.ptr("","","","",521,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 21:cg=e.isCaret(c);$s=211;case 211:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;ch=cf[0];ci=cf[1];if(ch){$s=212;continue;}$s=213;continue;case 212:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=214;case 214:return;case 213:if(ci){$s=215;continue;}$s=216;continue;case 215:$s=217;case 217:return;case 216:if(e.ParseOptions.TextMark){$s=218;continue;}$s=219;continue;case 218:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=220;case 220:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=221;case 221:return;case 219:h.Type=515;h.AppendChild(new D.Node.ptr("","","","",516,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 22:if(2===d.Context.Tip.Type){$s=222;continue;}$s=223;continue;case 222:$s=224;case 224:return;case 223:if(!(AE.nil===c.PrevSibling)&&"\n"===c.PrevSibling.Data&&e.parentIs(c,new AT([365829]))){$s=225;continue;}$s=226;continue;case 225:$s=227;case 227:return;case 226:h.Type=525;d.Context.Tip.AppendChild(h);$s=228;case 228:return;case 23:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=229;continue;}$s=230;continue;case 229:$s=231;case 231:return;case 230:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ck=e.isCaret(c);$s=232;case 232:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cj=ck;cl=cj[0];cm=cj[1];if(cl){$s=233;continue;}$s=234;continue;case 233:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=235;case 235:return;case 234:if(cm){$s=236;continue;}$s=237;continue;case 236:$s=238;case 238:return;case 237:if(e.ParseOptions.TextMark){$s=239;continue;}$s=240;continue;case 239:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=241;case 241:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=242;case 242:return;case 240:h.Type=17;cn=J.DomAttrValue(c,"data-marker");if(""===cn){cn="*";}if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=243;continue;}$s=244;continue;case 243:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=245;case 245:return;case 244:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");Q(c,h);e.removeInnerMarker(c,"__");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 24:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=246;continue;}$s=247;continue;case 246:$s=248;case 248:return;case 247:if(!(AF.nil===d.Context.Tip.LastChild)){if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))),(new AD($stringToBytes("\\\\\xE2\x80\xB8"))));}if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));}}if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cp=e.isCaret(c);$s=249;case 249:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}co=cp;cq=co[0];cr=co[1];if(cq){$s=250;continue;}$s=251;continue;case 250:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=252;case 252:return;case 251:if(cr){$s=253;continue;}$s=254;continue;case 253:$s=255;case 255:return;case 254:if(e.ParseOptions.TextMark){$s=256;continue;}$s=257;continue;case 256:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=258;case 258:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=259;case 259:return;case 257:h.Type=22;cs=J.DomAttrValue(c,"data-marker");if(""===cs){cs="**";}if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=260;continue;}$s=261;continue;case 260:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=262;case 262:return;case 261:Q(c,h);e.removeInnerMarker(c,"**");$r=H.SetSpanIAL(h,c);$s=263;case 263:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 25:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=264;continue;}$s=265;continue;case 264:$s=266;case 266:return;case 265:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cu=e.isCaret(c);$s=267;case 267:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}ct=cu;cv=ct[0];cw=ct[1];if(cv){$s=268;continue;}$s=269;continue;case 268:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=270;case 270:return;case 269:if(cw){$s=271;continue;}$s=272;continue;case 271:$s=273;case 273:return;case 272:if(e.ParseOptions.TextMark){$s=274;continue;}$s=275;continue;case 274:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=276;case 276:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=277;case 277:return;case 275:h.Type=101;cx=J.DomAttrValue(c,"data-marker");if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=278;continue;}$s=279;continue;case 278:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=280;case 280:return;case 279:Q(c,h);e.removeInnerMarker(c,"~~");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 26:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=281;continue;}$s=282;continue;case 281:$s=283;case 283:return;case 282:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cz=e.isCaret(c);$s=284;case 284:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(da){$s=285;continue;}$s=286;continue;case 285:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=287;case 287:return;case 286:if(db){$s=288;continue;}$s=289;continue;case 288:$s=290;case 290:return;case 289:if(e.ParseOptions.TextMark){$s=291;continue;}$s=292;continue;case 291:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=293;case 293:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=294;case 294:return;case 292:h.Type=450;dc=J.DomAttrValue(c,"data-marker");if("="===dc){h.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=295;continue;}$s=296;continue;case 295:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===dc){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=297;case 297:return;case 296:Q(c,h);e.removeInnerMarker(c,"==");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 27:if("emoji"===f){$s=298;continue;}$s=299;continue;case 298:dd=J.DomAttrValue(c,"alt");h.Type=200;de=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(dd,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");de.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+dd+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(de);d.Context.Tip.AppendChild(h);$s=300;case 300:return;case 299:case 28:case 10:df=c.FirstChild;case 301:if(!(!(df===AE.nil))){$s=302;continue;}$r=e.genASTContenteditable(df,d);$s=303;case 303:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}df=df.NextSibling;$s=301;continue;case 302:if(e.ParseOptions.TextMark){$s=304;continue;}$s=305;continue;case 304:$s=306;case 306:return;case 305:dg=c.DataAtom;if(dg===(378116)){h.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(40708)){dh=J.DomAttrValue(c,"data-type");if("tag"===dh){h.AppendChild(new D.Node.ptr("","","","",462,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if("a"===dh){h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));di=J.DomAttrValue(c,"data-href");if(!(""===e.RenderOptions.LinkBase)){di=C.ReplaceAll(di,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){di=C.ReplaceAll(di,e.RenderOptions.LinkPrefix,"");}h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(di))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dj=J.DomAttrValue(c,"data-title");if(!(""===dj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dj))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(421123)){h.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(461571)){h.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(2817)){h.AppendChild(new D.Node.ptr("","","","",522,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(47363)){h.AppendChild(new D.Node.ptr("","","","",517,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dg===(28162))||(dg===(1537))){dk=J.DomAttrValue(c,"data-marker");if(""===dk){dk="*";}if("_"===dk){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(449798))||(dg===(257))){dl=J.DomAttrValue(c,"data-marker");if(""===dl){dl="**";}if("__"===dl){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(283139))||(dg===(9473))||(dg===(53766))){dm=J.DomAttrValue(c,"data-marker");if("~"===dm){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(46596)){dn=J.DomAttrValue(c,"data-marker");if("="===dn){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTContenteditable,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTContenteditable=function(c,d){return this.$val.genASTContenteditable(c,d);};R.ptr.prototype.setBlockIAL=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;d.SetIALAttr("id",d.ID);g=J.DomAttrValue(c,"refcount");if(!(""===g)){d.SetIALAttr("refcount",g);e=$appendSlice(e,(new AD($stringToBytes(" refcount=\""+g+"\""))));}h=J.DomAttrValue(c,"bookmark");if(!(""===h)){h=F.UnescapeHTMLStr(h);d.SetIALAttr("bookmark",h);e=$appendSlice(e,(new AD($stringToBytes(" bookmark=\""+h+"\""))));}i=J.DomAttrValue(c,"style");if(!(""===i)){$s=1;continue;}$s=2;continue;case 1:i=F.UnescapeHTMLStr(i);j=H.StyleValue(i);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;d.SetIALAttr("style",i);e=$appendSlice(e,(new AD($stringToBytes(" style=\""+i+"\""))));case 2:k=J.DomAttrValue(c,"name");if(!(""===k)){k=F.UnescapeHTMLStr(k);d.SetIALAttr("name",k);e=$appendSlice(e,(new AD($stringToBytes(" name=\""+k+"\""))));}l=J.DomAttrValue(c,"memo");if(!(""===l)){l=F.UnescapeHTMLStr(l);d.SetIALAttr("memo",l);e=$appendSlice(e,(new AD($stringToBytes(" memo=\""+l+"\""))));}m=J.DomAttrValue(c,"alias");if(!(""===m)){m=F.UnescapeHTMLStr(m);d.SetIALAttr("alias",m);e=$appendSlice(e,(new AD($stringToBytes(" alias=\""+m+"\""))));}n=J.DomAttrValue(c,"fold");if(!(""===n)){d.SetIALAttr("fold",n);e=$appendSlice(e,(new AD($stringToBytes(" fold=\""+n+"\""))));}o=J.DomAttrValue(c,"heading-fold");if(!(""===o)){d.SetIALAttr("heading-fold",o);e=$appendSlice(e,(new AD($stringToBytes(" heading-fold=\""+o+"\""))));}p=J.DomAttrValue(c,"parent-fold");if(!(""===p)){d.SetIALAttr("parent-fold",p);e=$appendSlice(e,(new AD($stringToBytes(" parent-fold=\""+p+"\""))));}q=J.DomAttrValue(c,"updated");if(!(""===q)){d.SetIALAttr("updated",q);e=$appendSlice(e,(new AD($stringToBytes(" updated=\""+q+"\""))));}r=J.DomAttrValue(c,"linewrap");if(!(""===r)){d.SetIALAttr("linewrap",r);e=$appendSlice(e,(new AD($stringToBytes(" linewrap=\""+r+"\""))));}s=J.DomAttrValue(c,"ligatures");if(!(""===s)){d.SetIALAttr("ligatures",s);e=$appendSlice(e,(new AD($stringToBytes(" ligatures=\""+s+"\""))));}t=J.DomAttrValue(c,"linenumber");if(!(""===t)){d.SetIALAttr("linenumber",t);e=$appendSlice(e,(new AD($stringToBytes(" linenumber=\""+t+"\""))));}u=J.DomAttrValue(c,"breadcrumb");if(!(""===u)){d.SetIALAttr("breadcrumb",u);e=$appendSlice(e,(new AD($stringToBytes(" breadcrumb=\""+u+"\""))));}v=J.DomAttrValue(c,"data-export-md");if(!(""===v)){v=F.UnescapeHTMLStr(v);d.SetIALAttr("data-export-md",v);e=$appendSlice(e,(new AD($stringToBytes(" data-export-md=\""+v+"\""))));}w=J.DomAttrValue(c,"data-export-html");if(!(""===w)){w=F.UnescapeHTMLStr(w);d.SetIALAttr("data-export-html",w);e=$appendSlice(e,(new AD($stringToBytes(" data-export-html=\""+w+"\""))));}x=J.DomCustomAttrs(c);if(!(false===x)){y=x;z=0;aa=y?y.keys():undefined;ab=y?y.size:0;while(true){if(!(z=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=1;continue;case 2:d.HTML2MdRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2HTMLRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d=d;$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,c,d,e,f,g,$s};return $f;};$pkg.New=S;R.ptr.prototype.Markdown=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;g=H.Parse(c,d,f.ParseOptions);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewHtmlRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f.Md2HTMLRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));f=J.BytesToStr(H.EmojiSitePlaceholder);g=d.ParseOptions.AliasEmoji;h=0;i=g?g.keys():undefined;j=g?g.size:0;while(true){if(!(h=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]),$String),(($assertType((1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]),$Float64)>>0))];};})(j,k)});t++;$s=3;continue;case 4:g++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SetJSRenderers,$c:true,$r,aa,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.SetJSRenderers=function(c){return this.$val.SetJSRenderers(c);};R.ptr.prototype.HTML2Markdown=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=$ifaceNil;f=this;g=f.HTML2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=AD.nil;j=I.NewFormatRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=f.HTML2MdRendererFuncs;m=0;n=l?l.keys():undefined;o=l?l.size:0;while(true){if(!(mL.TrimWhitespace(i.Tokens).$length){$s=60;continue;}$s=61;continue;case 60:$s=62;case 62:return;case 61:if(!(AE.nil===c.Parent)&&(40708===c.Parent.DataAtom)&&(!(""===J.DomAttrValue(c.Parent,"class")))){m=d.Context.Tip.LastChild;if(AF.nil===m||((16===m.Type)&&!A.HasSuffix(m.Tokens,(new AD($stringToBytes("**")))))){i.Tokens=(new AD($stringToBytes("**"+J.BytesToStr(i.Tokens)+"**")));}}d.Context.Tip.AppendChild(i);$s=53;continue;case 21:if(e.parentIs(c,new AT([365829]))||(33===d.Context.Tip.Type)){$s=19;continue;}if(92931===c.DataAtom){$s=63;continue;}$s=64;continue;case 63:n=J.DomAttrValue(c,"class");o="";if(C.Contains(n,"-source-")){o=$substring(n,(C.LastIndex(n,"-source-")+8>>0));}else if(C.Contains(n,"-text-html-basic")){o="html";}if(!(""===o)){$s=65;continue;}$s=66;continue;case 65:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));p=new A.Buffer.ptr(AD.nil,0,0);i.LastChild.CodeBlockInfo=(new AD($stringToBytes(o)));q=J.DomText(c);$s=67;case 67:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=p.WriteString(q);$s=68;case 68:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,p.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(s);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);$s=69;case 69:return;case 66:case 64:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 22:if(33===d.Context.Tip.Type){$s=19;continue;}i.Type=2;i.HeadingLevel=((((t=i.Tokens,(1>=t.$length?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+1]))-48<<24>>>24)>>0));i.AppendChild(new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(C.Repeat("#",i.HeadingLevel)),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 23:i.Type=4;d.Context.Tip.AppendChild(i);$s=53;continue;case 24:i.Type=5;i.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(">"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 25:i.Type=7;i.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){i.ListData.Typ=1;}i.ListData.Tight=true;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 26:i.Type=8;u=J.DomAttrValue(c,"data-marker");v=0;if(""===u){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){w=J.DomAttrValue(c.Parent,"start");if(""===w){u="1.";}else{u=w+".";}}else{u="*";v=u.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)&&!("1."===u)&&(79618===c.Parent.DataAtom)&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){u="1.";}}i.ListData=new D.ListData.ptr(0,false,v,0,0,0,0,false,(new AD($stringToBytes(u))),0);d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 27:x=c.FirstChild;if(!(AE.nil===x)){$s=70;continue;}$s=71;continue;case 70:if((1===x.Type)||(40708===x.DataAtom)||(378116===x.DataAtom)||(354311===x.DataAtom)||(290819===x.DataAtom)){$s=72;continue;}$s=73;continue;case 72:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if((378116===x.DataAtom)||(40708===x.DataAtom)){y=J.DomAttrValue(x,"class");if(!C.Contains(y,"language-")){y=J.DomAttrValue(c,"class");}if(C.Contains(y,"language-")){z=$substring(y,(C.Index(y,"language-")+9>>0));z=(aa=C.Split(z," "),(0>=aa.$length?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+0]));i.LastChild.CodeBlockInfo=(new AD($stringToBytes(z)));}}if(378116===x.DataAtom){if(!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){ab=x.NextSibling;while(true){if(!(!(AE.nil===ab))){break;}ab.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ab=ab.NextSibling;}}if(!(AE.nil===x.FirstChild)&&(79618===x.FirstChild.DataAtom)){ac=x.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ac))){break;}if(!(ac===x.FirstChild.FirstChild)){ac.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));}ac=ac.NextSibling;}}if(!(AE.nil===c.LastChild)&&(42754===c.LastChild.DataAtom)){c.LastChild.Unlink();}}if((290819===x.DataAtom)&&!(AE.nil===x.FirstChild)){ad=x.FirstChild.NextSibling;while(true){if(!(!(AE.nil===ad))){break;}ad.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ad=ad.NextSibling;}}ae=new A.Buffer.ptr(AD.nil,0,0);af=J.DomText(c);$s=75;case 75:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=ae.WriteString(af);$s=76;case 76:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;ah=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ae.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(ah);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(d.Context.Tip.ParentIs(106,BB.nil)){ai=A.Split(ah.Tokens,(new AD($stringToBytes("\n"))));aj=ai;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);if(0>0)){if(d.Context.ParseOption.ProtyleWYSIWYG){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}}ak++;}}else{d.Context.Tip.AppendChild(i);}$s=74;continue;case 73:i.Type=9;ao=J.DomHTML(c);$s=77;case 77:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}i.Tokens=ao;d.Context.Tip.AppendChild(i);case 74:case 71:$s=78;case 78:return;case 28:ap=J.DomText(c);$s=79;case 79:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=C.TrimSpace(aq);$s=82;case 82:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(""===ar){$s=80;continue;}$s=81;continue;case 80:$s=19;continue;case 81:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=17;as="*";i.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(as),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 29:at=J.DomText(c);$s=83;case 83:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=C.TrimSpace(au);$s=86;case 86:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(""===av){$s=84;continue;}$s=85;continue;case 84:$s=19;continue;case 85:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=22;aw="**";i.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 30:if(AE.nil===c.FirstChild){$s=87;continue;}$s=88;continue;case 87:$s=89;case 89:return;case 88:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ax=J.DomHTML(c);$s=90;case 90:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;if(A.Contains(ay,(new AD($stringToBytes(">"))))){ay=$subslice(ay,(A.Index(ay,(new AD($stringToBytes(">"))))+1>>0));}ay=A.TrimSuffix(ay,(new AD($stringToBytes("
    "))));az=F.UnescapeString(($bytesToString(ay)));ay=(new AD($stringToBytes(az)));ba=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.Type=27;i.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(ba);i.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=91;case 91:return;case 31:if(33===d.Context.Tip.Type){$s=19;continue;}if(d.Context.ParseOption.ProtyleWYSIWYG&&e.parentIs(c,new AT([365829]))){i.Type=525;}else{i.Type=31;i.Tokens=J.StrToBytes("\n");}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 32:i.Type=33;bb=J.DomText(c);$s=92;case 92:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;if(""===bc&&!(AE.nil===c.Parent)&&((89090===c.Parent.DataAtom)||(187906===c.Parent.DataAtom)||(199938===c.Parent.DataAtom)||(214274===c.Parent.DataAtom)||(216834===c.Parent.DataAtom)||(412930===c.Parent.DataAtom))){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(""===bc&&AE.nil===c.FirstChild){$s=96;continue;}$s=97;continue;case 96:$s=98;case 98:return;case 97:i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 33:bd=J.DomAttrValue(c,"class");be=J.DomAttrValue(c,"alt");if("emoji"===bd){$s=99;continue;}$s=100;continue;case 99:i.Type=200;bf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(be,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");bf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(":"+be+":"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(bf);$s=101;continue;case 100:i.Type=34;i.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===be)){i.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"src");if(C.HasPrefix(bg,"data:image")){bh=J.DomAttrValue(c,"data-src");if(!(""===bh)){bg=bh;}}if(""===bg){$s=102;continue;}$s=103;continue;case 102:bi=J.DomAttrValue(c,"srcset");if(!(""===bi)){$s=104;continue;}$s=105;continue;case 104:if(C.Contains(bi,",")){$s=106;continue;}$s=107;continue;case 106:bg=(bj=C.Split(bi,","),bk=C.Split(bi,",").$length-1>>0,((bk<0||bk>=bj.$length)?($throwRuntimeError("index out of range"),undefined):bj.$array[bj.$offset+bk]));bl=C.TrimSpace(bg);$s=109;case 109:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bg=bl;if(C.Contains(bg," ")){$s=110;continue;}$s=111;continue;case 110:bn=C.TrimSpace((bm=C.Split(bg," "),(0>=bm.$length?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+0])));$s=112;case 112:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bg=bn;case 111:$s=108;continue;case 107:bo=C.TrimSpace(bg);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bg=bo;if(C.Contains(bg," ")){$s=114;continue;}$s=115;continue;case 114:bq=C.TrimSpace((bp=C.Split(bi," "),(0>=bp.$length?($throwRuntimeError("index out of range"),undefined):bp.$array[bp.$offset+0])));$s=116;case 116:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bg=bq;case 115:case 108:case 105:case 103:i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));br=J.DomAttrValue(c,"title");if(!(""===br)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(br))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 101:if(0===d.Context.Tip.Type){bs=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bs);d.Context.Tip=bs;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 34:i.Type=100;i.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(i);if(!(AF.nil===i.Parent.Parent)){if(AL.nil===i.Parent.Parent.ListData){i.Parent.Parent.ListData=new D.ListData.ptr(3,false,0,0,0,0,0,false,AD.nil,0);}else{i.Parent.Parent.ListData.Typ=3;}}$s=53;continue;case 35:i.Type=101;bt="~";i.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bt),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 36:i.Type=450;bu="==";i.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bu),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 37:i.Type=485;i.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 38:i.Type=490;i.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 39:i.Type=106;bv=AM.nil;if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild.FirstChild)){bw=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===bw))){break;}bx=J.DomAttrValue(bw,"align");by=bx;if(by===("left")){bv=$append(bv,1);}else if(by===("center")){bv=$append(bv,2);}else if(by===("right")){bv=$append(bv,3);}else{bv=$append(bv,0);}bw=bw.NextSibling;}}i.TableAligns=bv;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 40:if(AE.nil===c.FirstChild){$s=19;continue;}i.Type=107;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 41:$s=53;continue;case 42:if(AE.nil===c.FirstChild){$s=19;continue;}bz=c.Parent.Parent;i.Type=108;if(AF.nil===d.Context.Tip.ChildByType(107)&&AE.nil===J.DomChildByType(bz,208901)){ca=new D.Node.ptr("","","","",107,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(ca);d.Context.Tip=ca;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 43:i.Type=109;cb=J.DomAttrValue(c,"align");cc=0;cd=cb;if(cd===("left")){cc=1;}else if(cd===("center")){cc=2;}else if(cd===("right")){cc=3;}else{cc=0;}i.TableCellAlign=cc;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 44:$s=117;case 117:return;case 45:if(AE.nil===c.FirstChild){$s=118;continue;}$s=119;continue;case 118:$s=120;case 120:return;case 119:$s=53;continue;case 46:i.Type=16;ce=J.DomText(c);$s=121;case 121:if($c){$c=false;ce=ce.$blk();}if(ce&&ce.$blk!==undefined){break s;}i.Tokens=(new AD($stringToBytes(ce)));i.Tokens=A.ReplaceAll(i.Tokens,(new AD($stringToBytes("\n"))),AD.nil);d.Context.Tip.AppendChild(i);$s=122;case 122:return;case 47:i.Type=9;cf=J.DomHTML(c);$s=123;case 123:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}i.Tokens=cf;i.Tokens=(cg=A.SplitAfter(i.Tokens,(new AD($stringToBytes("")))),(0>=cg.$length?($throwRuntimeError("index out of range"),undefined):cg.$array[cg.$offset+0]));d.Context.Tip.AppendChild(i);$s=53;continue;case 48:$s=124;case 124:return;case 49:i.Type=9;ch=J.DomHTML(c);$s=125;case 125:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}i.Tokens=ch;d.Context.Tip.AppendChild(i);$s=126;case 126:return;case 50:$s=127;case 127:return;case 51:i.Type=1;i.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomText(c);$s=128;case 128:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}cj=J.StrToBytes(ci);$s=129;case 129:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}$r=i.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cj,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=130;case 130:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip.AppendChild(i);$s=131;case 131:return;case 52:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);case 53:case 19:ck=c.FirstChild;case 132:if(!(!(ck===AE.nil))){$s=133;continue;}$r=e.genASTByDOM(ck,d);$s=134;case 134:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ck=ck.NextSibling;$s=132;continue;case 133:cl=c.DataAtom;if((cl===(28162))||(cl===(1537))){$s=136;continue;}if((cl===(449798))||(cl===(257))){$s=137;continue;}if(cl===(1)){$s=138;continue;}if((cl===(283139))||(cl===(9473))||(cl===(53766))){$s=139;continue;}if(cl===(46596)){$s=140;continue;}if(cl===(461571)){$s=141;continue;}if(cl===(421123)){$s=142;continue;}if(cl===(29191)){$s=143;continue;}$s=144;continue;case 136:cm="*";i.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cm),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 137:cn="**";i.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cn),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=146;case 146:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 138:i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(J.DomAttrValue(c,"href")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));co=J.DomAttrValue(c,"title");if(!(""===co)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(co),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=144;continue;case 139:cp="~";i.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cp),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=147;case 147:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 140:cq="==";i.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cq),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=148;case 148:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 141:i.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=149;case 149:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 142:i.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=150;case 150:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 143:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 144:case 135:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByDOM=function(c,d){return this.$val.genASTByDOM(c,d);};AA=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!(AE.nil===c.NextSibling)){$s=1;continue;}$s=2;continue;case 1:f=J.DomText(c.NextSibling);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!(""===g)){$s=4;continue;}$s=5;continue;case 4:h=(new BC($stringToRunes(g)));if(!P.IsSpace((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){$s=6;continue;}$s=7;continue;case 6:if(P.IsPunct((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))||P.IsSymbol((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){d.Context.Tip.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=-1;return;}i=J.DomText(c);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(""===j)){$s=9;continue;}$s=10;continue;case 9:h=(new BC($stringToRunes(j)));l=(k=h.$length-1>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]));if(P.IsPunct(l)||P.IsSymbol(l)){m=d.Context.Tip.ChildByType(16);if(!(AF.nil===m)){m.Tokens=$appendSlice((new AD($stringToBytes("\xE2\x80\x8B"))),m.Tokens);m.Tokens=$appendSlice(m.Tokens,(new AD($stringToBytes("\xE2\x80\x8B"))));}$s=-1;return;}n=e.prefixSpaces(j);if(!(""===n)){o=d.Context.Tip.Previous;if(!(AF.nil===o)){if(16===o.Type){o.Tokens=$appendSlice(o.Tokens,J.StrToBytes(n));}else{o.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}p=d.Context.Tip.ChildByType(16);p.Tokens=A.TrimLeft(p.Tokens," \xC5\xA0");}n=e.suffixSpaces(j);if(!(""===n)){$s=11;continue;}$s=12;continue;case 11:q=d.Context.Tip.ChildrenByType(16);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(0>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));t.Tokens=A.TrimRight(t.Tokens," \xC5\xA0");if(1>t.Tokens.$length){t.Unlink();}}if(!(AE.nil===c.NextSibling)){if(1===c.NextSibling.Type){c.NextSibling.Data=n+c.NextSibling.Data;}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 12:case 10:case 7:case 5:case 2:$s=-1;return;}return;}var $f={$blk:AA,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};AV.methods=[{prop:"Md2HTML",name:"Md2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorDOM",name:"SpinVditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorDOM",name:"HTML2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2HTML",name:"VditorDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorDOM",name:"Md2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2Md",name:"VditorDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderEChartsJSON",name:"RenderEChartsJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderKityMinderJSON",name:"RenderKityMinderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2Md",name:"HTML2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorDOM2Md",name:"vditorDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"parseHTML",name:"parseHTML",pkg:"github.com/88250/lute",typ:$funcType([$String],[AE],false)},{prop:"adjustVditorDOM",name:"adjustVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListList",name:"adjustVditorDOMListList",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeHighlightJSSpans",name:"removeHighlightJSSpans",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"hljsSpans",name:"hljsSpans",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"removeEmptyNodes",name:"removeEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"searchEmptyNodes",name:"searchEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"mergeVditorDOMList0",name:"mergeVditorDOMList0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListTight0",name:"adjustVditorDOMListTight0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListItemInP",name:"adjustVditorDOMListItemInP",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"forwardNextBlock",name:"forwardNextBlock",pkg:"github.com/88250/lute",typ:$funcType([AE],[AP,AE],false)},{prop:"listItemEnter",name:"listItemEnter",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isTightList",name:"isTightList",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"genASTByVditorDOM",name:"genASTByVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"hasAttr",name:"hasAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[$Bool],false)},{prop:"domChild",name:"domChild",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"domChild0",name:"domChild0",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"setDOMAttrValue",name:"setDOMAttrValue",pkg:"github.com/88250/lute",typ:$funcType([AE,$String,$String],[],false)},{prop:"removeDOMAttr",name:"removeDOMAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"domCode",name:"domCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"domCode0",name:"domCode0",pkg:"github.com/88250/lute",typ:$funcType([AE,AY],[],false)},{prop:"parentIs",name:"parentIs",pkg:"github.com/88250/lute",typ:$funcType([AE,AT],[$Bool],true)},{prop:"getParent",name:"getParent",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"isCaret",name:"isCaret",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool,$Bool],false)},{prop:"isEmptyText",name:"isEmptyText",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"startsWithNewline",name:"startsWithNewline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isInline",name:"isInline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"prefixSpaces",name:"prefixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"suffixSpaces",name:"suffixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorSVDOM",name:"SpinVditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorSVDOM",name:"HTML2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorSVDOM",name:"Md2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorIRDOM",name:"SpinVditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorIRDOM",name:"HTML2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2HTML",name:"VditorIRDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorIRDOM",name:"Md2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2Md",name:"VditorIRDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorIRDOM2Md",name:"vditorIRDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByVditorIRDOM",name:"genASTByVditorIRDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"SpinBlockDOM",name:"SpinBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2BlockDOM",name:"HTML2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2HTML",name:"BlockDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2InlineBlockDOM",name:"BlockDOM2InlineBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2BlockDOM",name:"Md2BlockDOM",pkg:"",typ:$funcType([$String,$Bool],[$String],false)},{prop:"Md2BlockDOMTree",name:"Md2BlockDOMTree",pkg:"",typ:$funcType([$String,$Bool],[$String,AB],false)},{prop:"InlineMd2BlockDOM",name:"InlineMd2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Md",name:"BlockDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2StdMd",name:"BlockDOM2StdMd",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Text",name:"BlockDOM2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2TextLen",name:"BlockDOM2TextLen",pkg:"",typ:$funcType([$String],[$Int],false)},{prop:"BlockDOM2Content",name:"BlockDOM2Content",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2EscapeMarkerContent",name:"BlockDOM2EscapeMarkerContent",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Tree2BlockDOM",name:"Tree2BlockDOM",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"RenderNodeBlockDOM",name:"RenderNodeBlockDOM",pkg:"",typ:$funcType([AF],[$String],false)},{prop:"BlockDOM2Tree",name:"BlockDOM2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"MergeSameTextMark",name:"MergeSameTextMark",pkg:"",typ:$funcType([AF],[],false)},{prop:"MergeSameSpan",name:"MergeSameSpan",pkg:"",typ:$funcType([AF],[],false)},{prop:"CancelSuperBlock",name:"CancelSuperBlock",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelList",name:"CancelList",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelBlockquote",name:"CancelBlockquote",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Ps",name:"Blocks2Ps",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Hs",name:"Blocks2Hs",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"OL2TL",name:"OL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2TL",name:"UL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2OL",name:"TL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2UL",name:"TL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"OL2UL",name:"OL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2OL",name:"UL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"blockDOM2Md",name:"blockDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByBlockDOM",name:"genASTByBlockDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"genASTContenteditable",name:"genASTContenteditable",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"setBlockIAL",name:"setBlockIAL",pkg:"github.com/88250/lute",typ:$funcType([AE,AF],[AD],false)},{prop:"removeInnerMarker",name:"removeInnerMarker",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeInnerMarker0",name:"removeInnerMarker0",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeTempMark",name:"removeTempMark",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"Markdown",name:"Markdown",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"MarkdownStr",name:"MarkdownStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"FormatStr",name:"FormatStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"TextBundle",name:"TextBundle",pkg:"",typ:$funcType([$String,AD,AJ],[AD,AJ],false)},{prop:"TextBundleStr",name:"TextBundleStr",pkg:"",typ:$funcType([$String,$String,AJ],[$String,AJ],false)},{prop:"HTML2Text",name:"HTML2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderJSON",name:"RenderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"IsValidLinkDest",name:"IsValidLinkDest",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"GetEmojis",name:"GetEmojis",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutEmojis",name:"PutEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"RemoveEmoji",name:"RemoveEmoji",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetTerms",name:"GetTerms",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutTerms",name:"PutTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"ProtylePreview",name:"ProtylePreview",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"Tree2HTML",name:"Tree2HTML",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"SetGFMTable",name:"SetGFMTable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItem",name:"SetGFMTaskListItem",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItemClass",name:"SetGFMTaskListItemClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetGFMStrikethrough",name:"SetGFMStrikethrough",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMAutoLink",name:"SetGFMAutoLink",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSoftBreak2HardBreak",name:"SetSoftBreak2HardBreak",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlight",name:"SetCodeSyntaxHighlight",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightDetectLang",name:"SetCodeSyntaxHighlightDetectLang",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightInlineStyle",name:"SetCodeSyntaxHighlightInlineStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightLineNum",name:"SetCodeSyntaxHighlightLineNum",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightStyleName",name:"SetCodeSyntaxHighlightStyleName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetFootnotes",name:"SetFootnotes",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetToC",name:"SetToC",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHeadingID",name:"SetHeadingID",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetAutoSpace",name:"SetAutoSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFixTermTypo",name:"SetFixTermTypo",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmoji",name:"SetEmoji",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmojis",name:"SetEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetEmojiSite",name:"SetEmojiSite",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetHeadingAnchor",name:"SetHeadingAnchor",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTerms",name:"SetTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetVditorWYSIWYG",name:"SetVditorWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleWYSIWYG",name:"SetProtyleWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorIR",name:"SetVditorIR",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorSV",name:"SetVditorSV",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMathAllowDigitAfterOpenMarker",name:"SetInlineMathAllowDigitAfterOpenMarker",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkPrefix",name:"SetLinkPrefix",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLinkBase",name:"SetLinkBase",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetLinkBase",name:"GetLinkBase",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetVditorCodeBlockPreview",name:"SetVditorCodeBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorMathBlockPreview",name:"SetVditorMathBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorHTMLBlockPreview",name:"SetVditorHTMLBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetRenderListStyle",name:"SetRenderListStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSanitize",name:"SetSanitize",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImageLazyLoading",name:"SetImageLazyLoading",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetChineseParagraphBeginningSpace",name:"SetChineseParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetYamlFrontMatter",name:"SetYamlFrontMatter",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSetext",name:"SetSetext",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetBlockRef",name:"SetBlockRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFileAnnotationRef",name:"SetFileAnnotationRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetMark",name:"SetMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIAL",name:"SetKramdownIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownBlockIAL",name:"SetKramdownBlockIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownSpanIAL",name:"SetKramdownSpanIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIALIDRenderName",name:"SetKramdownIALIDRenderName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTag",name:"SetTag",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImgPathAllowSpace",name:"SetImgPathAllowSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSuperBlock",name:"SetSuperBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSup",name:"SetSup",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSub",name:"SetSub",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGitConflict",name:"SetGitConflict",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkRef",name:"SetLinkRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetIndentCodeBlock",name:"SetIndentCodeBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetDataImage",name:"SetDataImage",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTextMark",name:"SetTextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpin",name:"SetSpin",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHTMLTag2TextMark",name:"SetHTMLTag2TextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetParagraphBeginningSpace",name:"SetParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleMarkNetImg",name:"SetProtyleMarkNetImg",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpellcheck",name:"SetSpellcheck",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetJSRenderers",name:"SetJSRenderers",pkg:"",typ:$funcType([BG],[],false)},{prop:"HTML2Markdown",name:"HTML2Markdown",pkg:"",typ:$funcType([$String],[$String,$error],false)},{prop:"HTML2Tree",name:"HTML2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"genASTByDOM",name:"genASTByDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)}];R.init("",[{prop:"ParseOptions",name:"ParseOptions",embedded:false,exported:true,typ:AO,tag:""},{prop:"RenderOptions",name:"RenderOptions",embedded:false,exported:true,typ:AC,tag:""},{prop:"HTML2MdRendererFuncs",name:"HTML2MdRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorDOMRendererFuncs",name:"HTML2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorIRDOMRendererFuncs",name:"HTML2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2BlockDOMRendererFuncs",name:"HTML2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorSVDOMRendererFuncs",name:"HTML2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2HTMLRendererFuncs",name:"Md2HTMLRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorDOMRendererFuncs",name:"Md2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorIRDOMRendererFuncs",name:"Md2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2BlockDOMRendererFuncs",name:"Md2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorSVDOMRendererFuncs",name:"Md2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""}]);Z.init([AV],[],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=I.NewFormatRenderer(AB.nil,AC.nil);$s=17;case 17:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}T=a;b=I.NewProtyleExportMdRenderer(AB.nil,AC.nil);$s=18;case 18:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}W=b;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); +$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,B,C,N,P,R,Z,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AY,BA,BB,BC,BD,BE,BF,BG,BH,T,W,a,b,Q,S,AA;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];P=$packages["unicode"];R=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AO.nil;this.RenderOptions=AC.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});Z=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(H.Tree);AC=$ptrType(I.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(H.Context);AH=$ptrType(L.Lexer);AI=$ptrType(H.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(H.Options);AP=$sliceType(AE);AQ=$ptrType(AP);AR=$ptrType(F.Attribute);AS=$sliceType(AR);AT=$sliceType(G.Atom);AU=$sliceType($emptyInterface);AV=$ptrType(R);AW=$sliceType(Z);AY=$ptrType(A.Buffer);BA=$mapType($String,$emptyInterface);BB=$sliceType(D.NodeType);BC=$sliceType($Int32);BD=$mapType($String,$String);BE=$ptrType(O.Object);BF=$mapType($String,BE);BG=$mapType($String,BF);BH=$mapType(D.NodeType,I.ExtRendererFunc);R.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};R.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};R.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorDOM=function(c){return this.$val.SpinVditorDOM(c);};R.ptr.prototype.HTML2VditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorDOM2Md=function(c){return this.$val.vditorDOM2Md(c);};R.ptr.prototype.parseHTML=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=C.NewReader(c);g=F.Parse(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=-1;return AE.nil;}if(!("html"===h.FirstChild.Data)){$s=-1;return h;}$s=-1;return h.FirstChild.LastChild;}return;}var $f={$blk:R.ptr.prototype.parseHTML,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.parseHTML=function(c){return this.$val.parseHTML(c);};R.ptr.prototype.adjustVditorDOM=function(c){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.removeEmptyNodes(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.removeHighlightJSSpans(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}d.mergeVditorDOMList0(e);e=e.NextSibling;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}g=c.FirstChild;while(true){if(!(!(AE.nil===g))){break;}d.adjustVditorDOMListList(g);g=g.NextSibling;}h=c.FirstChild;case 3:if(!(!(AE.nil===h))){$s=4;continue;}$r=d.adjustVditorDOMListItemInP(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=3;continue;case 4:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.adjustVditorDOM=function(c){return this.$val.adjustVditorDOM(c);};R.ptr.prototype.adjustVditorDOMListList=function(c){var c,d,e,f,g,h,i;d=this;if(!((42754===c.DataAtom))&&!((79618===c.DataAtom))&&!((45570===c.DataAtom))){return;}if(45570===c.DataAtom){if(!(AE.nil===c.FirstChild)&&(514===c.FirstChild.DataAtom)){c.FirstChild.DataAtom=0;c.FirstChild.Data="\xE2\x80\x8B";e=c.NextSibling;if(!(AE.nil===c.NextSibling)&&(45570===c.NextSibling.DataAtom)){f=e.FirstChild;if(!(AE.nil===f)&&"\xE2\x80\xB8\xE2\x80\x8B"===f.Data){f.Data="\xE2\x80\xB8\n";}}}}else{if(!(AE.nil===c.Parent)&&((42754===c.Parent.DataAtom)||(79618===c.Parent.DataAtom))){g=c.PrevSibling;if(!(AE.nil===g)){c.Unlink();g.AppendChild(c);}}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}i=h.NextSibling;d.adjustVditorDOMListList(h);h=i;}};R.prototype.adjustVditorDOMListList=function(c){return this.$val.adjustVditorDOMListList(c);};R.ptr.prototype.removeHighlightJSSpans=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.hljsSpans(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeHighlightJSSpans,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeHighlightJSSpans=function(c){return this.$val.removeHighlightJSSpans(c);};R.ptr.prototype.hljsSpans=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;if((40708===c.DataAtom)&&C.HasPrefix(J.DomAttrValue(c,"class"),"hljs-")){$s=1;continue;}$s=2;continue;case 1:d.$set($append(d.$get(),c));f=J.DomText(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,g,"",AS.nil));case 2:h=c.FirstChild;case 4:if(!(!(h===AE.nil))){$s=5;continue;}$r=e.hljsSpans(h,d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.hljsSpans,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.hljsSpans=function(c,d){return this.$val.hljsSpans(c,d);};R.ptr.prototype.removeEmptyNodes=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.searchEmptyNodes(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeEmptyNodes=function(c){return this.$val.removeEmptyNodes(c);};R.ptr.prototype.searchEmptyNodes=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=c.DataAtom;if(f===(0)){$s=2;continue;}if(f===(40708)){$s=3;continue;}if((f===(449798))||(f===(257))||(f===(28162))||(f===(1537))||(f===(283139))||(f===(9473))||(f===(53766))||(f===(46596))){$s=4;continue;}if("katex"===J.DomAttrValue(c,"class")){$s=5;continue;}$s=6;continue;case 2:if(e.isInline(c.PrevSibling)||e.isInline(c.NextSibling)||e.isInline(c.Parent)){$s=1;continue;}if(1===c.Type){g=C.TrimLeft(c.Data," ");g=C.TrimRight(g," ");while(true){if(!(C.Contains(g,"\n\n"))){break;}g=C.ReplaceAll(g,"\n\n","");}if(""===g){d.$set($append(d.$get(),c));$s=-1;return;}}h=c.Parent;if(!(AE.nil===h)&&((79618===h.DataAtom)||(42754===h.DataAtom)||(45570===h.DataAtom))){$s=7;continue;}$s=8;continue;case 7:if(AE.nil===c.NextSibling||((1===c.NextSibling.Type)||(42754===c.NextSibling.DataAtom))){i=true;$s=11;continue s;}j=C.TrimSpace(c.Data);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(i){$s=9;continue;}$s=10;continue;case 9:c.Data=C.TrimRight(c.Data,"\n\t ");case 10:case 8:if(!(AE.nil===h)&&((365829===h.DataAtom)||(208901===h.DataAtom)||(9989===h.DataAtom)||(52226===h.DataAtom))){$s=13;continue;}$s=14;continue;case 13:k=C.TrimSpace(c.Data);$s=15;case 15:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}c.Data=k;case 14:if(""===c.Data){d.$set($append(d.$get(),c));}if(4===c.Type){d.$set($append(d.$get(),c));}$s=6;continue;case 3:l=c.LastChild;if(!(AE.nil===l)&&(514===l.DataAtom)){c.InsertAfter(l);}if(J.IsTempMarkSpan(c)){d.$set($append(d.$get(),c));m=AP.nil;n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}m=$append(m,n);n=n.NextSibling;}o=m;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);c.InsertBefore(q);p++;}$s=-1;return;}$s=6;continue;case 4:if(!(AE.nil===c.FirstChild)){if(514===c.FirstChild.DataAtom){d.$set($append(d.$get(),c.FirstChild));c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.FirstChild.Type){r=c.FirstChild.Data;s=e.prefixSpaces(r);if(!(""===s)){c.FirstChild.Data="\xE2\x80\x8B"+c.FirstChild.Data;}}}if(!(AE.nil===c.LastChild)){if(514===c.LastChild.DataAtom){d.$set($append(d.$get(),c.LastChild));c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.LastChild.Type){t=c.LastChild.Data;u=e.suffixSpaces(t);if(!(""===u)){c.FirstChild.Data=c.FirstChild.Data+"\xE2\x80\x8B";}}}$s=6;continue;case 5:d.$set($append(d.$get(),c));case 6:case 1:v=c.FirstChild;case 16:if(!(!(v===AE.nil))){$s=17;continue;}$r=e.searchEmptyNodes(v,d);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=16;continue;case 17:w=c.DataAtom;if((w===(79618))||(w===(42754))){$s=20;continue;}$s=21;continue;case 20:x=J.DomAttrValue(c,"data-type");if("footnotes-defs-ol"===x){$s=-1;return;}if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!((281349===c.FirstChild.FirstChild.DataAtom))){$s=-1;return;}y=J.DomText(c);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(""===z){d.$set($append(d.$get(),c));}case 21:case 19:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.searchEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.searchEmptyNodes=function(c,d){return this.$val.searchEmptyNodes(c,d);};R.ptr.prototype.mergeVditorDOMList0=function(c){var c,d,e,f,g,h;d=this;e=c.DataAtom;if((e===(42754))||(e===(79618))){if(!(AE.nil===c.NextSibling)&&(c.DataAtom===c.NextSibling.DataAtom)&&(1===c.NextSibling.Attr.$length)){f=c.NextSibling.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=f.NextSibling;f.Unlink();c.AppendChild(f);f=g;}c.NextSibling.Unlink();}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}d.mergeVditorDOMList0(h);h=h.NextSibling;}};R.prototype.mergeVditorDOMList0=function(c){return this.$val.mergeVditorDOMList0(c);};R.ptr.prototype.adjustVditorDOMListTight0=function(c){var c,d,e,f;d=this;e=c.DataAtom;if(e===(42754)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}else if(e===(79618)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}f=c.FirstChild;while(true){if(!(!(f===AE.nil))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}};R.prototype.adjustVditorDOMListTight0=function(c){return this.$val.adjustVditorDOMListTight0(c);};R.ptr.prototype.adjustVditorDOMListItemInP=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c.DataAtom;if(e===(45570)){$s=2;continue;}$s=3;continue;case 2:if(!(AE.nil===c.PrevSibling)&&J.DomAttrValue(c.PrevSibling,"data-node-id")===J.DomAttrValue(c,"data-node-id")){$s=4;continue;}$s=5;continue;case 4:f=c;g=D.NewNodeID();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=d.setDOMAttrValue(f,"data-node-id",h);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(AE.nil===c.PrevSibling)&&!(AE.nil===c.FirstChild)){$s=8;continue;}$s=9;continue;case 8:i=J.DomAttrValue(c.FirstChild,"data-node-id");if(!(""===i)&&!(AE.nil===c.PrevSibling.LastChild)&&J.DomAttrValue(c.PrevSibling.LastChild,"data-node-id")===i){$s=10;continue;}$s=11;continue;case 10:j=c.FirstChild;k=D.NewNodeID();$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=d.setDOMAttrValue(j,"data-node-id",l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:m=c.FirstChild;while(true){if(!(!(AE.nil===m))){break;}if(d.listItemEnter(c)){n=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\xE2\x80\xB8","",AS.nil));n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));c.FirstChild.Unlink();c.FirstChild.Unlink();c.AppendChild(n);m=n;m=m.NextSibling;continue;}if(!((3073===m.DataAtom))&&!((100106===m.DataAtom))&&!((42754===m.DataAtom))&&!((79618===m.DataAtom))&&!((92931===m.DataAtom))){o=d.forwardNextBlock(m);p=o[0];q=o[1];r=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);m.InsertBefore(r);s=p;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);u.Unlink();r.AppendChild(u);t++;}m=q;if(AE.nil===m){break;}}m=m.NextSibling;}case 3:case 1:v=c.FirstChild;case 14:if(!(!(v===AE.nil))){$s=15;continue;}$r=d.adjustVditorDOMListItemInP(v);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=14;continue;case 15:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOMListItemInP,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};R.prototype.adjustVditorDOMListItemInP=function(c){return this.$val.adjustVditorDOMListItemInP(c);};R.ptr.prototype.forwardNextBlock=function(c){var c,d,e,f,g,h;d=AP.nil;e=AE.nil;f=this;g=c;while(true){if(!(!(AE.nil===g))){break;}h=g.DataAtom;if((h===(79618))||(h===(42754))||(h===(92931))||(h===(100106))){return[d,e];}d=$append(d,g);g=g.NextSibling;}return[d,e];};R.prototype.forwardNextBlock=function(c){return this.$val.forwardNextBlock(c);};R.ptr.prototype.listItemEnter=function(c){var c,d;d=this;if(AE.nil===c.FirstChild){return false;}if("\xE2\x80\xB8"===c.FirstChild.Data&&"br"===c.LastChild.Data){return true;}return false;};R.prototype.listItemEnter=function(c){return this.$val.listItemEnter(c);};R.ptr.prototype.isTightList=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=0;g=0;h=0;i=0;j=f;k=g;l=h;m=i;n=e.FirstChild;while(true){if(!(!(AE.nil===n))){break;}o=n.DataAtom;if((o===(42754))||(o===(79618))){j=j+(1)>>0;}else if(o===(92931)){k=k+(1)>>0;}else if(o===(100106)){l=l+(1)>>0;}else if(o===(3073)){m=m+(1)>>0;}n=n.NextSibling;}if(1>0)||1<(m+l>>0)||1<(m+j>>0)){return"false";}e=e.NextSibling;}return"true";};R.prototype.isTightList=function(c){return this.$val.isTightList(c);};R.ptr.prototype.genASTByVditorDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-block"===g){$s=8;continue;}if("toc-block"===g){$s=9;continue;}$s=10;continue;case 6:h=c.FirstChild;case 11:if(!(!(h===AE.nil))){$s=12;continue;}$r=e.genASTByVditorDOM(h,d);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=11;continue;case 12:$s=10;continue;case 7:i=J.DomText(c);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(j))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(k);$s=10;continue;case 8:l=c.FirstChild;if(!((79618===l.DataAtom))){$s=15;continue;}$s=16;continue;case 15:$s=17;case 17:return;case 16:m=l.FirstChild;case 18:if(!(!(AE.nil===m))){$s=19;continue;}if("\n"===m.Data){m=m.NextSibling;$s=18;continue;}n=new A.Buffer.ptr(AD.nil,0,0);o=F.Render(n,m);$s=20;case 20:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if($interfaceIsEqual($ifaceNil,p)){$s=21;continue;}$s=22;continue;case 21:q=e.vditorDOM2Md("
      "+n.String()+"
    ");$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=J.DomAttrValue(m,"data-marker");r=$substring(r,3);t=C.Split(r,"\n");r="";u=t;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if(0=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))-48<<24>>>24)>>0));al=J.DomAttrValue(c,"data-marker");am=J.DomAttrValue(c,"data-id");if(!(""===am)){c.LastChild.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," {"+am+"}","",AS.nil));}ac.HeadingSetext="="===al||"-"===al;if(!ac.HeadingSetext){an=new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");an.Tokens=(new AD($stringToBytes(C.Repeat("#",ac.HeadingLevel))));ac.AppendChild(an);}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 30:ac.Type=4;d.Context.Tip.AppendChild(ac);$s=56;continue;case 31:ao=J.DomText(c);$s=69;case 69:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=C.TrimSpace(ao);$s=70;case 70:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(""===aq||">"===aq||"\xE2\x80\xB8"===aq){$s=71;continue;}$s=72;continue;case 71:$s=73;case 73:return;case 72:ac.Type=5;ac.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(">"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 32:if(AE.nil===c.FirstChild){$s=74;continue;}$s=75;continue;case 74:$s=76;case 76:return;case 75:ac.Type=7;ac.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ac.ListData.Typ=1;}ar=J.DomAttrValue(c,"data-tight");if("true"===ar||""===ar){ac.ListData.Tight=true;}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 33:ac.Type=8;as=J.DomAttrValue(c,"data-marker");at=0;if(""===as){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){au=J.DomAttrValue(c.Parent.FirstChild,"data-marker");av=J.DomAttrValue(c.Parent,"start");if(""===av){as="1";}else{as=av;}if(!(""===au)){as=as+($substring(au,(au.length-1>>0)));}else{as=as+(".");}}else{as=J.DomAttrValue(c.Parent,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===as||"-"===as||"+"===as){as="1.";}if(!("1."===as)&&!("1)"===as)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){as="1.";}if(!("1."===as)&&!("1)"===as)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){as="1.";}}else{if(!("*"===as)&&!("-"===as)&&!("+"===as)){as="*";}at=as.charCodeAt(0);}}else{as=J.DomAttrValue(c,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}ac.ListData=new D.ListData.ptr(0,false,at,0,0,0,0,false,(new AD($stringToBytes(as))),0);if(0===at){aw=B.Atoi(($encodeRune(as.charCodeAt(0))));ac.ListData.Num=aw[0];ac.ListData.Delimiter=as.charCodeAt((as.length-1>>0));}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 34:if(378116===c.FirstChild.DataAtom){ax=J.DomAttrValue(c.Parent,"data-marker");if(""===ax){ax="```";}ay=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){ay=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}az=J.DomAttrValue(c.Parent,"data-type");ba=az;if(ba===("math-block")){ac.Type=300;ac.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("yaml-front-matter")){ac.Type=425;ac.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("html-block")){ac.Type=9;ac.Tokens=ay;d.Context.Tip.AppendChild(ac);}else{ac.Type=11;ac.IsFencedCodeBlock=true;ac.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bb=J.DomAttrValue(c.FirstChild,"class");if(C.Contains(bb,"language-")){bc=$substring(bb,9);ac.LastChild.CodeBlockInfo=(new AD($stringToBytes(bc)));}bd=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ac.AppendChild(bd);ac.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}}$s=77;case 77:return;case 35:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}be=J.DomText(c);$s=81;case 81:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=C.TrimSpace(be);$s=82;case 82:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=e.isEmptyText(c);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}if(bh){$s=83;continue;}$s=84;continue;case 83:$s=86;case 86:return;case 84:if("\xE2\x80\xB8"===bg){$s=87;continue;}$s=88;continue;case 87:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=89;case 89:return;case 88:ac.Type=17;bi=J.DomAttrValue(c,"data-marker");if(""===bi){bi="*";}if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=90;continue;}$s=91;continue;case 90:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=92;case 92:return;case 91:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 36:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bj=J.DomText(c);$s=96;case 96:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=C.TrimSpace(bj);$s=97;case 97:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=bk;bm=e.isEmptyText(c);$s=100;case 100:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=98;continue;}$s=99;continue;case 98:$s=101;case 101:return;case 99:if("\xE2\x80\xB8"===bl){$s=102;continue;}$s=103;continue;case 102:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=104;case 104:return;case 103:ac.Type=22;bn=J.DomAttrValue(c,"data-marker");if(""===bn){bn="**";}if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=105;continue;}$s=106;continue;case 105:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=107;case 107:return;case 106:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 37:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=108;continue;}$s=109;continue;case 108:$s=110;case 110:return;case 109:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=111;case 111:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=112;case 112:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=115;case 115:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=113;continue;}$s=114;continue;case 113:$s=116;case 116:return;case 114:if("\xE2\x80\xB8"===bq){$s=117;continue;}$s=118;continue;case 117:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=119;case 119:return;case 118:ac.Type=101;bs=J.DomAttrValue(c,"data-marker");if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=120;continue;}$s=121;continue;case 120:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=122;case 122:return;case 121:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 38:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=123;continue;}$s=124;continue;case 123:$s=125;case 125:return;case 124:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bt=J.DomText(c);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=C.TrimSpace(bt);$s=127;case 127:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;bw=e.isEmptyText(c);$s=130;case 130:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}if(bw){$s=128;continue;}$s=129;continue;case 128:$s=131;case 131:return;case 129:if("\xE2\x80\xB8"===bv){$s=132;continue;}$s=133;continue;case 132:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=134;case 134:return;case 133:ac.Type=450;bx=J.DomAttrValue(c,"data-marker");if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=135;continue;}$s=136;continue;case 135:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=137;case 137:return;case 136:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 39:if(AE.nil===c.FirstChild){$s=138;continue;}$s=139;continue;case 138:$s=140;case 140:return;case 139:by=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===by){$s=141;continue;}$s=142;continue;case 141:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=143;case 143:return;case 142:if(""===by){$s=144;continue;}$s=145;continue;case 144:$s=146;case 146:return;case 145:bz=(new AD($stringToBytes(by)));if("html-inline"===g){$s=147;continue;}$s=148;continue;case 147:ac.Type=10;ac.Tokens=bz;d.Context.Tip.AppendChild(ac);$s=149;case 149:return;case 148:ca=J.DomAttrValue(c,"data-marker");if(""===ca){ca="`";}if(A.HasPrefix(bz,(new AD($stringToBytes("`"))))){bz=$appendSlice((new AD($stringToBytes(" "))),bz);bz=$append(bz,32);}ac.Type=27;ac.CodeMarkerLen=ca.length;ac.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bz,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=150;case 150:return;case 40:if(!(AE.nil===c.Parent)){$s=151;continue;}$s=152;continue;case 151:if(e.parentIs(c,new AT([37378,87554]))){$s=153;continue;}$s=154;continue;case 153:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=155;continue;}$s=156;continue;case 155:$s=157;case 157:return;case 156:if(AE.nil===c.NextSibling){$s=158;continue;}$s=159;continue;case 158:$s=160;case 160:return;case 159:ac.Type=10;ac.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ac);$s=161;case 161:return;case 154:if(3073===c.Parent.DataAtom){$s=162;continue;}$s=163;continue;case 162:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=164;continue;}$s=165;continue;case 164:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=166;case 166:return;case 165:if(!(AE.nil===c.Parent.Parent)&&!(AE.nil===c.Parent.Parent.NextSibling)&&(45570===c.Parent.Parent.NextSibling.DataAtom)){$s=167;continue;}$s=168;continue;case 167:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=169;case 169:return;case 168:case 163:case 152:ac.Type=31;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 41:if(c.FirstChild===AE.nil||(c.FirstChild.Type===1)){$s=170;continue;}$s=171;continue;case 170:cb=J.DomText(c);$s=172;case 172:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if(""===cc||"\xE2\x80\x8B"===cc){$s=173;continue;}$s=174;continue;case 173:$s=175;case 175:return;case 174:case 171:ac.Type=33;ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 42:cd=aa;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=176;continue;}$s=177;continue;case 176:ac.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(cf);$s=178;continue;case 177:if("link-ref"===g){$s=179;continue;}$s=180;continue;case 179:ac.Type=16;cg="!["+J.DomAttrValue(c,"alt")+"]["+J.DomAttrValue(c,"data-link-label")+"]";ac.Tokens=(new AD($stringToBytes(cg)));d.Context.Tip.AppendChild(ac);$s=181;case 181:return;case 180:ac.Type=34;ac.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===ce)){ac.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ce))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ch=J.DomAttrValue(c,"src");if(!(""===e.RenderOptions.LinkBase)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ch))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomAttrValue(c,"title");if(!(""===ci)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ci))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 178:d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 43:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=185;continue;}$s=186;continue;case 185:cj=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=187;case 187:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cj;$s=26;continue;case 186:ac.Type=100;ac.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ac);if(!(AF.nil===ac.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.ListData)){ac.Parent.Parent.ListData.Typ=3;}if(!(AF.nil===ac.Parent.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.Parent.ListData)){ac.Parent.Parent.Parent.ListData.Typ=3;}$s=56;continue;case 44:ac.Type=106;ck=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=188;continue;}$s=189;continue;case 188:$s=190;case 190:return;case 189:cl=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===cl))){break;}cm=J.DomAttrValue(cl,"align");cn=cm;if(cn===("left")){ck=$append(ck,1);}else if(cn===("center")){ck=$append(ck,2);}else if(cn===("right")){ck=$append(ck,3);}else{ck=$append(ck,0);}cl=cl.NextSibling;}ac.TableAligns=ck;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 45:ac.Type=107;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 46:$s=56;continue;case 47:ac.Type=108;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 48:ac.Type=109;co=J.DomAttrValue(c,"align");cp=0;cq=co;if(cq===("left")){cp=1;}else if(cq===("center")){cp=2;}else if(cq===("right")){cp=3;}else{cp=0;}ac.TableCellAlign=cp;ac.Tokens=AD.nil;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 49:if(AE.nil===c.FirstChild){$s=26;continue;}if("footnotes-ref"===g){ac.Type=16;ac.Tokens=(new AD($stringToBytes("["+J.DomAttrValue(c,"data-footnotes-label")+"]")));if(C.Contains(c.FirstChild.Data,"\xE2\x80\xB8")){ac.Tokens=$appendSlice(ac.Tokens,E.CaretTokens);}d.Context.Tip.AppendChild(ac);}$s=191;case 191:return;case 50:if(AE.nil===c.FirstChild){$s=26;continue;}if(C.Contains(aa,"vditor-comment")){$s=192;continue;}$s=193;continue;case 192:ac.Type=10;cr=new A.Buffer.ptr(AD.nil,0,0);cs=cr.WriteString("=ct.$length)?($throwRuntimeError("index out of range"),undefined):ct.$array[ct.$offset+cu]);cx=cr.WriteString(cw.Key);$s=197;case 197:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}cx;if(!(""===cw.Val)){$s=198;continue;}$s=199;continue;case 198:cy=cr.WriteString("=\"");$s=200;case 200:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=cr.WriteString(cw.Val);$s=201;case 201:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;da=cr.WriteString("\"");$s=202;case 202:if($c){$c=false;da=da.$blk();}if(da&&da.$blk!==undefined){break s;}da;case 199:if(cv<(c.Attr.$length-1>>0)){$s=203;continue;}$s=204;continue;case 203:db=cr.WriteString(" ");$s=205;case 205:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}db;case 204:cu++;$s=195;continue;case 196:dc=cr.WriteString(">");$s=206;case 206:if($c){$c=false;dc=dc.$blk();}if(dc&&dc.$blk!==undefined){break s;}dc;ac.Tokens=cr.Bytes();d.Context.Tip.AppendChild(ac);$s=26;continue;case 193:if("link-ref"===g){$s=207;continue;}$s=208;continue;case 207:ac.Type=16;dd="["+c.FirstChild.Data+"]["+J.DomAttrValue(c,"data-link-label")+"]";if(!(AE.nil===c.NextSibling)&&"2"===J.DomAttrValue(c.NextSibling,"data-render")){dd="!"+dd;}ac.Tokens=(new AD($stringToBytes(dd)));d.Context.Tip.AppendChild(ac);$s=209;case 209:return;case 208:de=AD.nil;if("\xE2\x80\x8B"===c.FirstChild.Data&&""===J.DomAttrValue(c,"style")&&!(AE.nil===c.FirstChild.NextSibling)){de=(new AD($stringToBytes(c.FirstChild.NextSibling.FirstChild.Data)));}else if(378116===c.FirstChild.DataAtom){de=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));if("\xE2\x80\x8B"===($bytesToString(de))){$s=26;continue;}}if("math-inline"===g){$s=210;continue;}if("html-inline"===g){$s=211;continue;}if("code-inline"===g){$s=212;continue;}if("html-entity"===g){$s=213;continue;}$s=214;continue;case 210:ac.Type=304;ac.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,de,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=215;case 215:return;case 211:ac.Type=10;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=216;case 216:return;case 212:ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=217;case 217:return;case 213:ac.Type=16;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=218;case 218:return;case 214:$s=26;continue;$s=56;continue;case 51:ac.Type=16;df=J.DomText(c);$s=219;case 219:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}ac.Tokens=(new AD($stringToBytes(df)));d.Context.Tip.AppendChild(ac);$s=220;case 220:return;case 52:ac.Type=9;dg=J.DomHTML(c);$s=221;case 221:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}ac.Tokens=dg;ac.Tokens=(dh=A.SplitAfter(ac.Tokens,(new AD($stringToBytes("")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ac);$s=56;continue;case 53:ac.Type=10;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ac.Tokens=di;d.Context.Tip.AppendChild(ac);$s=223;case 223:return;case 54:$s=224;case 224:return;case 55:ac.Type=9;dj=J.DomHTML(c);$s=225;case 225:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}ac.Tokens=dj;d.Context.Tip.AppendChild(ac);$s=226;case 226:return;case 56:case 26:dk=c.FirstChild;case 227:if(!(!(dk===AE.nil))){$s=228;continue;}$r=e.genASTByVditorDOM(dk,d);$s=229;case 229:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dk=dk.NextSibling;$s=227;continue;case 228:dl=c.DataAtom;if(dl===(40708)){if(C.Contains(aa,"vditor-comment")){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",10,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(28162))||(dl===(1537))){dm=J.DomAttrValue(c,"data-marker");if(""===dm){dm="*";}if("_"===dm){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(449798))||(dl===(257))){dn=J.DomAttrValue(c,"data-marker");if(""===dn){dn="**";}if("__"===dn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(1)){ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dp=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dp))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dq=J.DomAttrValue(c,"title");if(!(""===dq)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dq))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dl===(283139))||(dl===(9473))||(dl===(53766))){dr=J.DomAttrValue(c,"data-marker");if("~"===dr){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(46596)){ds=J.DomAttrValue(c,"data-marker");if("="===ds){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorDOM=function(c,d){return this.$val.genASTByVditorDOM(c,d);};R.ptr.prototype.hasAttr=function(c,d){var c,d,e,f,g,h;e=this;f=c.Attr;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key===d){return true;}g++;}return false;};R.prototype.hasAttr=function(c,d){return this.$val.hasAttr(c,d);};R.ptr.prototype.domChild=function(c,d){var c,d,e,f,g;e=this;if(AE.nil===c){return AE.nil;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild=function(c,d){return this.$val.domChild(c,d);};R.ptr.prototype.domChild0=function(c,d){var c,d,e,f,g;e=this;if(c.DataAtom===d){return c;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild0=function(c,d){return this.$val.domChild0(c,d);};R.ptr.prototype.setDOMAttrValue=function(c,d,e){var c,d,e,f,g,h,i;f=this;if(AE.nil===c){return;}g=c.Attr;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i.Key===d){i.Val=e;return;}h++;}c.Attr=$append(c.Attr,new F.Attribute.ptr("",d,e));};R.prototype.setDOMAttrValue=function(c,d,e){return this.$val.setDOMAttrValue(c,d,e);};R.ptr.prototype.parentIs=function(c,d){var c,d,e,f,g,h,i;e=this;f=c.Parent;while(true){if(!(!(AE.nil===f))){break;}g=d;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i===f.DataAtom){return true;}h++;}f=f.Parent;}return false;};R.prototype.parentIs=function(c,d){return this.$val.parentIs(c,d);};R.ptr.prototype.isCaret=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=false;e=false;f=this;g=J.DomText(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=C.TrimSpace(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(1>j.length&&1>0;while(true){if(!(f>=0)){break;}if((32===c.charCodeAt(f))||(160===c.charCodeAt(f))){d=d+(" ");}else{return d;}f=f-(1)>>0;}return d;};R.prototype.suffixSpaces=function(c){return this.$val.suffixSpaces(c);};R.ptr.prototype.SpinVditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=C.TrimSpace(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if("\xE2\x80\xB8"===f){$s=1;continue;}$s=2;continue;case 1:d=""+($bytesToString(I.NewlineSV));$s=-1;return d;case 2:g=H.Parse("",(new AD($stringToBytes(c))),e.ParseOptions);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewVditorSVRenderer(h,e.RenderOptions);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=C.ReplaceAll(($bytesToString(l)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.SpinVditorSVDOM=function(c){return this.$val.SpinVditorSVDOM(c);};R.ptr.prototype.HTML2VditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorSVRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorSVDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2VditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.Md2VditorSVDOM=function(c){return this.$val.Md2VditorSVDOM(c);};R.ptr.prototype.SpinVditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorIRDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorIRRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorIRDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorIRDOM=function(c){return this.$val.SpinVditorIRDOM(c);};R.ptr.prototype.HTML2VditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorIRRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorIRDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorIRDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorIRDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorIRDOM2Md=function(c){return this.$val.vditorIRDOM2Md(c);};R.ptr.prototype.genASTByVditorIRDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-def"===g){$s=8;continue;}if("footnotes-block"===g){$s=9;continue;}if("toc-block"===g){$s=10;continue;}$s=11;continue;case 6:if(("code-block"===g||"math-block"===g)&&!C.Contains(J.DomAttrValue(c.FirstChild,"data-type"),"-block-open-marker")){$s=13;continue;}$s=14;continue;case 13:h=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=J.DomText(c.FirstChild);$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(i))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(j);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$s=16;case 16:return;case 14:k=c.FirstChild;case 17:if(!(!(k===AE.nil))){$s=18;continue;}$r=e.genASTByVditorIRDOM(k,d);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=17;continue;case 18:$s=12;continue;case 7:l=J.DomText(c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(m))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(n);$s=12;continue;case 8:o=c.FirstChild;case 21:if(!(!(o===AE.nil))){$s=22;continue;}$r=e.genASTByVditorIRDOM(o,d);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o.NextSibling;$s=21;continue;case 22:$s=12;continue;case 9:p=c.FirstChild;case 24:if(!(!(AE.nil===p))){$s=25;continue;}q=new A.Buffer.ptr(AD.nil,0,0);r=F.Render(q,p);$s=26;case 26:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if($interfaceIsEqual($ifaceNil,s)){$s=27;continue;}$s=28;continue;case 27:t=e.vditorIRDOM2Md(q.String());$s=29;case 29:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=C.Split(u,"\n");u="";w=v;x=0;while(true){if(!(x=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]);if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 38:if(AE.nil===c.FirstChild){$s=94;continue;}$s=95;continue;case 94:$s=96;case 96:return;case 95:ag.Type=7;ag.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ag.ListData.Typ=1;}ba=J.DomAttrValue(c,"data-tight");if("true"===ba||""===ba){ag.ListData.Tight=true;}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 39:bb=c.FirstChild;if(!(AE.nil===bb)&&(3073===bb.DataAtom)&&!(AE.nil===bb.NextSibling)&&(3073===bb.NextSibling.DataAtom)){d.Context.Tip.ListData.Tight=false;}ag.Type=8;bc=J.DomAttrValue(c,"data-marker");bd=0;if(""===bc){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){be=J.DomAttrValue(c.Parent.FirstChild,"data-marker");bf=J.DomAttrValue(c.Parent,"start");if(""===bf){bc="1";}else{bc=bf;}if(!(""===be)){bc=bc+($substring(be,(be.length-1>>0)));}else{bc=bc+(".");}}else{bc=J.DomAttrValue(c.Parent,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===bc||"-"===bc||"+"===bc){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){bc="1.";}}else{if(!("*"===bc)&&!("-"===bc)&&!("+"===bc)){bc="*";}bd=bc.charCodeAt(0);}}else{bc=J.DomAttrValue(c,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}ag.ListData=new D.ListData.ptr(0,false,bd,0,0,0,0,false,(new AD($stringToBytes(bc))),0);if(0===bd){bg=B.Atoi($substring(bc,0,(bc.length-1>>0)));ag.ListData.Num=bg[0];ag.ListData.Delimiter=bc.charCodeAt((bc.length-1>>0));}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 40:if(378116===c.FirstChild.DataAtom){bh=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){bh=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}bi=J.DomAttrValue(c.Parent,"data-type");bj=bi;if(bj===("math-block")){ag.Type=302;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("html-block")){ag.Type=9;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("yaml-front-matter")){ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bh,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);}else{ag.Type=15;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}}$s=97;case 97:return;case 41:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=98;continue;}$s=99;continue;case 98:$s=100;case 100:return;case 99:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bk=J.DomText(c);$s=101;case 101:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=C.TrimSpace(bk);$s=102;case 102:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;bn=e.isEmptyText(c);$s=105;case 105:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(bn){$s=103;continue;}$s=104;continue;case 103:$s=106;case 106:return;case 104:if("\xE2\x80\xB8"===bm){$s=107;continue;}$s=108;continue;case 107:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=109;case 109:return;case 108:ag.Type=17;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 42:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=110;continue;}$s=111;continue;case 110:$s=112;case 112:return;case 111:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=114;case 114:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=117;case 117:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=115;continue;}$s=116;continue;case 115:$s=118;case 118:return;case 116:if("\xE2\x80\xB8"===bq){$s=119;continue;}$s=120;continue;case 119:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=121;case 121:return;case 120:ag.Type=22;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 43:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=122;continue;}$s=123;continue;case 122:$s=124;case 124:return;case 123:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bs=J.DomText(c);$s=125;case 125:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=C.TrimSpace(bs);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=e.isEmptyText(c);$s=129;case 129:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=127;continue;}$s=128;continue;case 127:$s=130;case 130:return;case 128:if("\xE2\x80\xB8"===bu){$s=131;continue;}$s=132;continue;case 131:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=133;case 133:return;case 132:ag.Type=101;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 44:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=134;continue;}$s=135;continue;case 134:$s=136;case 136:return;case 135:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bw=J.DomText(c);$s=137;case 137:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=C.TrimSpace(bw);$s=138;case 138:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=bx;bz=e.isEmptyText(c);$s=141;case 141:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(bz){$s=139;continue;}$s=140;continue;case 139:$s=142;case 142:return;case 140:if("\xE2\x80\xB8"===by){$s=143;continue;}$s=144;continue;case 143:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=145;case 145:return;case 144:ag.Type=450;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 45:if(AE.nil===c.FirstChild){$s=146;continue;}$s=147;continue;case 146:$s=148;case 148:return;case 147:ca=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===ca){$s=149;continue;}$s=150;continue;case 149:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=151;case 151:return;case 150:if(""===ca){$s=152;continue;}$s=153;continue;case 152:$s=154;case 154:return;case 153:cb=(new AD($stringToBytes(ca)));cc=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cb,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ag.Type=27;ag.AppendChild(cc);d.Context.Tip.AppendChild(ag);$s=155;case 155:return;case 46:if(!(AE.nil===c.Parent)){$s=156;continue;}$s=157;continue;case 156:if(e.parentIs(c,new AT([37378,87554]))){$s=158;continue;}$s=159;continue;case 158:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=160;continue;}$s=161;continue;case 160:$s=162;case 162:return;case 161:if(AE.nil===c.NextSibling){$s=163;continue;}$s=164;continue;case 163:$s=165;case 165:return;case 164:ag.Type=10;ag.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ag);$s=166;case 166:return;case 159:if(3073===c.Parent.DataAtom){$s=167;continue;}$s=168;continue;case 167:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=169;continue;}$s=170;continue;case 169:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=171;case 171:return;case 170:case 168:case 157:ag.Type=31;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 47:ag.Type=33;ag.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 48:cd=ae;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=172;continue;}$s=173;continue;case 172:ag.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(cf);d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=174;continue;case 173:$s=175;case 175:return;case 174:$s=62;continue;case 49:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=176;continue;}$s=177;continue;case 176:$s=178;case 178:return;case 177:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=179;continue;}$s=180;continue;case 179:cg=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=181;case 181:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cg;$s=32;continue;case 180:ag.Type=100;ag.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ag);if(!(AF.nil===ag.Parent.Parent.Parent)&&!(AL.nil===ag.Parent.Parent.Parent.ListData)){ag.Parent.Parent.Parent.ListData.Typ=3;}$s=62;continue;case 50:ag.Type=106;ch=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:ci=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ci))){break;}cj=J.DomAttrValue(ci,"align");ck=cj;if(ck===("left")){ch=$append(ch,1);}else if(ck===("center")){ch=$append(ch,2);}else if(ck===("right")){ch=$append(ch,3);}else{ch=$append(ch,0);}ci=ci.NextSibling;}ag.TableAligns=ch;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 51:ag.Type=107;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 52:$s=62;continue;case 53:ag.Type=108;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 54:ag.Type=109;cl=J.DomAttrValue(c,"align");cm=0;cn=cl;if(cn===("left")){cm=1;}else if(cn===("center")){cm=2;}else if(cn===("right")){cm=3;}else{cm=0;}ag.TableCellAlign=cm;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 55:if(AE.nil===c.FirstChild){$s=32;continue;}if("footnotes-ref"===g){$s=185;continue;}$s=186;continue;case 185:ag.Type=16;co=J.DomText(c);$s=187;case 187:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(co)));d.Context.Tip.AppendChild(ag);case 186:$s=188;case 188:return;case 56:cp=g;if(cp===("inline-node")||cp===("em")||cp===("strong")||cp===("s")||cp===("a")||cp===("link-ref")||cp===("img")||cp===("code")||cp===("heading-id")||cp===("html-inline")||cp===("inline-math")||cp===("html-entity")){$s=190;continue;}if(cp===("math-block-close-marker")){$s=191;continue;}if(cp===("math-block-open-marker")){$s=192;continue;}if(cp===("yaml-front-matter-close-marker")){$s=193;continue;}if(cp===("yaml-front-matter-open-marker")){$s=194;continue;}if(cp===("code-block-open-marker")){$s=195;continue;}if(cp===("code-block-info")){$s=196;continue;}if(cp===("code-block-close-marker")){$s=197;continue;}if(cp===("heading-marker")){$s=198;continue;}$s=199;continue;case 190:ag.Type=16;cq=J.DomText(c);$s=200;case 200:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(cq)));d.Context.Tip.AppendChild(ag);$s=201;case 201:return;case 191:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=202;case 202:return;case 192:ag.Type=300;ag.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=203;case 203:return;case 193:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=204;case 204:return;case 194:ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=205;case 205:return;case 195:if(290819===c.NextSibling.DataAtom){c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,40708,"","",new AS([new F.Attribute.ptr("","data-type","code-block-info")])));}cr=J.DomText(c);$s=206;case 206:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=(new AD($stringToBytes(cr)));ct=A.LastIndex(cs,(new AD($stringToBytes("`"))))+1>>0;if(0>0;if(0")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ag);$s=62;continue;case 59:$s=62;continue;case 60:$s=221;case 221:return;case 61:ag.Type=9;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ag.Tokens=di;d.Context.Tip.AppendChild(ag);$s=223;case 223:return;case 62:case 32:dj=c.FirstChild;case 224:if(!(!(dj===AE.nil))){$s=225;continue;}$r=e.genASTByVditorIRDOM(dj,d);$s=226;case 226:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj=dj.NextSibling;$s=224;continue;case 225:dk=c.DataAtom;if(dk===(1)){ag.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dl=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkPrefix,"");}ag.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dm=J.DomAttrValue(c,"title");if(!(""===dm)){ag.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ag.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dk===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorIRDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorIRDOM=function(c,d){return this.$val.genASTByVditorIRDOM(c,d);};R.ptr.prototype.SpinBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.blockDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g=C.ReplaceAll(g,"\xE2\x80\x8B","");h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=i.Root.FirstChild;k=i.Root.LastChild.Previous;if((1===j.Type)&&""===j.ID&&!(AF.nil===k)&&!(j===k.Previous)&&(455===k.Type)){l=k.Previous.ID;m="";j.ID=l;k.Previous.ID=m;n=k.Previous.KramdownIAL;o=AN.nil;j.KramdownIAL=n;k.Previous.KramdownIAL=o;j.InsertAfter(k);}if((455===j.Type)&&!(AF.nil===j.Next)&&(455===j.Next.Type)&&J.IsDocIAL(j.Next.Tokens)){p=H.Tokens2IAL(j.Tokens);q=H.IAL2Map(p);s=new D.Node.ptr((r=$mapIndex(q,$String.keyFor("id")),r!==undefined?r.v:""),"","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,p,false,"","","","","","","","","","","",0,"");j.InsertBefore(s);}$r=H.NestedInlines2FlattedSpansHybrid(i,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=e.Tree2BlockDOM(i,e.RenderOptions);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.SpinBlockDOM=function(c){return this.$val.SpinBlockDOM(c);};R.ptr.prototype.HTML2BlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewProtyleRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2BlockDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);o.Unlink();n++;}p=d[0];q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);j.Root.AppendChild(r);q++;}s=I.NewProtyleRenderer(j,f.RenderOptions);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t.BaseRenderer.Render();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;e=J.BytesToStr(v);w=C.TrimSpace(e);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}e=w;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2InlineBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};R.prototype.BlockDOM2InlineBlockDOM=function(c){return this.$val.BlockDOM2InlineBlockDOM(c);};R.ptr.prototype.Md2BlockDOM=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;h=f.Md2BlockDOMTree(c,d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Md2BlockDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.Md2BlockDOM=function(c,d){return this.$val.Md2BlockDOM(c,d);};R.ptr.prototype.Md2BlockDOMTree=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=AB.nil;g=this;h=H.Parse("",(new AD($stringToBytes(c))),g.ParseOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;$r=H.NestedInlines2FlattedSpansHybrid(f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d){$s=3;continue;}$s=4;continue;case 3:$r=D.Walk(f.Root,(function(i,j){var i,j,k;if(!j){return 2;}if(i.IsEmptyBlockIAL()){k=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=H.Tokens2IAL(i.Tokens);k.ID=k.IALAttr("id");i.InsertBefore(k);return 2;}return 2;}));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:i=I.NewProtyleRenderer(f,g.RenderOptions);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=g.Md2BlockDOMRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l");$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Tree2BlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Tree2BlockDOM=function(c,d){return this.$val.Tree2BlockDOM(c,d);};R.ptr.prototype.RenderNodeBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;f=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");g=new H.Tree.ptr(f,new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h=I.NewProtyleRenderer(g,e.RenderOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d[0]=h;i=e.Md2BlockDOMRendererFuncs;j=0;k=i?i.keys():undefined;l=i?i.size:0;while(true){if(!(j\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"`","`");c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=0;g=0;h=f;i=g;j=c;k=0;while(true){if(!(k>0;}else{break;}k+=l[1];}n=c.length-1>>0;while(true){if(!(n>=0)){break;}if(32===c.charCodeAt(n)){i=i+(1)>>0;}else{break;}n=n-(1)>>0;}o=C.TrimSpace(c);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}c=o;c=C.Repeat(" ",h)+c+C.Repeat(" ",i);c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");p=d[0].parseHTML(c);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(AE.nil===q){$s=-1;return e;}$r=d[0].adjustVditorDOM(q);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,d[0].ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tip=e.Root;r=q.FirstChild;case 4:if(!(!(AE.nil===r))){$s=5;continue;}$r=d[0].genASTByBlockDOM(r,e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=r.NextSibling;$s=4;continue;case 5:$r=D.Walk(e.Root,(function(d){return function $b(s,t){var{s,t,u,$s,$r,$c}=$restore(this,{s,t});$s=$s||0;s:while(true){switch($s){case 0:if(t){$s=1;continue;}$s=2;continue;case 1:u=s.Type;if((u===(10))||(u===(9))||(u===(29))||(u===(15))||(u===(306))||(u===(302))||(u===(27))||(u===(304))){$s=4;continue;}if((u===(22))||(u===(17))||(u===(101))||(u===(520))){$s=5;continue;}if(u===(530)){$s=6;continue;}if(u===(16)){$s=7;continue;}$s=8;continue;case 4:if(!(AF.nil===s.Next)&&(27===s.Next.Type)&&(s.CodeMarkerLen===s.Next.CodeMarkerLen)&&!(AF.nil===s.FirstChild)&&!(AF.nil===s.FirstChild.Next)){s.FirstChild.Next.Tokens=$appendSlice(s.FirstChild.Next.Tokens,s.Next.FirstChild.Next.Tokens);s.Next.Unlink();}$s=8;continue;case 5:d[0].MergeSameSpan(s);$s=8;continue;case 6:$r=d[0].MergeSameTextMark(s);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:s.Tokens=A.ReplaceAll(s.Tokens,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 8:case 3:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,s,t,u,$s};return $f;};})(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2Tree,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.BlockDOM2Tree=function(c){return this.$val.BlockDOM2Tree(c);};R.ptr.prototype.MergeSameTextMark=function(c){var{aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(AF.nil===c.Previous){$s=-1;return;}e=false;f=false;if(456===c.Previous.Type){$s=1;continue;}$s=2;continue;case 1:if(AF.nil===c.Next||!((456===c.Next.Type))||AF.nil===c.Previous.Previous){$s=-1;return;}if(!A.Equal(c.Previous.Tokens,c.Next.Tokens)){$s=-1;return;}g=c.IsSameTextMarkType(c.Previous.Previous);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:e=true;$s=3;continue;case 2:if(!((16===c.Previous.Type)&&!C.Contains(c.Previous.TokensStr()," ")&&!C.Contains(c.Previous.TokensStr(),"\n"))){i=false;$s=11;continue s;}j=C.TrimSpace(C.ReplaceAll(c.Previous.TokensStr(),"\xE2\x80\x8B",""));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(!(i&&!(AF.nil===c.Previous.Previous))){h=false;$s=10;continue s;}k=c.IsSameTextMarkType(c.Previous.Previous);$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;case 10:if(h){$s=7;continue;}$s=8;continue;case 7:f=true;$s=9;continue;case 8:if(!((c.Type===c.Previous.Type))){l=true;$s=16;continue s;}m=c.IsSameTextMarkType(c.Previous);$s=17;case 17:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=!m;case 16:if(l){$s=14;continue;}$s=15;continue;case 14:$s=-1;return;case 15:case 9:case 3:n=C.Split(c.TextMarkType," ");o=$makeMap($String.keyFor,[]);p=n;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);s=r;(o||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(s),{k:s,v:true});q++;}t=AJ.nil;u=o;v=0;w=u?u.keys():undefined;x=u?u.size:0;while(true){if(!(v=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);$mapDelete(o,$String.keyFor(ae));ad++;}if(0<(o?o.size:0)){$s=-1;return;}if(e||f){c.TextMarkTextContent=c.Previous.Previous.TextMarkTextContent+c.TextMarkTextContent;c.Previous.Previous.Unlink();}else{c.TextMarkTextContent=c.Previous.TextMarkTextContent+c.TextMarkTextContent;}c.Previous.Unlink();$r=c.SortTextMarkDataTypes();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.MergeSameTextMark,$c:true,$r,aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.MergeSameTextMark=function(c){return this.$val.MergeSameTextMark(c);};R.ptr.prototype.MergeSameSpan=function(c){var c,d,e,f,g,h,i;d=this;if(AF.nil===c.Next||!((c.Type===c.Next.Type))){return;}if(!(AF.nil===c.Next.Next)&&(456===c.Next.Next.Type)){return;}e=AK.nil;c.Next.FirstChild.Unlink();c.Next.LastChild.Unlink();f=c.Next.FirstChild;while(true){if(!(!(AF.nil===f))){break;}e=$append(e,f);f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);c.LastChild.InsertBefore(i);h++;}c.Next.Unlink();};R.prototype.MergeSameSpan=function(c){return this.$val.MergeSameSpan(c);};R.ptr.prototype.CancelSuperBlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((475===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}i=$append(i,j);j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);g.Root.AppendChild(m);l++;}h.Unlink();n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelSuperBlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.CancelSuperBlock=function(c){return this.$val.CancelSuperBlock(c);};R.ptr.prototype.CancelList=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((7===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}n=m.FirstChild;while(true){if(!(!(AF.nil===n))){break;}if(!((100===n.Type))){k=$append(k,n);}n=n.Next;}l=$append(l,m);m=m.Next;}o=k;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);g.Root.AppendChild(q);p++;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}h.Unlink();u=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}d=u;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelList,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};R.prototype.CancelList=function(c){return this.$val.CancelList(c);};R.ptr.prototype.CancelBlockquote=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((5===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}if(!((6===m.Type))){k=$append(k,m);}l=$append(l,m);m=m.Next;}n=k;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);g.Root.AppendChild(p);o++;}h.Unlink();q=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}d=q;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelBlockquote,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};R.prototype.CancelBlockquote=function(c){return this.$val.CancelBlockquote(c);};R.ptr.prototype.Blocks2Ps=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h;while(true){if(!(!(AF.nil===m))){break;}n=m.Type;if(n===(2)){m.Type=1;}else if(n===(5)){o=m.FirstChild;while(true){if(!(!(AF.nil===o))){break;}if(6===o.Type){l=$append(l,o);o=o.Next;continue;}k=$append(k,o);o=o.Next;}l=$append(l,m);}else if(n===(7)){p=m.FirstChild;while(true){if(!(!(AF.nil===p))){break;}q=p.FirstChild;while(true){if(!(!(AF.nil===q))){break;}if(!((100===q.Type))){k=$append(k,q);}q=q.Next;}l=$append(l,p);p=p.Next;}l=$append(l,m);}m=m.Next;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}u=k;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);g.Root.AppendChild(w);v++;}x=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}d=x;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Blocks2Ps,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};R.prototype.Blocks2Ps=function(c){return this.$val.Blocks2Ps(c);};R.ptr.prototype.Blocks2Hs=function(c,d){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;g=f.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.Root.FirstChild;j=i;while(true){if(!(!(AF.nil===j))){break;}if((1===j.Type)||(2===j.Type)){j.Type=2;k=B.Atoi(d);j.HeadingLevel=k[0];}j=j.Next;}l=f.Tree2BlockDOM(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}e=l;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Blocks2Hs,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.Blocks2Hs=function(c,d){return this.$val.Blocks2Hs(c,d);};R.ptr.prototype.OL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.OL2TL=function(c){return this.$val.OL2TL(c);};R.ptr.prototype.UL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.UL2TL=function(c){return this.$val.UL2TL(c);};R.ptr.prototype.TL2OL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=AK.nil;k=h.FirstChild;while(true){if(!(!(AF.nil===k))){break;}if(455===k.Type){k=k.Next;continue;}j=$append(j,k.FirstChild);k.ListData.Typ=1;k.ListData.Num=i;i=i+(1)>>0;k=k.Next;}l=j;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n.Unlink();m++;}o=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}d=o;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.TL2OL=function(c){return this.$val.TL2OL(c);};R.ptr.prototype.TL2UL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}i=$append(i,j.FirstChild);j.ListData.Typ=0;j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);m.Unlink();l++;}n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2UL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.TL2UL=function(c){return this.$val.TL2UL(c);};R.ptr.prototype.OL2UL=function(c){var{c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=h.FirstChild;while(true){if(!(!(AF.nil===i))){break;}if(455===i.Type){i=i.Next;continue;}i.ListData.Typ=0;i=i.Next;}j=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2UL,$c:true,$r,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.OL2UL=function(c){return this.$val.OL2UL(c);};R.ptr.prototype.UL2OL=function(c){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}j.ListData.Typ=1;j.ListData.Num=i;i=i+(1)>>0;j=j.Next;}k=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.UL2OL=function(c){return this.$val.UL2OL(c);};R.ptr.prototype.blockDOM2Md=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=I.NewOptions();h.AutoSpace=false;h.FixTermTypo=false;h.KramdownBlockIAL=true;h.KramdownSpanIAL=true;h.KeepParagraphBeginningSpace=true;h.ProtyleWYSIWYG=true;h.SuperBlock=true;i=I.NewFormatRenderer(g,h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=($bytesToString(l));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.blockDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.blockDOM2Md=function(c){return this.$val.blockDOM2Md(c);};R.ptr.prototype.genASTByBlockDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"class");if("protyle-attr"===f||C.Contains(f,"__copy")||C.Contains(f,"protyle-linenumber__rows")){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if("1"===J.DomAttrValue(c,"spin")){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:if(C.Contains(f,"protyle-action")){$s=7;continue;}$s=8;continue;case 7:if(11===d.Context.Tip.Type){$s=9;continue;}if(8===d.Context.Tip.Type){$s=10;continue;}$s=11;continue;case 9:g=c.FirstChild;h="";if(!(AE.nil===g.FirstChild)){h=g.FirstChild.Data;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(h),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i=J.DomText(c.NextSibling);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasSuffix(j,"\n\n\xE2\x80\xB8")){j=C.TrimSuffix(j,"\n\n\xE2\x80\xB8");j=j+("\n\xE2\x80\xB8\n");}k=C.Split(j,"\n");l=new A.Buffer.ptr(AD.nil,0,0);m=k;n=0;case 13:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(C.Contains(p,"```")){p=C.ReplaceAll(p,"```","\xE2\x80\x8D```");}else{p=C.ReplaceAll(p,"\xE2\x80\x8D","");}q=l.WriteString(p);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o<(k.$length-1>>0)){$s=16;continue;}$s=17;continue;case 16:r=l.WriteByte(10);$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 17:n++;$s=13;continue;case 14:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,l.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=11;continue;case 10:if(3===d.Context.Tip.ListData.Typ){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,C.Contains(J.DomAttrValue(c.Parent,"class"),"protyle-task--done"),AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 11:$s=19;case 19:return;case 8:if("true"===J.DomAttrValue(c,"contenteditable")){$s=20;continue;}$s=21;continue;case 20:$r=e.genASTContenteditable(c,d);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;case 23:return;case 21:s=D.Str2NodeType(J.DomAttrValue(c,"data-type"));$s=24;case 24:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=J.DomAttrValue(c,"data-node-id");v=new D.Node.ptr(u,"","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");if(!(""===v.ID)&&!e.parentIs(c,new AT([365829]))){$s=25;continue;}$s=26;continue;case 25:v.KramdownIAL=new AN([new AJ(["id",v.ID])]);w=e.setBlockIAL(c,v);$s=27;case 27:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=new D.Node.ptr("","","","",455,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,x,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");$deferred.push([$methodVal(d.Context,"TipAppendChild"),[y]]);case 26:z=t;if(z===(465)){$s=29;continue;}if(z===(106)){$s=30;continue;}if(z===(1)){$s=31;continue;}if(z===(2)){$s=32;continue;}if(z===(5)){$s=33;continue;}if(z===(7)){$s=34;continue;}if(z===(8)){$s=35;continue;}if(z===(495)){$s=36;continue;}if(z===(475)){$s=37;continue;}if(z===(300)){$s=38;continue;}if(z===(11)){$s=39;continue;}if(z===(9)){$s=40;continue;}if(z===(425)){$s=41;continue;}if(z===(4)){$s=42;continue;}if(z===(500)){$s=43;continue;}if(z===(535)){$s=44;continue;}if(z===(510)){$s=45;continue;}if(z===(505)){$s=46;continue;}if(z===(550)){$s=47;continue;}if(z===(560)){$s=48;continue;}$s=49;continue;case 29:v.Type=465;v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));aa=J.DomAttrValue(c,"data-content");aa=C.ReplaceAll(aa,"\n","_esc_newline_");v.AppendChild(new D.Node.ptr("","","","",468,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aa),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=51;case 51:return;case 30:v.Type=106;ab=AM.nil;if(AE.nil===c.FirstChild){$s=52;continue;}$s=53;continue;case 52:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=54;case 54:return;case 53:if(e.parentIs(c,new AT([365829]))){$s=55;continue;}$s=56;continue;case 55:ac=J.DomText(c);$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=C.TrimSpace(ad);$s=58;case 58:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(ae)));d.Context.Tip.AppendChild(v);$s=59;case 59:return;case 56:af=c.FirstChild;ag=e.domChild(af,365829);if(AE.nil===ag){$s=60;continue;}$s=61;continue;case 60:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=62;case 62:return;case 61:ah=e.domChild(ag,208901);if(AE.nil===ah||AE.nil===ah.FirstChild||AE.nil===ah.FirstChild.FirstChild){$s=63;continue;}$s=64;continue;case 63:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=65;case 65:return;case 64:ai=ah.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}aj=J.DomAttrValue(ai,"align");ak=aj;if(ak===("left")){ab=$append(ab,1);}else if(ak===("center")){ab=$append(ab,2);}else if(ak===("right")){ab=$append(ab,3);}else{ab=$append(ab,0);}ai=ai.NextSibling;}v.TableAligns=ab;v.Tokens=AD.nil;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$r=e.genASTContenteditable(ag,d);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=67;case 67:return;case 31:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 32:al=J.DomText(c);$s=68;case 68:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(e.parentIs(c,new AT([365829]))){$s=69;continue;}$s=70;continue;case 69:an=C.TrimSpace(am);$s=71;case 71:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(an)));while(true){if(!(A.HasPrefix(v.Tokens,(new AD($stringToBytes("#")))))){break;}v.Tokens=A.TrimPrefix(v.Tokens,(new AD($stringToBytes("#"))));}d.Context.Tip.AppendChild(v);$s=72;case 72:return;case 70:ao=$substring(J.DomAttrValue(c,"data-subtype"),1);ap=C.TrimPrefix(am," ");if(C.HasPrefix(ap,"#")){$s=73;continue;}$s=74;continue;case 73:aq=C.Index(ap," \xE2\x80\xB8");if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 34:v.Type=7;ax=J.DomAttrValue(c,"data-marker");v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);ay=J.DomAttrValue(c,"data-subtype");if("u"===ay){v.ListData.Typ=0;}else if("o"===ay){v.ListData.Typ=1;}else if("t"===ay){v.ListData.Typ=3;}v.ListData.Marker=(new AD($stringToBytes(ax)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 35:az=J.DomAttrValue(c,"data-marker");if(!((7===d.Context.Tip.Type))){ba=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ba.Type=7;ba.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bb=J.DomAttrValue(c,"data-subtype");if("u"===bb){ba.ListData.Typ=0;ba.ListData.BulletChar=42;}else if("o"===bb){ba.ListData.Typ=1;bc=B.Atoi($substring(az,0,(az.length-1>>0)));ba.ListData.Num=bc[0];ba.ListData.Delimiter=46;}else if("t"===bb){ba.ListData.Typ=3;ba.ListData.BulletChar=42;}d.Context.Tip.AppendChild(ba);d.Context.Tip=ba;}v.Type=8;v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bd=J.DomAttrValue(c,"data-subtype");if("u"===bd){v.ListData.Typ=0;v.ListData.BulletChar=42;}else if("o"===bd){v.ListData.Typ=1;be=B.Atoi($substring(az,0,(az.length-1>>0)));v.ListData.Num=be[0];v.ListData.Delimiter=46;}else if("t"===bd){v.ListData.Typ=3;v.ListData.BulletChar=42;}v.ListData.Marker=(new AD($stringToBytes(az)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 36:v.Type=495;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 37:v.Type=475;d.Context.Tip.AppendChild(v);v.AppendChild(new D.Node.ptr("","","","",476,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=J.DomAttrValue(c,"data-sb-layout");v.AppendChild(new D.Node.ptr("","","","",477,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bf))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 38:v.Type=300;v.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"data-content");bg=F.UnescapeHTMLStr(bg);v.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=80;case 80:return;case 39:v.Type=11;v.IsFencedCodeBlock=true;v.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(c,"data-subtype");if(!(""===bh)){$s=81;continue;}$s=82;continue;case 81:v.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(bh),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(c,"data-content");v.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=83;case 83:return;case 82:d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 40:v.Type=9;bj=J.DomAttrValue(c.FirstChild.NextSibling.FirstChild,"data-content");bj=F.UnescapeHTMLStr(bj);v.Tokens=J.StrToBytes(bj);d.Context.Tip.AppendChild(v);$s=84;case 84:return;case 41:v.Type=425;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 42:v.Type=4;d.Context.Tip.AppendChild(v);$s=85;case 85:return;case 43:v.Type=500;c=e.domChild(c.FirstChild,195590);bk=J.DomHTML(c);$s=86;case 86:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}v.Tokens=bk;d.Context.Tip.AppendChild(v);$s=87;case 87:return;case 44:v.Type=535;c=e.domChild(c.FirstChild,195590);bl=J.DomHTML(c);$s=88;case 88:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}v.Tokens=bl;d.Context.Tip.AppendChild(v);$s=89;case 89:return;case 45:v.Type=510;c=e.domChild(c.FirstChild,192773);bm=J.DomHTML(c);$s=90;case 90:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}v.Tokens=bm;d.Context.Tip.AppendChild(v);$s=91;case 91:return;case 46:v.Type=505;c=e.domChild(c.FirstChild,70917);bn=J.DomHTML(c);$s=92;case 92:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}v.Tokens=bn;d.Context.Tip.AppendChild(v);$s=93;case 93:return;case 47:v.Type=550;v.AttributeViewID=J.DomAttrValue(c,"data-av-id");if(""===v.AttributeViewID){$s=94;continue;}$s=95;continue;case 94:bo=D.NewNodeID();$s=96;case 96:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}v.AttributeViewID=bo;case 95:v.AttributeViewType=J.DomAttrValue(c,"data-av-type");d.Context.Tip.AppendChild(v);$s=97;case 97:return;case 48:v.Type=560;v.CustomBlockInfo=J.DomAttrValue(c,"data-info");v.Tokens=(new AD($stringToBytes(F.UnescapeHTMLStr(J.DomAttrValue(c,"data-content")))));d.Context.Tip.AppendChild(v);$s=98;case 98:return;case 49:bp=c.DataAtom;if(bp===(0)){$s=100;continue;}if((bp===(2817))||(bp===(378116))||(bp===(449798))||(bp===(28162))||(bp===(47363))||(bp===(46596))||(bp===(9473))||(bp===(421123))||(bp===(461571))||(bp===(40708))){$s=101;continue;}$s=102;continue;case 100:v.Type=16;v.Tokens=J.StrToBytes(c.Data);if(0===d.Context.Tip.Type){bq=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bq);d.Context.Tip=bq;}$r=e.genASTContenteditable(c,d);$s=103;case 103:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=104;case 104:return;case 101:if(0===d.Context.Tip.Type){br=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(br);d.Context.Tip=br;}$r=e.genASTContenteditable(c,d);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=106;case 106:return;case 102:case 99:if((8===d.Context.Tip.Type)&&(281349===c.DataAtom)){$s=107;continue;}$s=108;continue;case 107:v.Type=100;v.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(v);$s=109;case 109:return;case 108:v.Type=10;bs=J.DomHTML(c);$s=110;case 110:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}v.Tokens=bs;d.Context.Tip.AppendChild(v);$s=111;case 111:return;case 50:case 28:bt=c.FirstChild;case 112:if(!(!(bt===AE.nil))){$s=113;continue;}$r=e.genASTByBlockDOM(bt,d);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bt=bt.NextSibling;$s=112;continue;case 113:bu=t;if(bu===(475)){v.AppendChild(new D.Node.ptr("","","","",478,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(bu===(11)){v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByBlockDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByBlockDOM=function(c,d){return this.$val.genASTByBlockDOM(c,d);};R.ptr.prototype.genASTContenteditable=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;if((11===d.Context.Tip.Type)||(560===d.Context.Tip.Type)){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(109320===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:f=J.DomAttrValue(c,"class");if("svg"===f){$s=7;continue;}$s=8;continue;case 7:$s=9;case 9:return;case 8:g=c.Data;h=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(g),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=c.DataAtom;if(i===(0)){$s=11;continue;}if(i===(208901)){$s=12;continue;}if(i===(9989)){$s=13;continue;}if(i===(52226)){$s=14;continue;}if((i===(87554))||(i===(37378))){$s=15;continue;}if(i===(378116)){$s=16;continue;}if(i===(40708)){$s=17;continue;}if(i===(421123)){$s=18;continue;}if(i===(461571)){$s=19;continue;}if(i===(2817)){$s=20;continue;}if(i===(47363)){$s=21;continue;}if(i===(514)){$s=22;continue;}if((i===(28162))||(i===(1537))){$s=23;continue;}if((i===(449798))||(i===(257))){$s=24;continue;}if((i===(283139))||(i===(9473))||(i===(53766))){$s=25;continue;}if(i===(46596)){$s=26;continue;}if(i===(198403)){$s=27;continue;}$s=28;continue;case 11:if(""===g){$s=29;continue;}$s=30;continue;case 29:$s=31;case 31:return;case 30:if(33===d.Context.Tip.Type){h.Type=40;}else if(2===d.Context.Tip.Type){g=C.ReplaceAll(g,"\n","");h.Tokens=J.StrToBytes(g);}else if(22===d.Context.Tip.Type){g=C.ReplaceAll(g,"**","");g=C.ReplaceAll(g,"*\xE2\x80\xB8","\xE2\x80\xB8");g=C.ReplaceAll(g,"\xE2\x80\xB8*","\xE2\x80\xB8");h.Tokens=J.StrToBytes(g);}if(e.parentIs(c,new AT([365829]))){$s=32;continue;}$s=33;continue;case 32:g=C.TrimSuffix(g,"\n");if((AE.nil===c.NextSibling&&!C.Contains(g,"\n"))||(!(AE.nil===c.NextSibling)&&(514===c.NextSibling.DataAtom)&&C.HasPrefix(g,"\n"))){g=C.ReplaceAll(g,"\n","");}if(C.Contains(g,"\\")){$s=34;continue;}$s=35;continue;case 34:j=C.ReplaceAll(g,"\\","");k=C.TrimSpace(j);$s=36;case 36:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;if(""===j){g=C.ReplaceAll(g,"\\","\\\\");}case 35:h.Tokens=J.StrToBytes(C.ReplaceAll(g,"\n","
    "));l=L.SplitWithoutBackslashEscape(h.Tokens,124);h.Tokens=AD.nil;m=l;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);h.Tokens=$appendSlice(h.Tokens,p);if(o<(l.$length-1>>0)){h.Tokens=$appendSlice(h.Tokens,(new AD($stringToBytes("\\|"))));}n++;}case 33:if((27===d.Context.Tip.Type)||(304===d.Context.Tip.Type)){$s=37;continue;}$s=38;continue;case 37:if(!(AF.nil===d.Context.Tip.Previous)&&(d.Context.Tip.Type===d.Context.Tip.Previous.Type)){d.Context.Tip.FirstChild.Next.Tokens=J.StrToBytes(g);}else{if(!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();}d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));}$s=39;case 39:return;case 38:if(530===d.Context.Tip.Type){$s=40;continue;}$s=41;continue;case 40:if("code"===d.Context.Tip.TokensStr()){$s=42;continue;}$s=43;continue;case 42:if(!(AF.nil===d.Context.Tip.FirstChild)&&!(AF.nil===d.Context.Tip.FirstChild.Next)&&!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){$s=44;continue;}$s=45;continue;case 44:g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));$s=46;case 46:return;case 45:case 43:case 41:if(515===d.Context.Tip.Type){h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\\\"))),(new AD($stringToBytes("\\"))));h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));if(A.Equal(h.Tokens,E.CaretTokens)){q=d.Context.Tip.Parent;d.Context.Tip.Unlink();d.Context.Tip=q;}}d.Context.Tip.AppendChild(h);$s=28;continue;case 12:if(e.parentIs(c.Parent.Parent,new AT([365829]))){$s=47;continue;}$s=48;continue;case 47:r=J.DomText(c.Parent.Parent);$s=49;case 49:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;s=C.ReplaceAll(s,"\xE2\x80\xB8","");t=C.TrimSpace(s);$s=50;case 50:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(t)));d.Context.Tip.AppendChild(h);$s=51;case 51:return;case 48:h.Type=107;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 13:$s=28;continue;case 14:h.Type=108;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 15:h.Type=109;u=J.DomAttrValue(c,"align");v=0;w=u;if(w===("left")){v=1;}else if(w===("center")){v=2;}else if(w===("right")){v=3;}else{v=0;}h.TableCellAlign=v;d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(h,c);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 16:y=e.isCaret(c);$s=53;case 53:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];if(z){$s=54;continue;}$s=55;continue;case 54:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=56;case 56:return;case 55:if(aa){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:if(e.ParseOptions.TextMark){$s=60;continue;}$s=61;continue;case 60:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;case 63:return;case 61:h.Type=27;h.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 17:ab=J.DomAttrValue(c,"data-type");if(""===ab){ab="text";}if(C.Contains(ab,"span")){$s=64;continue;}$s=65;continue;case 64:h.Type=16;ac=J.DomText(c);$s=66;case 66:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=J.StrToBytes(ac);$s=67;case 67:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h.Tokens=ad;d.Context.Tip.AppendChild(h);$s=68;case 68:return;case 65:if(C.Contains(ab,"img")){ab="img";}if(!(AF.nil===d.Context.Tip)&&!(AF.nil===d.Context.Tip.LastChild)){$s=69;continue;}$s=70;continue;case 69:ae=d.Context.Tip.LastChild.Text();$s=71;case 71:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=C.HasSuffix(af,"\\\xE2\x80\xB8");if(ag){af=C.TrimSuffix(af,"\xE2\x80\xB8");}if(C.HasSuffix(af,"\\")){ah=0;ai=af.length-1>>0;while(true){if(!(ai>=0)){break;}if(92===af.charCodeAt(ai)){ah=ah+(1)>>0;}else{break;}ai=ai-(1)>>0;}if(!((0===(aj=ah%2,aj===aj?aj:$throwRuntimeError("integer divide by zero"))))){if(ag){d.Context.Tip.LastChild.Tokens=A.TrimSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));}else{d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));}}}case 70:if("tag"===ab){$s=72;continue;}if("inline-math"===ab){$s=73;continue;}if("inline-memo"===ab){$s=74;continue;}if("a"===ab){$s=75;continue;}if("block-ref"===ab){$s=76;continue;}if("file-annotation-ref"===ab){$s=77;continue;}if("img"===ab){$s=78;continue;}if("backslash"===ab){$s=79;continue;}$s=80;continue;case 72:al=e.isCaret(c);$s=82;case 82:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];if(am){$s=83;continue;}$s=84;continue;case 83:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=85;case 85:return;case 84:if(an){$s=86;continue;}$s=87;continue;case 86:$s=88;case 88:return;case 87:if(e.ParseOptions.TextMark){$s=89;continue;}$s=90;continue;case 89:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=91;case 91:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=92;case 92:return;case 90:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");h.Type=460;h.AppendChild(new D.Node.ptr("","","","",461,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));Q(c,h);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 73:ao=J.GetTextMarkInlineMathData(c);if(""===ao){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.ParseOptions.TextMark){$s=96;continue;}$s=97;continue;case 96:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=99;case 99:return;case 97:h.Type=304;h.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ao),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=100;case 100:return;case 74:aq=e.isCaret(c);$s=101;case 101:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(ar){$s=102;continue;}$s=103;continue;case 102:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=104;case 104:return;case 103:if(as){$s=105;continue;}$s=106;continue;case 105:$s=107;case 107:return;case 106:if(e.ParseOptions.TextMark){$s=108;continue;}$s=109;continue;case 108:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=111;case 111:return;case 109:h.Type=16;at=J.DomText(c);$s=112;case 112:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=J.StrToBytes(at);$s=113;case 113:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}h.Tokens=au;d.Context.Tip.AppendChild(h);$s=114;case 114:return;case 75:if(AE.nil===c.FirstChild){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(33===d.Context.Tip.Type){$s=10;continue;}if(e.ParseOptions.TextMark){$s=118;continue;}$s=119;continue;case 118:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=120;case 120:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=121;case 121:return;case 119:h.Type=33;h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 76:av=J.DomText(c);$s=122;case 122:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;ax=C.TrimSpace(aw);$s=123;case 123:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;if(""===aw){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(aw==="\xE2\x80\xB8"){$s=127;continue;}$s=128;continue;case 127:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=129;case 129:return;case 128:if(e.ParseOptions.TextMark){$s=130;continue;}$s=131;continue;case 130:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=132;case 132:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=133;case 133:return;case 131:h.Type=430;h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ay=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",431,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ay),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",432,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));az=AF.nil;ba=J.DomAttrValue(c,"data-subtype");if("s"===ba||""===ba){az=new D.Node.ptr("","","","",433,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}else{az=new D.Node.ptr("","","","",434,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}if(e.parentIs(c,new AT([365829]))){az.Tokens=A.ReplaceAll(az.Tokens,(new AD($stringToBytes("|"))),(new AD($stringToBytes("|"))));}h.AppendChild(az);h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=134;case 134:return;case 77:bb=J.DomText(c);$s=135;case 135:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=C.TrimSpace(bc);$s=136;case 136:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;if(""===bc){$s=137;continue;}$s=138;continue;case 137:$s=139;case 139:return;case 138:if(bc==="\xE2\x80\xB8"){$s=140;continue;}$s=141;continue;case 140:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=142;case 142:return;case 141:if(e.ParseOptions.TextMark){$s=143;continue;}$s=144;continue;case 143:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=146;case 146:return;case 144:h.Type=540;h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));be=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",541,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",542,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=new D.Node.ptr("","","","",543,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bc),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(bf);h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=147;case 147:return;case 78:bg=e.domChild(c,198403);if(AE.nil===bg){$s=148;continue;}$s=149;continue;case 148:$s=150;case 150:return;case 149:h.Type=34;h.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(bg,"alt");h.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bh),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(bg,"data-src");h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bj=J.DomAttrValue(bg,"title");if(!(""===bj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(d.Context.Tip.LastChild,bg);$s=151;case 151:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=152;case 152:return;case 79:h.Type=400;if(AE.nil===c.FirstChild){$s=153;continue;}$s=154;continue;case 153:$s=155;case 155:return;case 154:if(c.FirstChild===c.LastChild&&!(AE.nil===c.FirstChild.FirstChild)){$s=156;continue;}$s=157;continue;case 156:$s=158;case 158:return;case 157:if(AE.nil===c.FirstChild.NextSibling&&(1===c.FirstChild.Type)){$s=159;continue;}$s=160;continue;case 159:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(c.FirstChild.Data),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=161;case 161:return;case 160:if(!(AE.nil===c.FirstChild.NextSibling)){bk=c.FirstChild.NextSibling.Data;bk=C.ReplaceAll(bk,"\\\\","\\");h.AppendChild(new D.Node.ptr("","","","",401,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bk),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);$s=162;case 162:return;case 80:bm=e.isCaret(c);$s=163;case 163:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;bn=bl[0];bo=bl[1];if(bn){$s=164;continue;}$s=165;continue;case 164:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=166;case 166:return;case 165:if(bo){$s=167;continue;}$s=168;continue;case 167:$s=169;case 169:return;case 168:bp=e.removeTempMark(ab);$s=170;case 170:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}ab=bp;bq=C.ReplaceAll(ab,"backslash","");br=C.TrimSpace(bq);$s=171;case 171:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bq=br;d.Context.Tip.AppendChild(h);if(""===bq){$s=172;continue;}$s=173;continue;case 172:h.Type=16;bs=J.DomText(c);$s=174;case 174:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(bs)));$s=175;case 175:return;case 173:e.setDOMAttrValue(c,"data-type",ab);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=177;case 177:return;case 81:$s=28;continue;case 18:bu=e.isCaret(c);$s=178;case 178:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;bv=bt[0];bw=bt[1];if(bv){$s=179;continue;}$s=180;continue;case 179:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=181;case 181:return;case 180:if(bw){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(e.ParseOptions.TextMark){$s=185;continue;}$s=186;continue;case 185:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=187;case 187:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=188;case 188:return;case 186:h.Type=490;h.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 19:by=e.isCaret(c);$s=189;case 189:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(bz){$s=190;continue;}$s=191;continue;case 190:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=192;case 192:return;case 191:if(ca){$s=193;continue;}$s=194;continue;case 193:$s=195;case 195:return;case 194:if(e.ParseOptions.TextMark){$s=196;continue;}$s=197;continue;case 196:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=198;case 198:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=199;case 199:return;case 197:h.Type=485;h.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 20:cc=e.isCaret(c);$s=200;case 200:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(cd){$s=201;continue;}$s=202;continue;case 201:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=203;case 203:return;case 202:if(ce){$s=204;continue;}$s=205;continue;case 204:$s=206;case 206:return;case 205:if(e.ParseOptions.TextMark){$s=207;continue;}$s=208;continue;case 207:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=209;case 209:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=210;case 210:return;case 208:h.Type=520;h.AppendChild(new D.Node.ptr("","","","",521,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 21:cg=e.isCaret(c);$s=211;case 211:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;ch=cf[0];ci=cf[1];if(ch){$s=212;continue;}$s=213;continue;case 212:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=214;case 214:return;case 213:if(ci){$s=215;continue;}$s=216;continue;case 215:$s=217;case 217:return;case 216:if(e.ParseOptions.TextMark){$s=218;continue;}$s=219;continue;case 218:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=220;case 220:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=221;case 221:return;case 219:h.Type=515;h.AppendChild(new D.Node.ptr("","","","",516,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 22:if(2===d.Context.Tip.Type){$s=222;continue;}$s=223;continue;case 222:$s=224;case 224:return;case 223:if(!(AE.nil===c.PrevSibling)&&"\n"===c.PrevSibling.Data&&e.parentIs(c,new AT([365829]))){$s=225;continue;}$s=226;continue;case 225:$s=227;case 227:return;case 226:h.Type=525;d.Context.Tip.AppendChild(h);$s=228;case 228:return;case 23:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=229;continue;}$s=230;continue;case 229:$s=231;case 231:return;case 230:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ck=e.isCaret(c);$s=232;case 232:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cj=ck;cl=cj[0];cm=cj[1];if(cl){$s=233;continue;}$s=234;continue;case 233:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=235;case 235:return;case 234:if(cm){$s=236;continue;}$s=237;continue;case 236:$s=238;case 238:return;case 237:if(e.ParseOptions.TextMark){$s=239;continue;}$s=240;continue;case 239:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=241;case 241:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=242;case 242:return;case 240:h.Type=17;cn=J.DomAttrValue(c,"data-marker");if(""===cn){cn="*";}if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=243;continue;}$s=244;continue;case 243:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=245;case 245:return;case 244:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");Q(c,h);e.removeInnerMarker(c,"__");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 24:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=246;continue;}$s=247;continue;case 246:$s=248;case 248:return;case 247:if(!(AF.nil===d.Context.Tip.LastChild)){if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))),(new AD($stringToBytes("\\\\\xE2\x80\xB8"))));}if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));}}if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cp=e.isCaret(c);$s=249;case 249:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}co=cp;cq=co[0];cr=co[1];if(cq){$s=250;continue;}$s=251;continue;case 250:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=252;case 252:return;case 251:if(cr){$s=253;continue;}$s=254;continue;case 253:$s=255;case 255:return;case 254:if(e.ParseOptions.TextMark){$s=256;continue;}$s=257;continue;case 256:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=258;case 258:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=259;case 259:return;case 257:h.Type=22;cs=J.DomAttrValue(c,"data-marker");if(""===cs){cs="**";}if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=260;continue;}$s=261;continue;case 260:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=262;case 262:return;case 261:Q(c,h);e.removeInnerMarker(c,"**");$r=H.SetSpanIAL(h,c);$s=263;case 263:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 25:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=264;continue;}$s=265;continue;case 264:$s=266;case 266:return;case 265:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cu=e.isCaret(c);$s=267;case 267:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}ct=cu;cv=ct[0];cw=ct[1];if(cv){$s=268;continue;}$s=269;continue;case 268:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=270;case 270:return;case 269:if(cw){$s=271;continue;}$s=272;continue;case 271:$s=273;case 273:return;case 272:if(e.ParseOptions.TextMark){$s=274;continue;}$s=275;continue;case 274:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=276;case 276:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=277;case 277:return;case 275:h.Type=101;cx=J.DomAttrValue(c,"data-marker");if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=278;continue;}$s=279;continue;case 278:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=280;case 280:return;case 279:Q(c,h);e.removeInnerMarker(c,"~~");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 26:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=281;continue;}$s=282;continue;case 281:$s=283;case 283:return;case 282:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cz=e.isCaret(c);$s=284;case 284:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(da){$s=285;continue;}$s=286;continue;case 285:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=287;case 287:return;case 286:if(db){$s=288;continue;}$s=289;continue;case 288:$s=290;case 290:return;case 289:if(e.ParseOptions.TextMark){$s=291;continue;}$s=292;continue;case 291:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=293;case 293:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=294;case 294:return;case 292:h.Type=450;dc=J.DomAttrValue(c,"data-marker");if("="===dc){h.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=295;continue;}$s=296;continue;case 295:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===dc){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=297;case 297:return;case 296:Q(c,h);e.removeInnerMarker(c,"==");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 27:if("emoji"===f){$s=298;continue;}$s=299;continue;case 298:dd=J.DomAttrValue(c,"alt");h.Type=200;de=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(dd,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");de.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+dd+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(de);d.Context.Tip.AppendChild(h);$s=300;case 300:return;case 299:case 28:case 10:df=c.FirstChild;case 301:if(!(!(df===AE.nil))){$s=302;continue;}$r=e.genASTContenteditable(df,d);$s=303;case 303:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}df=df.NextSibling;$s=301;continue;case 302:if(e.ParseOptions.TextMark){$s=304;continue;}$s=305;continue;case 304:$s=306;case 306:return;case 305:dg=c.DataAtom;if(dg===(378116)){h.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(40708)){dh=J.DomAttrValue(c,"data-type");if("tag"===dh){h.AppendChild(new D.Node.ptr("","","","",462,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if("a"===dh){h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));di=J.DomAttrValue(c,"data-href");if(!(""===e.RenderOptions.LinkBase)){di=C.ReplaceAll(di,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){di=C.ReplaceAll(di,e.RenderOptions.LinkPrefix,"");}h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(di))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dj=J.DomAttrValue(c,"data-title");if(!(""===dj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dj))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(421123)){h.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(461571)){h.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(2817)){h.AppendChild(new D.Node.ptr("","","","",522,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(47363)){h.AppendChild(new D.Node.ptr("","","","",517,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dg===(28162))||(dg===(1537))){dk=J.DomAttrValue(c,"data-marker");if(""===dk){dk="*";}if("_"===dk){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(449798))||(dg===(257))){dl=J.DomAttrValue(c,"data-marker");if(""===dl){dl="**";}if("__"===dl){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(283139))||(dg===(9473))||(dg===(53766))){dm=J.DomAttrValue(c,"data-marker");if("~"===dm){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(46596)){dn=J.DomAttrValue(c,"data-marker");if("="===dn){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTContenteditable,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTContenteditable=function(c,d){return this.$val.genASTContenteditable(c,d);};R.ptr.prototype.setBlockIAL=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;d.SetIALAttr("id",d.ID);g=J.DomAttrValue(c,"refcount");if(!(""===g)){d.SetIALAttr("refcount",g);e=$appendSlice(e,(new AD($stringToBytes(" refcount=\""+g+"\""))));}h=J.DomAttrValue(c,"bookmark");if(!(""===h)){h=F.UnescapeHTMLStr(h);d.SetIALAttr("bookmark",h);e=$appendSlice(e,(new AD($stringToBytes(" bookmark=\""+h+"\""))));}i=J.DomAttrValue(c,"style");if(!(""===i)){$s=1;continue;}$s=2;continue;case 1:i=F.UnescapeHTMLStr(i);j=H.StyleValue(i);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;d.SetIALAttr("style",i);e=$appendSlice(e,(new AD($stringToBytes(" style=\""+i+"\""))));case 2:k=J.DomAttrValue(c,"name");if(!(""===k)){k=F.UnescapeHTMLStr(k);d.SetIALAttr("name",k);e=$appendSlice(e,(new AD($stringToBytes(" name=\""+k+"\""))));}l=J.DomAttrValue(c,"memo");if(!(""===l)){l=F.UnescapeHTMLStr(l);d.SetIALAttr("memo",l);e=$appendSlice(e,(new AD($stringToBytes(" memo=\""+l+"\""))));}m=J.DomAttrValue(c,"alias");if(!(""===m)){m=F.UnescapeHTMLStr(m);d.SetIALAttr("alias",m);e=$appendSlice(e,(new AD($stringToBytes(" alias=\""+m+"\""))));}n=J.DomAttrValue(c,"fold");if(!(""===n)){d.SetIALAttr("fold",n);e=$appendSlice(e,(new AD($stringToBytes(" fold=\""+n+"\""))));}o=J.DomAttrValue(c,"heading-fold");if(!(""===o)){d.SetIALAttr("heading-fold",o);e=$appendSlice(e,(new AD($stringToBytes(" heading-fold=\""+o+"\""))));}p=J.DomAttrValue(c,"parent-fold");if(!(""===p)){d.SetIALAttr("parent-fold",p);e=$appendSlice(e,(new AD($stringToBytes(" parent-fold=\""+p+"\""))));}q=J.DomAttrValue(c,"updated");if(!(""===q)){d.SetIALAttr("updated",q);e=$appendSlice(e,(new AD($stringToBytes(" updated=\""+q+"\""))));}r=J.DomAttrValue(c,"linewrap");if(!(""===r)){d.SetIALAttr("linewrap",r);e=$appendSlice(e,(new AD($stringToBytes(" linewrap=\""+r+"\""))));}s=J.DomAttrValue(c,"ligatures");if(!(""===s)){d.SetIALAttr("ligatures",s);e=$appendSlice(e,(new AD($stringToBytes(" ligatures=\""+s+"\""))));}t=J.DomAttrValue(c,"linenumber");if(!(""===t)){d.SetIALAttr("linenumber",t);e=$appendSlice(e,(new AD($stringToBytes(" linenumber=\""+t+"\""))));}u=J.DomAttrValue(c,"breadcrumb");if(!(""===u)){d.SetIALAttr("breadcrumb",u);e=$appendSlice(e,(new AD($stringToBytes(" breadcrumb=\""+u+"\""))));}v=J.DomAttrValue(c,"data-export-md");if(!(""===v)){v=F.UnescapeHTMLStr(v);d.SetIALAttr("data-export-md",v);e=$appendSlice(e,(new AD($stringToBytes(" data-export-md=\""+v+"\""))));}w=J.DomAttrValue(c,"data-export-html");if(!(""===w)){w=F.UnescapeHTMLStr(w);d.SetIALAttr("data-export-html",w);e=$appendSlice(e,(new AD($stringToBytes(" data-export-html=\""+w+"\""))));}x=J.DomCustomAttrs(c);if(!(false===x)){y=x;z=0;aa=y?y.keys():undefined;ab=y?y.size:0;while(true){if(!(z=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=1;continue;case 2:d.HTML2MdRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2HTMLRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d=d;$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,c,d,e,f,g,$s};return $f;};$pkg.New=S;R.ptr.prototype.Markdown=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;g=H.Parse(c,d,f.ParseOptions);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewHtmlRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f.Md2HTMLRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));f=J.BytesToStr(H.EmojiSitePlaceholder);g=d.ParseOptions.AliasEmoji;h=0;i=g?g.keys():undefined;j=g?g.size:0;while(true){if(!(h=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]),$String),(($assertType((1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]),$Float64)>>0))];};})(j,k)});t++;$s=3;continue;case 4:g++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SetJSRenderers,$c:true,$r,aa,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.SetJSRenderers=function(c){return this.$val.SetJSRenderers(c);};R.ptr.prototype.HTML2Markdown=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=$ifaceNil;f=this;g=f.HTML2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=AD.nil;j=I.NewFormatRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=f.HTML2MdRendererFuncs;m=0;n=l?l.keys():undefined;o=l?l.size:0;while(true){if(!(mL.TrimWhitespace(i.Tokens).$length){$s=60;continue;}$s=61;continue;case 60:$s=62;case 62:return;case 61:if(!(AE.nil===c.Parent)&&(40708===c.Parent.DataAtom)&&(!(""===J.DomAttrValue(c.Parent,"class")))){m=d.Context.Tip.LastChild;if(AF.nil===m||((16===m.Type)&&!A.HasSuffix(m.Tokens,(new AD($stringToBytes("**")))))){i.Tokens=(new AD($stringToBytes("**"+J.BytesToStr(i.Tokens)+"**")));}}d.Context.Tip.AppendChild(i);$s=53;continue;case 21:if(e.parentIs(c,new AT([365829]))||(33===d.Context.Tip.Type)){$s=19;continue;}if(92931===c.DataAtom){$s=63;continue;}$s=64;continue;case 63:n=J.DomAttrValue(c,"class");o="";if(C.Contains(n,"-source-")){o=$substring(n,(C.LastIndex(n,"-source-")+8>>0));}else if(C.Contains(n,"-text-html-basic")){o="html";}if(!(""===o)){$s=65;continue;}$s=66;continue;case 65:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));p=new A.Buffer.ptr(AD.nil,0,0);i.LastChild.CodeBlockInfo=(new AD($stringToBytes(o)));q=J.DomText(c);$s=67;case 67:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=p.WriteString(q);$s=68;case 68:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,p.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(s);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);$s=69;case 69:return;case 66:case 64:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 22:if(33===d.Context.Tip.Type){$s=19;continue;}i.Type=2;i.HeadingLevel=((((t=i.Tokens,(1>=t.$length?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+1]))-48<<24>>>24)>>0));i.AppendChild(new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(C.Repeat("#",i.HeadingLevel)),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 23:i.Type=4;d.Context.Tip.AppendChild(i);$s=53;continue;case 24:i.Type=5;i.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(">"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 25:i.Type=7;i.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){i.ListData.Typ=1;}i.ListData.Tight=true;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 26:i.Type=8;u=J.DomAttrValue(c,"data-marker");v=0;if(""===u){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){w=J.DomAttrValue(c.Parent,"start");if(""===w){u="1.";}else{u=w+".";}}else{u="*";v=u.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)&&!("1."===u)&&(79618===c.Parent.DataAtom)&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){u="1.";}}i.ListData=new D.ListData.ptr(0,false,v,0,0,0,0,false,(new AD($stringToBytes(u))),0);d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 27:x=c.FirstChild;if(!(AE.nil===x)){$s=70;continue;}$s=71;continue;case 70:if((92931===x.DataAtom)&&!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){x=x.NextSibling;c.FirstChild.Unlink();}if((1===x.Type)||(40708===x.DataAtom)||(378116===x.DataAtom)||(354311===x.DataAtom)||(290819===x.DataAtom)){$s=72;continue;}$s=73;continue;case 72:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if((378116===x.DataAtom)||(40708===x.DataAtom)){y=J.DomAttrValue(x,"class");if(!C.Contains(y,"language-")){y=J.DomAttrValue(c,"class");}if(C.Contains(y,"language-")){z=$substring(y,(C.Index(y,"language-")+9>>0));z=(aa=C.Split(z," "),(0>=aa.$length?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+0]));i.LastChild.CodeBlockInfo=(new AD($stringToBytes(z)));}}if(378116===x.DataAtom){if(!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){ab=x.NextSibling;while(true){if(!(!(AE.nil===ab))){break;}ab.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ab=ab.NextSibling;}}if(!(AE.nil===x.FirstChild)&&(79618===x.FirstChild.DataAtom)){ac=x.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ac))){break;}if(!(ac===x.FirstChild.FirstChild)){ac.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));}ac=ac.NextSibling;}}if(!(AE.nil===c.LastChild)&&(42754===c.LastChild.DataAtom)){c.LastChild.Unlink();}}if((290819===x.DataAtom)&&!(AE.nil===x.FirstChild)){ad=x.FirstChild.NextSibling;while(true){if(!(!(AE.nil===ad))){break;}ad.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ad=ad.NextSibling;}}ae=new A.Buffer.ptr(AD.nil,0,0);af=J.DomText(c);$s=75;case 75:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=ae.WriteString(af);$s=76;case 76:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;ah=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ae.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(ah);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(d.Context.Tip.ParentIs(106,BB.nil)){ai=A.Split(ah.Tokens,(new AD($stringToBytes("\n"))));aj=ai;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);if(0>0)){if(d.Context.ParseOption.ProtyleWYSIWYG){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}}ak++;}}else{d.Context.Tip.AppendChild(i);}$s=74;continue;case 73:i.Type=9;ao=J.DomHTML(c);$s=77;case 77:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}i.Tokens=ao;d.Context.Tip.AppendChild(i);case 74:case 71:$s=78;case 78:return;case 28:ap=J.DomText(c);$s=79;case 79:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=C.TrimSpace(aq);$s=82;case 82:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(""===ar){$s=80;continue;}$s=81;continue;case 80:$s=19;continue;case 81:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=17;as="*";i.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(as),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 29:at=J.DomText(c);$s=83;case 83:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=C.TrimSpace(au);$s=86;case 86:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(""===av){$s=84;continue;}$s=85;continue;case 84:$s=19;continue;case 85:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=22;aw="**";i.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 30:if(AE.nil===c.FirstChild){$s=87;continue;}$s=88;continue;case 87:$s=89;case 89:return;case 88:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ax=J.DomHTML(c);$s=90;case 90:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;if(A.Contains(ay,(new AD($stringToBytes(">"))))){ay=$subslice(ay,(A.Index(ay,(new AD($stringToBytes(">"))))+1>>0));}ay=A.TrimSuffix(ay,(new AD($stringToBytes("
    "))));az=F.UnescapeString(($bytesToString(ay)));ay=(new AD($stringToBytes(az)));ba=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.Type=27;i.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(ba);i.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=91;case 91:return;case 31:if(33===d.Context.Tip.Type){$s=19;continue;}if(d.Context.ParseOption.ProtyleWYSIWYG&&e.parentIs(c,new AT([365829]))){i.Type=525;}else{i.Type=31;i.Tokens=J.StrToBytes("\n");}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 32:i.Type=33;bb=J.DomText(c);$s=92;case 92:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;if(""===bc&&!(AE.nil===c.Parent)&&((89090===c.Parent.DataAtom)||(187906===c.Parent.DataAtom)||(199938===c.Parent.DataAtom)||(214274===c.Parent.DataAtom)||(216834===c.Parent.DataAtom)||(412930===c.Parent.DataAtom))){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(""===bc&&AE.nil===c.FirstChild){$s=96;continue;}$s=97;continue;case 96:$s=98;case 98:return;case 97:i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 33:bd=J.DomAttrValue(c,"class");be=J.DomAttrValue(c,"alt");if("emoji"===bd){$s=99;continue;}$s=100;continue;case 99:i.Type=200;bf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(be,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");bf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(":"+be+":"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(bf);$s=101;continue;case 100:i.Type=34;i.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===be)){i.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"src");if(C.HasPrefix(bg,"data:image")){bh=J.DomAttrValue(c,"data-src");if(!(""===bh)){bg=bh;}}if(""===bg){$s=102;continue;}$s=103;continue;case 102:bi=J.DomAttrValue(c,"srcset");if(!(""===bi)){$s=104;continue;}$s=105;continue;case 104:if(C.Contains(bi,",")){$s=106;continue;}$s=107;continue;case 106:bg=(bj=C.Split(bi,","),bk=C.Split(bi,",").$length-1>>0,((bk<0||bk>=bj.$length)?($throwRuntimeError("index out of range"),undefined):bj.$array[bj.$offset+bk]));bl=C.TrimSpace(bg);$s=109;case 109:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bg=bl;if(C.Contains(bg," ")){$s=110;continue;}$s=111;continue;case 110:bn=C.TrimSpace((bm=C.Split(bg," "),(0>=bm.$length?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+0])));$s=112;case 112:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bg=bn;case 111:$s=108;continue;case 107:bo=C.TrimSpace(bg);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bg=bo;if(C.Contains(bg," ")){$s=114;continue;}$s=115;continue;case 114:bq=C.TrimSpace((bp=C.Split(bi," "),(0>=bp.$length?($throwRuntimeError("index out of range"),undefined):bp.$array[bp.$offset+0])));$s=116;case 116:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bg=bq;case 115:case 108:case 105:case 103:i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));br=J.DomAttrValue(c,"title");if(!(""===br)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(br))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 101:if(0===d.Context.Tip.Type){bs=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bs);d.Context.Tip=bs;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 34:i.Type=100;i.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(i);if(!(AF.nil===i.Parent.Parent)){if(AL.nil===i.Parent.Parent.ListData){i.Parent.Parent.ListData=new D.ListData.ptr(3,false,0,0,0,0,0,false,AD.nil,0);}else{i.Parent.Parent.ListData.Typ=3;}}$s=53;continue;case 35:i.Type=101;bt="~";i.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bt),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 36:i.Type=450;bu="==";i.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bu),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 37:i.Type=485;i.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 38:i.Type=490;i.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 39:i.Type=106;bv=AM.nil;if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild.FirstChild)){bw=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===bw))){break;}bx=J.DomAttrValue(bw,"align");by=bx;if(by===("left")){bv=$append(bv,1);}else if(by===("center")){bv=$append(bv,2);}else if(by===("right")){bv=$append(bv,3);}else{bv=$append(bv,0);}bw=bw.NextSibling;}}i.TableAligns=bv;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 40:if(AE.nil===c.FirstChild){$s=19;continue;}i.Type=107;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 41:$s=53;continue;case 42:if(AE.nil===c.FirstChild){$s=19;continue;}bz=c.Parent.Parent;i.Type=108;if(AF.nil===d.Context.Tip.ChildByType(107)&&AE.nil===J.DomChildByType(bz,208901)){ca=new D.Node.ptr("","","","",107,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(ca);d.Context.Tip=ca;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 43:i.Type=109;cb=J.DomAttrValue(c,"align");cc=0;cd=cb;if(cd===("left")){cc=1;}else if(cd===("center")){cc=2;}else if(cd===("right")){cc=3;}else{cc=0;}i.TableCellAlign=cc;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 44:$s=117;case 117:return;case 45:if(AE.nil===c.FirstChild){$s=118;continue;}$s=119;continue;case 118:$s=120;case 120:return;case 119:$s=53;continue;case 46:i.Type=16;ce=J.DomText(c);$s=121;case 121:if($c){$c=false;ce=ce.$blk();}if(ce&&ce.$blk!==undefined){break s;}i.Tokens=(new AD($stringToBytes(ce)));i.Tokens=A.ReplaceAll(i.Tokens,(new AD($stringToBytes("\n"))),AD.nil);d.Context.Tip.AppendChild(i);$s=122;case 122:return;case 47:i.Type=9;cf=J.DomHTML(c);$s=123;case 123:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}i.Tokens=cf;i.Tokens=(cg=A.SplitAfter(i.Tokens,(new AD($stringToBytes("")))),(0>=cg.$length?($throwRuntimeError("index out of range"),undefined):cg.$array[cg.$offset+0]));d.Context.Tip.AppendChild(i);$s=53;continue;case 48:$s=124;case 124:return;case 49:i.Type=9;ch=J.DomHTML(c);$s=125;case 125:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}i.Tokens=ch;d.Context.Tip.AppendChild(i);$s=126;case 126:return;case 50:$s=127;case 127:return;case 51:i.Type=1;i.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomText(c);$s=128;case 128:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}cj=J.StrToBytes(ci);$s=129;case 129:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}$r=i.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cj,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=130;case 130:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip.AppendChild(i);$s=131;case 131:return;case 52:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);case 53:case 19:ck=c.FirstChild;case 132:if(!(!(ck===AE.nil))){$s=133;continue;}$r=e.genASTByDOM(ck,d);$s=134;case 134:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ck=ck.NextSibling;$s=132;continue;case 133:cl=c.DataAtom;if((cl===(28162))||(cl===(1537))){$s=136;continue;}if((cl===(449798))||(cl===(257))){$s=137;continue;}if(cl===(1)){$s=138;continue;}if((cl===(283139))||(cl===(9473))||(cl===(53766))){$s=139;continue;}if(cl===(46596)){$s=140;continue;}if(cl===(461571)){$s=141;continue;}if(cl===(421123)){$s=142;continue;}if(cl===(29191)){$s=143;continue;}$s=144;continue;case 136:cm="*";i.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cm),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 137:cn="**";i.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cn),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=146;case 146:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 138:i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(J.DomAttrValue(c,"href")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));co=J.DomAttrValue(c,"title");if(!(""===co)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(co),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=144;continue;case 139:cp="~";i.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cp),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=147;case 147:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 140:cq="==";i.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cq),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=148;case 148:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 141:i.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=149;case 149:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 142:i.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=150;case 150:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 143:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 144:case 135:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByDOM=function(c,d){return this.$val.genASTByDOM(c,d);};AA=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!(AE.nil===c.NextSibling)){$s=1;continue;}$s=2;continue;case 1:f=J.DomText(c.NextSibling);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!(""===g)){$s=4;continue;}$s=5;continue;case 4:h=(new BC($stringToRunes(g)));if(!P.IsSpace((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){$s=6;continue;}$s=7;continue;case 6:if(P.IsPunct((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))||P.IsSymbol((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){d.Context.Tip.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=-1;return;}i=J.DomText(c);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(""===j)){$s=9;continue;}$s=10;continue;case 9:h=(new BC($stringToRunes(j)));l=(k=h.$length-1>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]));if(P.IsPunct(l)||P.IsSymbol(l)){m=d.Context.Tip.ChildByType(16);if(!(AF.nil===m)){m.Tokens=$appendSlice((new AD($stringToBytes("\xE2\x80\x8B"))),m.Tokens);m.Tokens=$appendSlice(m.Tokens,(new AD($stringToBytes("\xE2\x80\x8B"))));}$s=-1;return;}n=e.prefixSpaces(j);if(!(""===n)){o=d.Context.Tip.Previous;if(!(AF.nil===o)){if(16===o.Type){o.Tokens=$appendSlice(o.Tokens,J.StrToBytes(n));}else{o.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}p=d.Context.Tip.ChildByType(16);p.Tokens=A.TrimLeft(p.Tokens," \xC5\xA0");}n=e.suffixSpaces(j);if(!(""===n)){$s=11;continue;}$s=12;continue;case 11:q=d.Context.Tip.ChildrenByType(16);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(0>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));t.Tokens=A.TrimRight(t.Tokens," \xC5\xA0");if(1>t.Tokens.$length){t.Unlink();}}if(!(AE.nil===c.NextSibling)){if(1===c.NextSibling.Type){c.NextSibling.Data=n+c.NextSibling.Data;}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 12:case 10:case 7:case 5:case 2:$s=-1;return;}return;}var $f={$blk:AA,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};AV.methods=[{prop:"Md2HTML",name:"Md2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorDOM",name:"SpinVditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorDOM",name:"HTML2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2HTML",name:"VditorDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorDOM",name:"Md2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2Md",name:"VditorDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderEChartsJSON",name:"RenderEChartsJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderKityMinderJSON",name:"RenderKityMinderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2Md",name:"HTML2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorDOM2Md",name:"vditorDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"parseHTML",name:"parseHTML",pkg:"github.com/88250/lute",typ:$funcType([$String],[AE],false)},{prop:"adjustVditorDOM",name:"adjustVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListList",name:"adjustVditorDOMListList",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeHighlightJSSpans",name:"removeHighlightJSSpans",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"hljsSpans",name:"hljsSpans",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"removeEmptyNodes",name:"removeEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"searchEmptyNodes",name:"searchEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"mergeVditorDOMList0",name:"mergeVditorDOMList0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListTight0",name:"adjustVditorDOMListTight0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListItemInP",name:"adjustVditorDOMListItemInP",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"forwardNextBlock",name:"forwardNextBlock",pkg:"github.com/88250/lute",typ:$funcType([AE],[AP,AE],false)},{prop:"listItemEnter",name:"listItemEnter",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isTightList",name:"isTightList",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"genASTByVditorDOM",name:"genASTByVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"hasAttr",name:"hasAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[$Bool],false)},{prop:"domChild",name:"domChild",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"domChild0",name:"domChild0",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"setDOMAttrValue",name:"setDOMAttrValue",pkg:"github.com/88250/lute",typ:$funcType([AE,$String,$String],[],false)},{prop:"removeDOMAttr",name:"removeDOMAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"domCode",name:"domCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"domCode0",name:"domCode0",pkg:"github.com/88250/lute",typ:$funcType([AE,AY],[],false)},{prop:"parentIs",name:"parentIs",pkg:"github.com/88250/lute",typ:$funcType([AE,AT],[$Bool],true)},{prop:"getParent",name:"getParent",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"isCaret",name:"isCaret",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool,$Bool],false)},{prop:"isEmptyText",name:"isEmptyText",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"startsWithNewline",name:"startsWithNewline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isInline",name:"isInline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"prefixSpaces",name:"prefixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"suffixSpaces",name:"suffixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorSVDOM",name:"SpinVditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorSVDOM",name:"HTML2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorSVDOM",name:"Md2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorIRDOM",name:"SpinVditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorIRDOM",name:"HTML2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2HTML",name:"VditorIRDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorIRDOM",name:"Md2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2Md",name:"VditorIRDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorIRDOM2Md",name:"vditorIRDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByVditorIRDOM",name:"genASTByVditorIRDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"SpinBlockDOM",name:"SpinBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2BlockDOM",name:"HTML2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2HTML",name:"BlockDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2InlineBlockDOM",name:"BlockDOM2InlineBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2BlockDOM",name:"Md2BlockDOM",pkg:"",typ:$funcType([$String,$Bool],[$String],false)},{prop:"Md2BlockDOMTree",name:"Md2BlockDOMTree",pkg:"",typ:$funcType([$String,$Bool],[$String,AB],false)},{prop:"InlineMd2BlockDOM",name:"InlineMd2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Md",name:"BlockDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2StdMd",name:"BlockDOM2StdMd",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Text",name:"BlockDOM2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2TextLen",name:"BlockDOM2TextLen",pkg:"",typ:$funcType([$String],[$Int],false)},{prop:"BlockDOM2Content",name:"BlockDOM2Content",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2EscapeMarkerContent",name:"BlockDOM2EscapeMarkerContent",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Tree2BlockDOM",name:"Tree2BlockDOM",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"RenderNodeBlockDOM",name:"RenderNodeBlockDOM",pkg:"",typ:$funcType([AF],[$String],false)},{prop:"BlockDOM2Tree",name:"BlockDOM2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"MergeSameTextMark",name:"MergeSameTextMark",pkg:"",typ:$funcType([AF],[],false)},{prop:"MergeSameSpan",name:"MergeSameSpan",pkg:"",typ:$funcType([AF],[],false)},{prop:"CancelSuperBlock",name:"CancelSuperBlock",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelList",name:"CancelList",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelBlockquote",name:"CancelBlockquote",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Ps",name:"Blocks2Ps",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Hs",name:"Blocks2Hs",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"OL2TL",name:"OL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2TL",name:"UL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2OL",name:"TL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2UL",name:"TL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"OL2UL",name:"OL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2OL",name:"UL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"blockDOM2Md",name:"blockDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByBlockDOM",name:"genASTByBlockDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"genASTContenteditable",name:"genASTContenteditable",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"setBlockIAL",name:"setBlockIAL",pkg:"github.com/88250/lute",typ:$funcType([AE,AF],[AD],false)},{prop:"removeInnerMarker",name:"removeInnerMarker",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeInnerMarker0",name:"removeInnerMarker0",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeTempMark",name:"removeTempMark",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"Markdown",name:"Markdown",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"MarkdownStr",name:"MarkdownStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"FormatStr",name:"FormatStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"TextBundle",name:"TextBundle",pkg:"",typ:$funcType([$String,AD,AJ],[AD,AJ],false)},{prop:"TextBundleStr",name:"TextBundleStr",pkg:"",typ:$funcType([$String,$String,AJ],[$String,AJ],false)},{prop:"HTML2Text",name:"HTML2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderJSON",name:"RenderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"IsValidLinkDest",name:"IsValidLinkDest",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"GetEmojis",name:"GetEmojis",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutEmojis",name:"PutEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"RemoveEmoji",name:"RemoveEmoji",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetTerms",name:"GetTerms",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutTerms",name:"PutTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"ProtylePreview",name:"ProtylePreview",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"Tree2HTML",name:"Tree2HTML",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"SetGFMTable",name:"SetGFMTable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItem",name:"SetGFMTaskListItem",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItemClass",name:"SetGFMTaskListItemClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetGFMStrikethrough",name:"SetGFMStrikethrough",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMAutoLink",name:"SetGFMAutoLink",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSoftBreak2HardBreak",name:"SetSoftBreak2HardBreak",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlight",name:"SetCodeSyntaxHighlight",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightDetectLang",name:"SetCodeSyntaxHighlightDetectLang",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightInlineStyle",name:"SetCodeSyntaxHighlightInlineStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightLineNum",name:"SetCodeSyntaxHighlightLineNum",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightStyleName",name:"SetCodeSyntaxHighlightStyleName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetFootnotes",name:"SetFootnotes",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetToC",name:"SetToC",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHeadingID",name:"SetHeadingID",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetAutoSpace",name:"SetAutoSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFixTermTypo",name:"SetFixTermTypo",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmoji",name:"SetEmoji",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmojis",name:"SetEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetEmojiSite",name:"SetEmojiSite",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetHeadingAnchor",name:"SetHeadingAnchor",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTerms",name:"SetTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetVditorWYSIWYG",name:"SetVditorWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleWYSIWYG",name:"SetProtyleWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorIR",name:"SetVditorIR",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorSV",name:"SetVditorSV",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMathAllowDigitAfterOpenMarker",name:"SetInlineMathAllowDigitAfterOpenMarker",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkPrefix",name:"SetLinkPrefix",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLinkBase",name:"SetLinkBase",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetLinkBase",name:"GetLinkBase",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetVditorCodeBlockPreview",name:"SetVditorCodeBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorMathBlockPreview",name:"SetVditorMathBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorHTMLBlockPreview",name:"SetVditorHTMLBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetRenderListStyle",name:"SetRenderListStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSanitize",name:"SetSanitize",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImageLazyLoading",name:"SetImageLazyLoading",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetChineseParagraphBeginningSpace",name:"SetChineseParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetYamlFrontMatter",name:"SetYamlFrontMatter",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSetext",name:"SetSetext",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetBlockRef",name:"SetBlockRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFileAnnotationRef",name:"SetFileAnnotationRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetMark",name:"SetMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIAL",name:"SetKramdownIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownBlockIAL",name:"SetKramdownBlockIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownSpanIAL",name:"SetKramdownSpanIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIALIDRenderName",name:"SetKramdownIALIDRenderName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTag",name:"SetTag",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImgPathAllowSpace",name:"SetImgPathAllowSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSuperBlock",name:"SetSuperBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSup",name:"SetSup",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSub",name:"SetSub",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGitConflict",name:"SetGitConflict",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkRef",name:"SetLinkRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetIndentCodeBlock",name:"SetIndentCodeBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetDataImage",name:"SetDataImage",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTextMark",name:"SetTextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpin",name:"SetSpin",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHTMLTag2TextMark",name:"SetHTMLTag2TextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetParagraphBeginningSpace",name:"SetParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleMarkNetImg",name:"SetProtyleMarkNetImg",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpellcheck",name:"SetSpellcheck",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetJSRenderers",name:"SetJSRenderers",pkg:"",typ:$funcType([BG],[],false)},{prop:"HTML2Markdown",name:"HTML2Markdown",pkg:"",typ:$funcType([$String],[$String,$error],false)},{prop:"HTML2Tree",name:"HTML2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"genASTByDOM",name:"genASTByDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)}];R.init("",[{prop:"ParseOptions",name:"ParseOptions",embedded:false,exported:true,typ:AO,tag:""},{prop:"RenderOptions",name:"RenderOptions",embedded:false,exported:true,typ:AC,tag:""},{prop:"HTML2MdRendererFuncs",name:"HTML2MdRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorDOMRendererFuncs",name:"HTML2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorIRDOMRendererFuncs",name:"HTML2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2BlockDOMRendererFuncs",name:"HTML2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorSVDOMRendererFuncs",name:"HTML2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2HTMLRendererFuncs",name:"Md2HTMLRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorDOMRendererFuncs",name:"Md2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorIRDOMRendererFuncs",name:"Md2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2BlockDOMRendererFuncs",name:"Md2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorSVDOMRendererFuncs",name:"Md2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""}]);Z.init([AV],[],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=I.NewFormatRenderer(AB.nil,AC.nil);$s=17;case 17:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}T=a;b=I.NewProtyleExportMdRenderer(AB.nil,AC.nil);$s=18;case 18:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}W=b;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/javascript"]=(function(){var $pkg={},$init,A,B,C,D,E,F,J,K,L,M,N,O,P,Q,R,S,G,H,I;A=$packages["github.com/88250/lute"];B=$packages["github.com/88250/lute/ast"];C=$packages["github.com/88250/lute/editor"];D=$packages["github.com/88250/lute/html"];E=$packages["github.com/88250/lute/render"];F=$packages["github.com/gopherjs/gopherjs/js"];J=$ptrType(F.Object);K=$mapType($String,J);L=$mapType($String,K);M=$funcType([L],[J],false);N=$ptrType(B.Node);O=$funcType([N],[$String],false);P=$funcType([],[$String],false);Q=$funcType([$String],[$String],false);R=$mapType($String,$emptyInterface);S=$sliceType(A.ParseOption);G=function(){$global.Lute=$externalize($makeMap($String.keyFor,[{k:"Version",v:new $String("1.7.5")},{k:"New",v:new M(H)},{k:"WalkStop",v:new $Int(0)},{k:"WalkSkipChildren",v:new $Int(1)},{k:"WalkContinue",v:new $Int(2)},{k:"GetHeadingID",v:new O(E.HeadingID)},{k:"Caret",v:new $String("\xE2\x80\xB8")},{k:"NewNodeID",v:new P(B.NewNodeID)},{k:"EscapeHTMLStr",v:new Q(D.EscapeHTMLStr)},{k:"UnEscapeHTMLStr",v:new Q(D.UnescapeHTMLStr)},{k:"EChartsMindmapStr",v:new Q(E.EChartsMindmapStr)},{k:"Sanitize",v:new Q(E.Sanitize)},{k:"BlockDOM2Content",v:new Q(I)}]),R);};H=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.SetJSRenderers(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return F.MakeWrapper(c);}return;}var $f={$blk:H,$c:true,$r,a,b,c,$s};return $f;};$pkg.New=H;I=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;c.SetProtyleWYSIWYG(true);c.SetBlockRef(true);c.SetFileAnnotationRef(true);c.SetKramdownIAL(true);c.SetTag(true);c.SetSuperBlock(true);c.SetImgPathAllowSpace(true);c.SetGitConflict(true);c.SetMark(true);c.SetSup(true);c.SetSub(true);c.SetInlineMathAllowDigitAfterOpenMarker(true);c.SetFootnotes(false);c.SetToC(false);c.SetIndentCodeBlock(false);c.SetParagraphBeginningSpace(true);c.SetAutoSpace(false);c.SetHeadingID(false);c.SetSetext(false);c.SetYamlFrontMatter(false);c.SetLinkRef(false);c.SetCodeSyntaxHighlight(false);c.SetSanitize(true);d=c.BlockDOM2Content(a);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=3;case 3:return e;}return;}var $f={$blk:I,$c:true,$r,a,b,c,d,e,$s};return $f;};$pkg.BlockDOM2Content=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){G();$mainFinished=true;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $synthesizeMethods(); $initAllLinknames(); diff --git a/kernel/go.mod b/kernel/go.mod index 45e00822c8b..79c3d92d7da 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -9,7 +9,7 @@ require ( github.com/88250/clipboard v0.1.5 github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48 github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c - github.com/88250/lute v1.7.6-0.20240115144346-d66c956e0189 + github.com/88250/lute v1.7.6-0.20240116093422-2de70d715a4d github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4 diff --git a/kernel/go.sum b/kernel/go.sum index 48b994339a2..68cb9aae13a 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -10,8 +10,8 @@ github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950 h1:Pa5hMiBceT github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c h1:Fas3hxqP33xA9KKDV50jUmppiiOukk5bdV00Hk5VSSk= github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c/go.mod h1:pTWnjt+6qUqNnP9xltswsJxgCBVu3C7eW09u48LWX0k= -github.com/88250/lute v1.7.6-0.20240115144346-d66c956e0189 h1:GVGRSVGaELzKBKEMKoH7n/hfbENtxzFeVf6FEw3sowg= -github.com/88250/lute v1.7.6-0.20240115144346-d66c956e0189/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg= +github.com/88250/lute v1.7.6-0.20240116093422-2de70d715a4d h1:LAbl0KsBRGbyxzeaRo+rWTv2OHriRxcMUv30PDsxzQU= +github.com/88250/lute v1.7.6-0.20240116093422-2de70d715a4d/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c h1:Dl/8S9iLyPMTElnWIBxmjaLiWrkI5P4a21ivwAn5pU0= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4= github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY= From 7ee8ee1a5125586f6420c53160506b52d631bd43 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 16 Jan 2024 21:39:51 +0800 Subject: [PATCH 036/109] :art: fix https://github.com/siyuan-note/siyuan/issues/10199 --- app/src/config/bazaar.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index f108a4d565a..07fa111053a 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -286,7 +286,7 @@ export const bazaar = { }; return `
    - +
    @@ -373,7 +373,7 @@ export const bazaar = { }); } html += `
    -
    +
    ${item.preferredName} ${item.name} @@ -462,7 +462,7 @@ export const bazaar = {
    - + ${data.preferredName}
    ${data.name} From 52b400c7932308a8a39b082100a213d18da3267d Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 16 Jan 2024 21:42:34 +0800 Subject: [PATCH 037/109] :art: Prevent syncMergeResult push nil --- kernel/model/sync.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/kernel/model/sync.go b/kernel/model/sync.go index 20be7c92e9a..a8c041462a0 100644 --- a/kernel/model/sync.go +++ b/kernel/model/sync.go @@ -279,6 +279,13 @@ func incReindex(upserts, removes []string) (upsertRootIDs, removeRootIDs []strin util.IncBootProgress(3, "Sync reindexing...") removeRootIDs = removeIndexes(removes) // 先执行 remove,否则移动文档时 upsert 会被忽略,导致未被索引 upsertRootIDs = upsertIndexes(upserts) + + if 1 > len(removeRootIDs) { + removeRootIDs = []string{} + } + if 1 > len(upsertRootIDs) { + upsertRootIDs = []string{} + } return } @@ -301,6 +308,10 @@ func removeIndexes(removeFilePaths []string) (removeRootIDs []string) { sql.RemoveTreeQueue(block.BoxID, block.RootID) } } + + if 1 > len(removeRootIDs) { + removeRootIDs = []string{} + } return } @@ -336,6 +347,10 @@ func upsertIndexes(upsertFilePaths []string) (upsertRootIDs []string) { sql.UpsertTreeQueue(tree) upsertRootIDs = append(upsertRootIDs, tree.Root.ID) } + + if 1 > len(upsertRootIDs) { + upsertRootIDs = []string{} + } return } From 6a2cc1e91e85eada1a7c29b2bdca713def21e427 Mon Sep 17 00:00:00 2001 From: mingpepe Date: Tue, 16 Jan 2024 21:59:16 +0800 Subject: [PATCH 038/109] Simplify retry mechanism to get system version (#10198) --- app/electron/main.js | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/app/electron/main.js b/app/electron/main.js index cc07200a97b..368f1f3be91 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -540,36 +540,30 @@ const initKernel = (workspace, port, lang) => { }); } - let gotVersion = false; let apiData; let count = 0; writeLog("checking kernel version"); - while (!gotVersion && count < 15) { + while (true) { try { const apiResult = await net.fetch(getServer() + "/api/system/version"); apiData = await apiResult.json(); - gotVersion = true; bootWindow.setResizable(false); bootWindow.loadURL(getServer() + "/appearance/boot/index.html"); bootWindow.show(); + break; } catch (e) { writeLog("get kernel version failed: " + e.message); - await sleep(200); - } finally { - count++; - if (14 < count) { + if (14 < ++count) { writeLog("get kernel ver failed"); showErrorWindow("⚠️ 获取内核服务端口失败 Failed to get kernel serve port", "
    获取内核服务端口失败,请确保程序拥有网络权限并不受防火墙和杀毒软件阻止。
    Failed to get kernel serve port, please make sure the program has network permissions and is not blocked by firewalls and antivirus software.
    "); bootWindow.destroy(); resolve(false); + return; } + await sleep(200); } } - if (!gotVersion) { - return; - } - if (0 === apiData.code) { writeLog("got kernel version [" + apiData.data + "]"); if (!isDevEnv && apiData.data !== appVer) { From b2500139ebf3e62ceb37a25a5154614420129401 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 17 Jan 2024 11:01:23 +0800 Subject: [PATCH 039/109] :bug: Fix block ref search sorting https://github.com/siyuan-note/siyuan/issues/10164 https://github.com/siyuan-note/siyuan/issues/8886 --- kernel/model/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/search.go b/kernel/model/search.go index 328f8259066..45345569d54 100644 --- a/kernel/model/search.go +++ b/kernel/model/search.go @@ -948,7 +948,7 @@ func fullTextSearchRefBlock(keyword string, beforeLen int, onlyDoc bool) (ret [] when memo LIKE '%${keyword}%' then 90 when content LIKE '%${keyword}%' and type != 'i' and type != 'l' then 100 else 65535 end ASC, sort ASC, length ASC` - orderBy = strings.ReplaceAll(orderBy, "${keyword}", quotedKeyword) + orderBy = strings.ReplaceAll(orderBy, "${keyword}", strings.ReplaceAll(keyword, "'", "''")) stmt += orderBy + " LIMIT " + strconv.Itoa(Conf.Search.Limit) blocks := sql.SelectBlocksRawStmtNoParse(stmt, Conf.Search.Limit) ret = fromSQLBlocks(&blocks, "", beforeLen) From 58f9c03a702cb5e878226b0299a545916ae1f14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yingyi=20/=20=E9=A2=96=E9=80=B8?= <49649786+Zuoqiu-Yingyi@users.noreply.github.com> Date: Wed, 17 Jan 2024 11:16:37 +0800 Subject: [PATCH 040/109] Adjust the style of the first column of the attribute view (#10178) * :art: Adjust the style of the column pinned to the attribute view * :art: Adjust the style of first column icon * Update index.ts * :art: Adjust the style of add row in attribute view https://github.com/siyuan-note/siyuan/pull/9830?notification_referrer_id=NT_kwDOAvWYerM4NjY1MTYyMTg0OjQ5NjQ5Nzg2#issuecomment-1853268143 * Update protyle.ts * :art: Add `box-shadow` for `.av__colsticky` --- app/src/assets/scss/business/_av.scss | 42 ++++++++++++++++++++++----- app/src/menus/protyle.ts | 2 +- app/src/protyle/render/av/action.ts | 12 ++++---- app/src/protyle/render/av/keydown.ts | 17 +++++------ app/src/protyle/render/av/render.ts | 26 ++++++++++------- app/src/protyle/render/av/row.ts | 10 +++---- app/src/protyle/wysiwyg/index.ts | 2 +- 7 files changed, 70 insertions(+), 41 deletions(-) diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss index 99a3abd5def..925f5939c8a 100644 --- a/app/src/assets/scss/business/_av.scss +++ b/app/src/assets/scss/business/_av.scss @@ -109,7 +109,7 @@ background-color: var(--b3-av-background-hl) !important; } - .av__firstcol svg { + .av__firstcol .av__firstcol--icon { opacity: 1; } } @@ -178,11 +178,16 @@ display: flex; .b3-button { - margin: 3px 0 3px 24px; + padding: 4px 8px; + margin: 4px; color: var(--b3-theme-on-surface); background-color: transparent; font-size: 75%; + > div { + background-color: transparent; + } + &:hover, &:focus { background-color: var(--b3-av-hover); @@ -205,6 +210,23 @@ } } } + + &, + &--util, + &--footer { + &:hover { + .av__firstcol--icon { + opacity: 1; + } + } + } + + &, + &--footer { + .av__colsticky { + box-shadow: 2px 0 4px var(--b3-theme-surface-lighter); + } + } } &__cell { @@ -241,6 +263,10 @@ border-right-color: var(--b3-theme-primary-lighter); } + &--add { + padding-left: 0.5em; + } + &--select { background-color: var(--b3-menu-background); box-shadow: 2px 2px 0 var(--b3-theme-primary-lighter) inset, -2px -2px 0px var(--b3-theme-primary-lighter) inset; @@ -339,15 +365,16 @@ } &__firstcol { - svg { + border-right: 1px solid var(--b3-theme-surface-lighter); + + &--icon { @extend .av__checkbox; - opacity: 0; padding: 9.5px 5px; - cursor: pointer; + opacity: 0; } - &:hover svg { - opacity: 1; + &--checkbox { + cursor: pointer; } } @@ -357,7 +384,6 @@ z-index: 2; // 需大于 av__widthdrag,否则横行滚动后,拖拽会悬浮于 stick 列上 display: flex; - &.av__firstcol, & > div:not(.av__cell--select):not(.av__cell--active) { background-color: var(--av-background); } diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index f17ab800bdd..6deb8f3f166 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -1883,7 +1883,7 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea nodeElement.querySelectorAll(".img--select, .av__cell--select, .av__cell--active, .av__row--select").forEach((item: HTMLElement) => { if (item.classList.contains("av__row--select")) { item.classList.remove("av__row--select"); - item.querySelector(".av__firstcol use").setAttribute("xlink:href", "#iconUncheck"); + item.querySelector(".av__firstcol--checkbox use").setAttribute("xlink:href", "#iconUncheck"); updateHeader(item); } else { item.querySelector(".av__drag-fill")?.remove(); diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 3c844a327d9..f48274ff127 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -35,7 +35,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle if (event.shiftKey) { const rowElement = hasClosestByClassName(event.target, "av__row"); if (rowElement && !rowElement.classList.contains("av__row--header")) { - selectRow(rowElement.querySelector(".av__firstcol"), "toggle"); + selectRow(rowElement.querySelector(".av__firstcol--checkbox"), "toggle"); return true; } } @@ -159,7 +159,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle event.preventDefault(); event.stopPropagation(); return true; - } else if (target.classList.contains("av__firstcol")) { + } else if (target.classList.contains("av__firstcol--checkbox")) { window.siyuan.menus.menu.remove(); selectRow(target, "toggle"); event.preventDefault(); @@ -214,10 +214,10 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle } const type = getTypeByCellElement(target); if (type === "updated" || type === "created" || (type === "block" && !target.getAttribute("data-detached"))) { - selectRow(rowElement.querySelector(".av__firstcol"), "toggle"); + selectRow(rowElement.querySelector(".av__firstcol--checkbox"), "toggle"); } else { scrollElement.querySelectorAll(".av__row--select").forEach(item => { - item.querySelector(".av__firstcol use").setAttribute("xlink:href", "#iconUncheck"); + item.querySelector(".av__firstcol--checkbox use").setAttribute("xlink:href", "#iconUncheck"); item.classList.remove("av__row--select"); }); updateHeader(rowElement); @@ -264,7 +264,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi blockElement.querySelectorAll(".av__row--select").forEach(item => { item.classList.remove("av__row--select"); }); - blockElement.querySelectorAll(".av__firstcol use").forEach(item => { + blockElement.querySelectorAll(".av__firstcol--checkbox use").forEach(item => { item.setAttribute("xlink:href", "#iconUncheck"); }); } @@ -274,7 +274,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi return true; } rowElement.classList.add("av__row--select"); - rowElement.querySelector(".av__firstcol use").setAttribute("xlink:href", "#iconCheck"); + rowElement.querySelector(".av__firstcol--checkbox use").setAttribute("xlink:href", "#iconCheck"); const rowElements = blockElement.querySelectorAll(".av__row--select:not(.av__row--header)"); updateHeader(rowElement); if (!protyle.disabled) { diff --git a/app/src/protyle/render/av/keydown.ts b/app/src/protyle/render/av/keydown.ts index a9dee131ff4..cf4bdf755fa 100644 --- a/app/src/protyle/render/av/keydown.ts +++ b/app/src/protyle/render/av/keydown.ts @@ -29,7 +29,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl }); if (event.key === "Escape") { selectCellElement.classList.remove("av__cell--select"); - selectRow(rowElement.querySelector(".av__firstcol"), "select"); + selectRow(rowElement.querySelector(".av__firstcol--checkbox"), "select"); event.preventDefault(); return true; } @@ -46,7 +46,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl let newCellElement; if (event.key === "ArrowLeft" || matchHotKey("⇧⇥", event)) { const previousRowElement = rowElement.previousElementSibling; - if (selectCellElement.previousElementSibling && !selectCellElement.previousElementSibling.classList.contains("av__firstcol")) { + if (selectCellElement.previousElementSibling && !selectCellElement.previousElementSibling.classList.contains("av__firstcol--checkbox")) { if (selectCellElement.previousElementSibling.classList.contains("av__cell")) { newCellElement = selectCellElement.previousElementSibling; } else { @@ -133,7 +133,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl } if (event.key === "Escape") { event.preventDefault(); - selectRow(selectRowElements[0].querySelector(".av__firstcol"), "unselectAll"); + selectRow(selectRowElements[0].querySelector(".av__firstcol--checkbox"), "unselectAll"); return true; } if (event.key === "Backspace") { @@ -142,7 +142,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl return true; } if (event.key === "Enter") { - selectRow(selectRowElements[0].querySelector(".av__firstcol"), "unselectAll"); + selectRow(selectRowElements[0].querySelector(".av__firstcol--checkbox"), "unselectAll"); popTextCell(protyle, [selectRowElements[0].querySelector(".av__cell")]); event.preventDefault(); return true; @@ -150,9 +150,9 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl // TODO event.shiftKey if (event.key === "ArrowUp") { const previousRowElement = selectRowElements[0].previousElementSibling; - selectRow(selectRowElements[0].querySelector(".av__firstcol"), "unselectAll"); + selectRow(selectRowElements[0].querySelector(".av__firstcol--checkbox"), "unselectAll"); if (previousRowElement && !previousRowElement.classList.contains("av__row--header")) { - selectRow(previousRowElement.querySelector(".av__firstcol"), "select"); + selectRow(previousRowElement.querySelector(".av__firstcol--checkbox"), "select"); cellScrollIntoView(nodeElement, previousRowElement); } else { nodeElement.classList.add("protyle-wysiwyg--select"); @@ -162,9 +162,9 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl } if (event.key === "ArrowDown") { const nextRowElement = selectRowElements[selectRowElements.length - 1].nextElementSibling; - selectRow(selectRowElements[0].querySelector(".av__firstcol"), "unselectAll"); + selectRow(selectRowElements[0].querySelector(".av__firstcol--checkbox"), "unselectAll"); if (nextRowElement && !nextRowElement.classList.contains("av__row--util")) { - selectRow(nextRowElement.querySelector(".av__firstcol"), "select"); + selectRow(nextRowElement.querySelector(".av__firstcol--checkbox"), "select"); cellScrollIntoView(nodeElement, nextRowElement); } else { nodeElement.classList.add("protyle-wysiwyg--select"); @@ -175,4 +175,3 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl } return false; }; - diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts index 2c79830ee14..300e4a9bd30 100644 --- a/app/src/protyle/render/av/render.ts +++ b/app/src/protyle/render/av/render.ts @@ -67,8 +67,8 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v e.dataset.pageSize = data.pageSize.toString(); } // header - let tableHTML = '
    '; - let calcHTML = '
    '; + let tableHTML = '
    '; + let calcHTML = '
    '; let pinIndex = -1; let pinMaxIndex = -1; let indexWidth = 0; @@ -85,9 +85,9 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v } }); pinIndex = Math.min(pinIndex, pinMaxIndex); - if (pinIndex > -1) { - tableHTML = '
    '; - calcHTML = '
    '; + if (pinIndex < 0) { + tableHTML += '
    '; + calcHTML += '
    '; } data.columns.forEach((column: IAVColumn, index: number) => { if (column.hidden) { @@ -118,11 +118,15 @@ style="width: ${column.width || "200px"}">${getCalcValue(column) || '`; // body data.rows.forEach((row: IAVRow) => { - tableHTML += `
    `; - if (pinIndex > -1) { - tableHTML += '
    '; - } else { - tableHTML += '
    '; + tableHTML += `
    +
    +
    + +
    +`; + + if (pinIndex < 0) { + tableHTML += '
    '; } row.cells.forEach((cell, index) => { @@ -193,11 +197,11 @@ ${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value)}
    `; ${tableHTML}
    + - + + @@ -478,8 +480,6 @@ export const initKeyboardToolbar = () => { - -
    From 9113de3917771f3d1a15a522c43db49e08205684 Mon Sep 17 00:00:00 2001 From: terwer Date: Thu, 18 Jan 2024 19:35:24 +0800 Subject: [PATCH 052/109] :recycle: Upgrade @electron/remote v2.1.1 (#10214) --- app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/package.json b/app/package.json index b29c423c823..6e8c40a5336 100644 --- a/app/package.json +++ b/app/package.json @@ -74,6 +74,6 @@ "webpack-cli": "^4.10.0" }, "dependencies": { - "@electron/remote": "^2.0.12" + "@electron/remote": "^2.1.1" } } From 2769fc3e03e5f50fd7574c21973726b71b5116f1 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 18 Jan 2024 19:46:21 +0800 Subject: [PATCH 053/109] :bug: fix https://github.com/siyuan-note/siyuan/issues/10207 --- app/src/protyle/wysiwyg/remove.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.ts index a71595a6b77..b7a6d010d73 100644 --- a/app/src/protyle/wysiwyg/remove.ts +++ b/app/src/protyle/wysiwyg/remove.ts @@ -446,7 +446,9 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran } return; } - if (editableElement.textContent !== "") { + if (editableElement.textContent !== "" || + // https://github.com/siyuan-note/siyuan/issues/10207 + blockElement.classList.contains("av")) { focusBlock(previousLastElement, undefined, false); return; } From 43042e8dc2fa3babe36750b1f3501ae510effd80 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 18 Jan 2024 21:01:36 +0800 Subject: [PATCH 054/109] :art: Add some database related internal kernel APIs https://github.com/siyuan-note/siyuan/issues/10201 --- kernel/api/av.go | 68 ++++++++++++++++++++++++- kernel/api/router.go | 2 + kernel/model/attribute_view.go | 92 +++++++++++++++++++++++----------- 3 files changed, 131 insertions(+), 31 deletions(-) diff --git a/kernel/api/av.go b/kernel/api/av.go index f86b08a003d..f3ec8568c09 100644 --- a/kernel/api/av.go +++ b/kernel/api/av.go @@ -26,6 +26,61 @@ import ( "github.com/siyuan-note/siyuan/kernel/util" ) +func addAttributeViewValues(c *gin.Context) { + ret := gulu.Ret.NewResult() + defer c.JSON(http.StatusOK, ret) + + arg, _ := util.JsonArg(c, ret) + if nil == arg { + return + } + + avID := arg["avID"].(string) + var srcIDs []string + for _, v := range arg["srcIDs"].([]interface{}) { + srcIDs = append(srcIDs, v.(string)) + } + var previousID string + if nil != arg["previousID"] { + previousID = arg["previousID"].(string) + } + isDetached := arg["isDetached"].(bool) + + err := model.AddAttributeViewBlock(nil, srcIDs, avID, previousID, isDetached) + if nil != err { + ret.Code = -1 + ret.Msg = err.Error() + return + } + + pushRefreshAttrView(avID) +} + +func removeAttributeViewValues(c *gin.Context) { + ret := gulu.Ret.NewResult() + defer c.JSON(http.StatusOK, ret) + + arg, _ := util.JsonArg(c, ret) + if nil == arg { + return + } + + avID := arg["avID"].(string) + var srcIDs []string + for _, v := range arg["srcIDs"].([]interface{}) { + srcIDs = append(srcIDs, v.(string)) + } + + err := model.RemoveAttributeViewBlock(srcIDs, avID) + if nil != err { + ret.Code = -1 + ret.Msg = err.Error() + return + } + + pushRefreshAttrView(avID) +} + func addAttributeViewCol(c *gin.Context) { ret := gulu.Ret.NewResult() defer c.JSON(http.StatusOK, ret) @@ -48,6 +103,8 @@ func addAttributeViewCol(c *gin.Context) { ret.Msg = err.Error() return } + + pushRefreshAttrView(avID) } func removeAttributeViewCol(c *gin.Context) { @@ -68,6 +125,8 @@ func removeAttributeViewCol(c *gin.Context) { ret.Msg = err.Error() return } + + pushRefreshAttrView(avID) } func sortAttributeViewCol(c *gin.Context) { @@ -89,6 +148,8 @@ func sortAttributeViewCol(c *gin.Context) { ret.Msg = err.Error() return } + + pushRefreshAttrView(avID) } func getAttributeViewFilterSort(c *gin.Context) { @@ -357,6 +418,11 @@ func setAttributeViewBlockAttr(c *gin.Context) { cellID := arg["cellID"].(string) value := arg["value"].(interface{}) blockAttributeViewKeys := model.UpdateAttributeViewCell(nil, avID, keyID, rowID, cellID, value) - util.BroadcastByType("protyle", "refreshAttributeView", 0, "", map[string]interface{}{"id": avID}) ret.Data = blockAttributeViewKeys + + pushRefreshAttrView(avID) +} + +func pushRefreshAttrView(avID string) { + util.BroadcastByType("protyle", "refreshAttributeView", 0, "", map[string]interface{}{"id": avID}) } diff --git a/kernel/api/router.go b/kernel/api/router.go index 4bf3d70ab1d..1b162e29aeb 100644 --- a/kernel/api/router.go +++ b/kernel/api/router.go @@ -401,6 +401,8 @@ func ServeAPI(ginServer *gin.Engine) { ginServer.Handle("POST", "/api/av/addAttributeViewKey", model.CheckAuth, model.CheckReadonly, addAttributeViewCol) ginServer.Handle("POST", "/api/av/removeAttributeViewKey", model.CheckAuth, model.CheckReadonly, removeAttributeViewCol) ginServer.Handle("POST", "/api/av/sortAttributeViewKey", model.CheckAuth, model.CheckReadonly, sortAttributeViewCol) + ginServer.Handle("POST", "/api/av/addAttributeViewValues", model.CheckAuth, model.CheckReadonly, addAttributeViewValues) + ginServer.Handle("POST", "/api/av/removeAttributeViewValues", model.CheckAuth, model.CheckReadonly, removeAttributeViewValues) ginServer.Handle("POST", "/api/ai/chatGPT", model.CheckAuth, chatGPT) ginServer.Handle("POST", "/api/ai/chatGPTWithAction", model.CheckAuth, chatGPTWithAction) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 3f23f976ba8..0e79325a393 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -1518,24 +1518,39 @@ func setAttributeViewColumnCalc(operation *Operation) (err error) { } func (tx *Transaction) doInsertAttrViewBlock(operation *Operation) (ret *TxErr) { - for _, id := range operation.SrcIDs { - tree, err := tx.loadTree(id) - if nil != err && !operation.IsDetached { - logging.LogErrorf("load tree [%s] failed: %s", id, err) - return &TxErr{code: TxErrCodeBlockNotFound, id: id, msg: err.Error()} + err := AddAttributeViewBlock(tx, operation.SrcIDs, operation.AvID, operation.PreviousID, operation.IsDetached) + if nil != err { + return &TxErr{code: TxErrWriteAttributeView, id: operation.AvID, msg: err.Error()} + } + return +} + +func AddAttributeViewBlock(tx *Transaction, srcIDs []string, avID, previousBlockID string, isDetached bool) (err error) { + for _, id := range srcIDs { + var tree *parse.Tree + if !isDetached { + var loadErr error + if nil != tx { + tree, loadErr = tx.loadTree(id) + } else { + tree, loadErr = loadTreeByBlockID(id) + } + if nil != loadErr { + logging.LogErrorf("load tree [%s] failed: %s", id, err) + return loadErr + } } - var avErr error - if avErr = addAttributeViewBlock(id, operation, tree, tx); nil != avErr { - return &TxErr{code: TxErrWriteAttributeView, id: operation.AvID, msg: avErr.Error()} + if avErr := addAttributeViewBlock(avID, previousBlockID, id, isDetached, tree, tx); nil != avErr { + return avErr } } return } -func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tree, tx *Transaction) (err error) { +func addAttributeViewBlock(avID, previousBlockID, blockID string, isDetached bool, tree *parse.Tree, tx *Transaction) (err error) { var node *ast.Node - if !operation.IsDetached { + if !isDetached { node = treenode.GetNodeInTree(tree, blockID) if nil == node { err = ErrBlockNotFound @@ -1553,7 +1568,7 @@ func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tre } } - attrView, err := av.ParseAttributeView(operation.AvID) + attrView, err := av.ParseAttributeView(avID) if nil != err { return } @@ -1567,11 +1582,11 @@ func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tre } var content string - if !operation.IsDetached { + if !isDetached { content = getNodeRefText(node) } now := time.Now().UnixMilli() - blockValue := &av.Value{ID: ast.NewNodeID(), KeyID: blockValues.Key.ID, BlockID: blockID, Type: av.KeyTypeBlock, IsDetached: operation.IsDetached, Block: &av.ValueBlock{ID: blockID, Content: content, Created: now, Updated: now}} + blockValue := &av.Value{ID: ast.NewNodeID(), KeyID: blockValues.Key.ID, BlockID: blockID, Type: av.KeyTypeBlock, IsDetached: isDetached, Block: &av.ValueBlock{ID: blockID, Content: content, Created: now, Updated: now}} blockValues.Values = append(blockValues.Values, blockValue) // 如果存在排序和过滤条件,则将排序和过滤条件应用到新添加的块上 @@ -1604,7 +1619,7 @@ func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tre newValue := cell.Value.Clone() newValue.ID = ast.NewNodeID() newValue.BlockID = blockID - newValue.IsDetached = operation.IsDetached + newValue.IsDetached = isDetached values, _ := attrView.GetKeyValues(affectKeyID) values.Values = append(values.Values, newValue) addedValues[affectKeyID] = true @@ -1635,7 +1650,7 @@ func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tre newValue.ID = ast.NewNodeID() newValue.KeyID = keyValues.Key.ID newValue.BlockID = blockID - newValue.IsDetached = operation.IsDetached + newValue.IsDetached = isDetached keyValues.Values = append(keyValues.Values, newValue) break } @@ -1646,30 +1661,36 @@ func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tre } } - if !operation.IsDetached { + if !isDetached { attrs := parse.IAL2Map(node.KramdownIAL) if "" == attrs[av.NodeAttrNameAvs] { - attrs[av.NodeAttrNameAvs] = operation.AvID + attrs[av.NodeAttrNameAvs] = avID } else { avIDs := strings.Split(attrs[av.NodeAttrNameAvs], ",") - avIDs = append(avIDs, operation.AvID) + avIDs = append(avIDs, avID) avIDs = gulu.Str.RemoveDuplicatedElem(avIDs) attrs[av.NodeAttrNameAvs] = strings.Join(avIDs, ",") } - if err = setNodeAttrsWithTx(tx, node, tree, attrs); nil != err { - return + if nil != tx { + if err = setNodeAttrsWithTx(tx, node, tree, attrs); nil != err { + return + } + } else { + if err = setNodeAttrs(node, tree, attrs); nil != err { + return + } } } for _, view := range attrView.Views { switch view.LayoutType { case av.LayoutTypeTable: - if "" != operation.PreviousID { + if "" != previousBlockID { changed := false for i, id := range view.Table.RowIDs { - if id == operation.PreviousID { + if id == previousBlockID { view.Table.RowIDs = append(view.Table.RowIDs[:i+1], append([]string{blockID}, view.Table.RowIDs[i+1:]...)...) changed = true break @@ -1704,15 +1725,20 @@ func GetLastSortRow(rows []*av.TableRow) *av.TableRow { } func (tx *Transaction) doRemoveAttrViewBlock(operation *Operation) (ret *TxErr) { - err := tx.removeAttributeViewBlock(operation) + err := removeAttributeViewBlock(operation.SrcIDs, operation.AvID, tx) if nil != err { return &TxErr{code: TxErrWriteAttributeView, id: operation.AvID} } return } -func (tx *Transaction) removeAttributeViewBlock(operation *Operation) (err error) { - attrView, err := av.ParseAttributeView(operation.AvID) +func RemoveAttributeViewBlock(srcIDs []string, avID string) (err error) { + err = removeAttributeViewBlock(srcIDs, avID, nil) + return +} + +func removeAttributeViewBlock(srcIDs []string, avID string, tx *Transaction) (err error) { + attrView, err := av.ParseAttributeView(avID) if nil != err { return } @@ -1721,7 +1747,7 @@ func (tx *Transaction) removeAttributeViewBlock(operation *Operation) (err error for _, keyValues := range attrView.KeyValues { tmp := keyValues.Values[:0] for i, values := range keyValues.Values { - if !gulu.Str.Contains(values.BlockID, operation.SrcIDs) { + if !gulu.Str.Contains(values.BlockID, srcIDs) { tmp = append(tmp, keyValues.Values[i]) } else { // Remove av block also remove node attr https://github.com/siyuan-note/siyuan/issues/9091#issuecomment-1709824006 @@ -1742,7 +1768,7 @@ func (tx *Transaction) removeAttributeViewBlock(operation *Operation) (err error if avs := attrs[av.NodeAttrNameAvs]; "" != avs { avIDs := strings.Split(avs, ",") - avIDs = gulu.Str.RemoveElem(avIDs, operation.AvID) + avIDs = gulu.Str.RemoveElem(avIDs, avID) if 0 == len(avIDs) { delete(attrs, av.NodeAttrNameAvs) node.RemoveIALAttr(av.NodeAttrNameAvs) @@ -1752,8 +1778,14 @@ func (tx *Transaction) removeAttributeViewBlock(operation *Operation) (err error } } - if err = setNodeAttrsWithTx(tx, node, tree, attrs); nil != err { - return + if nil != tx { + if err = setNodeAttrsWithTx(tx, node, tree, attrs); nil != err { + return + } + } else { + if err = setNodeAttrs(node, tree, attrs); nil != err { + return + } } } } @@ -1764,7 +1796,7 @@ func (tx *Transaction) removeAttributeViewBlock(operation *Operation) (err error } for _, view := range attrView.Views { - for _, blockID := range operation.SrcIDs { + for _, blockID := range srcIDs { view.Table.RowIDs = gulu.Str.RemoveElem(view.Table.RowIDs, blockID) } } From a5d6d4e848b7524a49b3c0b3edf0d06a32e757e3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 18 Jan 2024 22:14:08 +0800 Subject: [PATCH 055/109] :art: https://github.com/siyuan-note/siyuan/issues/10142 --- app/src/protyle/render/av/asset.ts | 2 +- app/src/protyle/render/av/blockAttr.ts | 83 +++++++++++++------------- app/src/protyle/render/av/render.ts | 8 +++ 3 files changed, 52 insertions(+), 41 deletions(-) diff --git a/app/src/protyle/render/av/asset.ts b/app/src/protyle/render/av/asset.ts index 646a5765001..66537dcd643 100644 --- a/app/src/protyle/render/av/asset.ts +++ b/app/src/protyle/render/av/asset.ts @@ -53,7 +53,7 @@ export const bindAssetEvent = (options: { export const getAssetHTML = (cellElements: HTMLElement[]) => { let html = ""; - genCellValueByElement(getTypeByCellElement(cellElements[0]), cellElements[0]).mAsset.forEach(item => { + genCellValueByElement("mAsset", cellElements[0]).mAsset.forEach(item => { if (!item.content) { return; } diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index 14b4d1a83ca..3c3313a6230 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -106,24 +106,25 @@ export const genAVValueHTML = (value: IAVCellValue) => { break; case "relation": value.relation?.blockIDs?.forEach((item, index) => { - html += `${value.relation?.contents[index]}`; + html += `${value.relation?.contents[index] || "Untitled"}`; }); break; case "rollup": - value?.rollup?.contents?.forEach((item, index) => { + value?.rollup?.contents?.forEach((item) => { const rollupText = ["select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? genAVValueHTML(item) : genAVRollupHTML(item); - if (!rollupText && html) { - html = html.substring(0, html.length - 2); - } else { - html += rollupText + ((index === value.rollup.contents.length - 1 || !rollupText) ? "" : ", "); + if (rollupText) { + html += rollupText + ", "; } }); + if (html && html.endsWith(", ")) { + html = html.substring(0, html.length - 2); + } break; } return html; }; -export const renderAVAttribute = (element: HTMLElement, id: string, protyle?: IProtyle) => { +export const renderAVAttribute = (element: HTMLElement, id: string, protyle: IProtyle) => { fetchPost("/api/av/getAttributeViewKeys", {id}, (response) => { let html = ""; response.data.forEach((table: { @@ -167,40 +168,42 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone"].includes }); html += "
    "; }); - element.innerHTML = html; - element.addEventListener("click", (event) => { - let target = event.target as HTMLElement; - while (target && !element.isSameNode(target)) { - const type = target.getAttribute("data-type"); - if (type === "date") { - popTextCell(protyle, [target], "date"); - event.stopPropagation(); - event.preventDefault(); - break; - } else if (type === "select" || type === "mSelect") { - popTextCell(protyle, [target], target.getAttribute("data-type") as TAVCol); - event.stopPropagation(); - event.preventDefault(); - break; - } else if (type === "mAsset") { - popTextCell(protyle, [target], "mAsset"); - event.stopPropagation(); - event.preventDefault(); - break; - } else if (type === "checkbox") { - popTextCell(protyle, [target], "checkbox"); - event.stopPropagation(); - event.preventDefault(); - break; - } else if (type === "relation") { - popTextCell(protyle, [target], "relation"); - event.stopPropagation(); - event.preventDefault(); - break; + if (element.innerHTML === "") { + element.addEventListener("click", (event) => { + let target = event.target as HTMLElement; + while (target && !element.isSameNode(target)) { + const type = target.getAttribute("data-type"); + if (type === "date") { + popTextCell(protyle, [target], "date"); + event.stopPropagation(); + event.preventDefault(); + break; + } else if (type === "select" || type === "mSelect") { + popTextCell(protyle, [target], target.getAttribute("data-type") as TAVCol); + event.stopPropagation(); + event.preventDefault(); + break; + } else if (type === "mAsset") { + popTextCell(protyle, [target], "mAsset"); + event.stopPropagation(); + event.preventDefault(); + break; + } else if (type === "checkbox") { + popTextCell(protyle, [target], "checkbox"); + event.stopPropagation(); + event.preventDefault(); + break; + } else if (type === "relation") { + popTextCell(protyle, [target], "relation"); + event.stopPropagation(); + event.preventDefault(); + break; + } + target = target.parentElement; } - target = target.parentElement; - } - }); + }); + } + element.innerHTML = html; element.querySelectorAll(".b3-text-field--text").forEach((item: HTMLInputElement) => { item.addEventListener("change", () => { let value; diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts index ab26f7ce26b..87c8f0cdfa5 100644 --- a/app/src/protyle/render/av/render.ts +++ b/app/src/protyle/render/av/render.ts @@ -8,6 +8,7 @@ import {hasClosestBlock, hasClosestByClassName} from "../../util/hasClosest"; import {stickyRow} from "./row"; import {getCalcValue} from "./calc"; import {openMenuPanel} from "./openMenuPanel"; +import {renderAVAttribute} from "./blockAttr"; export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, viewID?: string) => { let avElements: Element[] = []; @@ -295,6 +296,13 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => { if (operation.action === "addAttrViewCol" && isPulse) { openMenuPanel({protyle, blockElement: item, type: "edit", colId: operation.id}); } + if (operation.action === "updateAttrViewCell") { + const attrElement = document.querySelector(`.b3-dialog--open[data-key="${Constants.DIALOG_ATTR}"] div[data-av-id="${operation.avID}"]`) as HTMLElement + if (attrElement) { + // 更新属性面板 + renderAVAttribute(attrElement.parentElement, attrElement.dataset.nodeId, protyle); + } + } }, ["addAttrViewView", "duplicateAttrViewView"].includes(operation.action) ? operation.id : (operation.action === "removeAttrViewView" ? null : undefined)); }); From 9adf0144e55a53a7fea77185ab0d992185381b5a Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 18 Jan 2024 22:41:01 +0800 Subject: [PATCH 056/109] :art: Improve AI-generated content parsing https://github.com/siyuan-note/siyuan/issues/10217 --- app/stage/protyle/js/lute/lute.min.js | 2 +- kernel/go.mod | 2 +- kernel/go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/stage/protyle/js/lute/lute.min.js b/app/stage/protyle/js/lute/lute.min.js index 6cd0674b1a7..487e5f7b3fb 100644 --- a/app/stage/protyle/js/lute/lute.min.js +++ b/app/stage/protyle/js/lute/lute.min.js @@ -58,7 +58,7 @@ $packages["encoding/base64"]=(function(){var $pkg={},$init,A,B,C,D,F,H,N,O,P,Q,R $packages["unicode/utf16"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["encoding/json"]=(function(){var $pkg={},$init,C,H,I,D,J,G,E,K,L,M,F,A,N,O,B,P,AD,AE,CA,CB,CC,CE,CG,CJ,CL,CM,DB,DI,DJ,DL,DO,DQ,DS,DU,DY,DZ,EA,EK,EV,EX,EY,EZ,FA,FB,FG,FH,FI,FJ,FK,FL,FM,FO,FU,FV,FW,FX,FZ,GA,GB,GC,GD,R,S,AF,CF,CH,CN,CQ,CR,DC,DD,ED,EQ,ER,a,b,c,Q,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BQ,BT,BU,BV,BW,BX,BZ,CI,CK,CO,CP,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DE,DF,DG,DH,DK,DM,DN,DP,DR,DT,DV,DW,DX,EB,EC,EE;C=$packages["bytes"];H=$packages["encoding"];I=$packages["encoding/base64"];D=$packages["errors"];J=$packages["fmt"];G=$packages["github.com/gopherjs/gopherjs/nosync"];E=$packages["io"];K=$packages["math"];L=$packages["reflect"];M=$packages["sort"];F=$packages["strconv"];A=$packages["strings"];N=$packages["unicode"];O=$packages["unicode/utf16"];B=$packages["unicode/utf8"];P=$pkg.tagOptions=$newType(8,$kindString,"json.tagOptions",true,"encoding/json",false,null);AD=$pkg.SyntaxError=$newType(0,$kindStruct,"json.SyntaxError",true,"encoding/json",true,function(msg_,Offset_){this.$val=this;if(arguments.length===0){this.msg="";this.Offset=new $Int64(0,0);return;}this.msg=msg_;this.Offset=Offset_;});AE=$pkg.scanner=$newType(0,$kindStruct,"json.scanner",true,"encoding/json",false,function(step_,endTop_,parseState_,err_,bytes_){this.$val=this;if(arguments.length===0){this.step=$throwNilPointerError;this.endTop=false;this.parseState=EX.nil;this.err=$ifaceNil;this.bytes=new $Int64(0,0);return;}this.step=step_;this.endTop=endTop_;this.parseState=parseState_;this.err=err_;this.bytes=bytes_;});CA=$pkg.Marshaler=$newType(8,$kindInterface,"json.Marshaler",true,"encoding/json",true,null);CB=$pkg.UnsupportedTypeError=$newType(0,$kindStruct,"json.UnsupportedTypeError",true,"encoding/json",true,function(Type_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;return;}this.Type=Type_;});CC=$pkg.UnsupportedValueError=$newType(0,$kindStruct,"json.UnsupportedValueError",true,"encoding/json",true,function(Value_,Str_){this.$val=this;if(arguments.length===0){this.Value=new L.Value.ptr(FO.nil,0,0);this.Str="";return;}this.Value=Value_;this.Str=Str_;});CE=$pkg.MarshalerError=$newType(0,$kindStruct,"json.MarshalerError",true,"encoding/json",true,function(Type_,Err_,sourceFunc_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;this.Err=$ifaceNil;this.sourceFunc="";return;}this.Type=Type_;this.Err=Err_;this.sourceFunc=sourceFunc_;});CG=$pkg.encodeState=$newType(0,$kindStruct,"json.encodeState",true,"encoding/json",false,function(Buffer_,scratch_,ptrLevel_,ptrSeen_){this.$val=this;if(arguments.length===0){this.Buffer=new C.Buffer.ptr(FA.nil,0,0);this.scratch=FI.zero();this.ptrLevel=0;this.ptrSeen=false;return;}this.Buffer=Buffer_;this.scratch=scratch_;this.ptrLevel=ptrLevel_;this.ptrSeen=ptrSeen_;});CJ=$pkg.jsonError=$newType(0,$kindStruct,"json.jsonError",true,"encoding/json",false,function(error_){this.$val=this;if(arguments.length===0){this.error=$ifaceNil;return;}this.error=error_;});CL=$pkg.encOpts=$newType(0,$kindStruct,"json.encOpts",true,"encoding/json",false,function(quoted_,escapeHTML_){this.$val=this;if(arguments.length===0){this.quoted=false;this.escapeHTML=false;return;}this.quoted=quoted_;this.escapeHTML=escapeHTML_;});CM=$pkg.encoderFunc=$newType(4,$kindFunc,"json.encoderFunc",true,"encoding/json",false,null);DB=$pkg.floatEncoder=$newType(4,$kindInt,"json.floatEncoder",true,"encoding/json",false,null);DI=$pkg.structEncoder=$newType(0,$kindStruct,"json.structEncoder",true,"encoding/json",false,function(fields_){this.$val=this;if(arguments.length===0){this.fields=new DJ.ptr(FJ.nil,false);return;}this.fields=fields_;});DJ=$pkg.structFields=$newType(0,$kindStruct,"json.structFields",true,"encoding/json",false,function(list_,nameIndex_){this.$val=this;if(arguments.length===0){this.list=FJ.nil;this.nameIndex=false;return;}this.list=list_;this.nameIndex=nameIndex_;});DL=$pkg.mapEncoder=$newType(0,$kindStruct,"json.mapEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DO=$pkg.sliceEncoder=$newType(0,$kindStruct,"json.sliceEncoder",true,"encoding/json",false,function(arrayEnc_){this.$val=this;if(arguments.length===0){this.arrayEnc=$throwNilPointerError;return;}this.arrayEnc=arrayEnc_;});DQ=$pkg.arrayEncoder=$newType(0,$kindStruct,"json.arrayEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DS=$pkg.ptrEncoder=$newType(0,$kindStruct,"json.ptrEncoder",true,"encoding/json",false,function(elemEnc_){this.$val=this;if(arguments.length===0){this.elemEnc=$throwNilPointerError;return;}this.elemEnc=elemEnc_;});DU=$pkg.condAddrEncoder=$newType(0,$kindStruct,"json.condAddrEncoder",true,"encoding/json",false,function(canAddrEnc_,elseEnc_){this.$val=this;if(arguments.length===0){this.canAddrEnc=$throwNilPointerError;this.elseEnc=$throwNilPointerError;return;}this.canAddrEnc=canAddrEnc_;this.elseEnc=elseEnc_;});DY=$pkg.reflectWithString=$newType(0,$kindStruct,"json.reflectWithString",true,"encoding/json",false,function(k_,v_,ks_){this.$val=this;if(arguments.length===0){this.k=new L.Value.ptr(FO.nil,0,0);this.v=new L.Value.ptr(FO.nil,0,0);this.ks="";return;}this.k=k_;this.v=v_;this.ks=ks_;});DZ=$pkg.field=$newType(0,$kindStruct,"json.field",true,"encoding/json",false,function(name_,nameBytes_,equalFold_,nameNonEsc_,nameEscHTML_,tag_,index_,typ_,omitEmpty_,quoted_,encoder_){this.$val=this;if(arguments.length===0){this.name="";this.nameBytes=FA.nil;this.equalFold=$throwNilPointerError;this.nameNonEsc="";this.nameEscHTML="";this.tag=false;this.index=EX.nil;this.typ=$ifaceNil;this.omitEmpty=false;this.quoted=false;this.encoder=$throwNilPointerError;return;}this.name=name_;this.nameBytes=nameBytes_;this.equalFold=equalFold_;this.nameNonEsc=nameNonEsc_;this.nameEscHTML=nameEscHTML_;this.tag=tag_;this.index=index_;this.typ=typ_;this.omitEmpty=omitEmpty_;this.quoted=quoted_;this.encoder=encoder_;});EA=$pkg.byIndex=$newType(12,$kindSlice,"json.byIndex",true,"encoding/json",false,null);EK=$pkg.Number=$newType(8,$kindString,"json.Number",true,"encoding/json",true,null);EV=$sliceType($emptyInterface);EX=$sliceType($Int);EY=$ptrType(CA);EZ=$ptrType(H.TextMarshaler);FA=$sliceType($Uint8);FB=$ptrType(H.TextUnmarshaler);FG=$ptrType(AE);FH=$ptrType(CG);FI=$arrayType($Uint8,64);FJ=$sliceType(DZ);FK=$structType("",[]);FL=$sliceType(DY);FM=$structType("encoding/json",[{prop:"ptr",name:"ptr",embedded:false,exported:false,typ:$Uintptr,tag:""},{prop:"len",name:"len",embedded:false,exported:false,typ:$Int,tag:""}]);FO=$ptrType(L.rtype);FU=$ptrType(AD);FV=$funcType([FG,$Uint8],[$Int],false);FW=$ptrType(CB);FX=$ptrType(CC);FZ=$ptrType(CE);GA=$mapType($emptyInterface,FK);GB=$mapType($String,$Int);GC=$ptrType(DY);GD=$funcType([FA,FA],[$Bool],false);Q=function(d){var d,e,f;e=A.Cut(d,",");d=e[0];f=e[1];return[d,(f)];};P.prototype.Contains=function(d){var d,e,f,g,h;e=this.$val;if(e.length===0){return false;}f=(e);while(true){if(!(!(f===""))){break;}g="";h=A.Cut(f,",");g=h[0];f=h[1];if(g===d){return true;}}return false;};$ptrType(P).prototype.Contains=function(d){return new P(this.$get()).Contains(d);};AD.ptr.prototype.Error=function(){var d;d=this;return d.msg;};AD.prototype.Error=function(){return this.$val.Error();};AG=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=AF.Get();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$assertType(d,FG);e.bytes=new $Int64(0,0);e.reset();$s=-1;return e;}return;}var $f={$blk:AG,$c:true,$r,d,e,$s};return $f;};AH=function(d){var d;if(d.parseState.$length>1024){d.parseState=EX.nil;}AF.Put(d);};AE.ptr.prototype.reset=function(){var d;d=this;d.step=AK;d.parseState=$subslice(d.parseState,0,0);d.err=$ifaceNil;d.endTop=false;};AE.prototype.reset=function(){return this.$val.reset();};AE.ptr.prototype.eof=function(){var{d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){$s=-1;return 11;}if(d.endTop){$s=-1;return 10;}e=d.step(d,32);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;if(d.endTop){$s=-1;return 10;}if($interfaceIsEqual(d.err,$ifaceNil)){d.err=new AD.ptr("unexpected end of JSON input",d.bytes);}$s=-1;return 11;}return;}var $f={$blk:AE.ptr.prototype.eof,$c:true,$r,d,e,$s};return $f;};AE.prototype.eof=function(){return this.$val.eof();};AE.ptr.prototype.pushParseState=function(d,e,f){var d,e,f,g;g=this;g.parseState=$append(g.parseState,e);if(g.parseState.$length<=10000){return f;}return g.error(d,"exceeded max depth");};AE.prototype.pushParseState=function(d,e,f){return this.$val.pushParseState(d,e,f);};AE.ptr.prototype.popParseState=function(){var d,e;d=this;e=d.parseState.$length-1>>0;d.parseState=$subslice(d.parseState,0,e);if(e===0){d.step=AO;d.endTop=true;}else{d.step=AN;}};AE.prototype.popParseState=function(){return this.$val.popParseState();};AI=function(d){var d;return d<=32&&((d===32)||(d===9)||(d===13)||(d===10));};AJ=function(d,e){var d,e;if(AI(e)){return 9;}if(e===93){return AN(d,e);}return AK(d,e);};AK=function(d,e){var d,e,f;if(AI(e)){return 9;}f=e;if(f===(123)){d.step=AL;return d.pushParseState(e,0,2);}else if(f===(91)){d.step=AJ;return d.pushParseState(e,2,6);}else if(f===(34)){d.step=AP;return 1;}else if(f===(45)){d.step=AV;return 1;}else if(f===(48)){d.step=AX;return 1;}else if(f===(116)){d.step=BD;return 1;}else if(f===(102)){d.step=BG;return 1;}else if(f===(110)){d.step=BK;return 1;}if(49<=e&&e<=57){d.step=AW;return 1;}return d.error(e,"looking for beginning of value");};AL=function(d,e){var d,e,f,g,h;if(AI(e)){return 9;}if(e===125){f=d.parseState.$length;(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]=1));return AN(d,e);}return AM(d,e);};AM=function(d,e){var d,e;if(AI(e)){return 9;}if(e===34){d.step=AP;return 1;}return d.error(e,"looking for beginning of object key string");};AN=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d.parseState.$length;if(f===0){d.step=AO;d.endTop=true;return AO(d,e);}if(AI(e)){d.step=AN;return 9;}i=(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));j=i;if(j===(0)){if(e===58){(k=d.parseState,l=f-1>>0,((l<0||l>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]=1));d.step=AK;return 3;}return d.error(e,"after object key");}else if(j===(1)){if(e===44){(m=d.parseState,n=f-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]=0));d.step=AM;return 4;}if(e===125){d.popParseState();return 5;}return d.error(e,"after object key:value pair");}else if(j===(2)){if(e===44){d.step=AK;return 7;}if(e===93){d.popParseState();return 8;}return d.error(e,"after array element");}return d.error(e,"");};AO=function(d,e){var d,e;if(!AI(e)){d.error(e,"after top-level value");}return 10;};AP=function(d,e){var d,e;if(e===34){d.step=AN;return 0;}if(e===92){d.step=AQ;return 0;}if(e<32){return d.error(e,"in string literal");}return 0;};AQ=function(d,e){var d,e,f;f=e;if((f===(98))||(f===(102))||(f===(110))||(f===(114))||(f===(116))||(f===(92))||(f===(47))||(f===(34))){d.step=AP;return 0;}else if(f===(117)){d.step=AR;return 0;}return d.error(e,"in string escape code");};AR=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AS;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AS=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AT;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AT=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AU;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AU=function(d,e){var d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=AP;return 0;}return d.error(e,"in \\u hexadecimal character escape");};AV=function(d,e){var d,e;if(e===48){d.step=AX;return 0;}if(49<=e&&e<=57){d.step=AW;return 0;}return d.error(e,"in numeric literal");};AW=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AW;return 0;}return AX(d,e);};AX=function(d,e){var d,e;if(e===46){d.step=AY;return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};AY=function(d,e){var d,e;if(48<=e&&e<=57){d.step=AZ;return 0;}return d.error(e,"after decimal point in numeric literal");};AZ=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}if((e===101)||(e===69)){d.step=BA;return 0;}return AN(d,e);};BA=function(d,e){var d,e;if((e===43)||(e===45)){d.step=BB;return 0;}return BB(d,e);};BB=function(d,e){var d,e;if(48<=e&&e<=57){d.step=BC;return 0;}return d.error(e,"in exponent of numeric literal");};BC=function(d,e){var d,e;if(48<=e&&e<=57){return 0;}return AN(d,e);};BD=function(d,e){var d,e;if(e===114){d.step=BE;return 0;}return d.error(e,"in literal true (expecting 'r')");};BE=function(d,e){var d,e;if(e===117){d.step=BF;return 0;}return d.error(e,"in literal true (expecting 'u')");};BF=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal true (expecting 'e')");};BG=function(d,e){var d,e;if(e===97){d.step=BH;return 0;}return d.error(e,"in literal false (expecting 'a')");};BH=function(d,e){var d,e;if(e===108){d.step=BI;return 0;}return d.error(e,"in literal false (expecting 'l')");};BI=function(d,e){var d,e;if(e===115){d.step=BJ;return 0;}return d.error(e,"in literal false (expecting 's')");};BJ=function(d,e){var d,e;if(e===101){d.step=AN;return 0;}return d.error(e,"in literal false (expecting 'e')");};BK=function(d,e){var d,e;if(e===117){d.step=BL;return 0;}return d.error(e,"in literal null (expecting 'u')");};BL=function(d,e){var d,e;if(e===108){d.step=BM;return 0;}return d.error(e,"in literal null (expecting 'l')");};BM=function(d,e){var d,e;if(e===108){d.step=AN;return 0;}return d.error(e,"in literal null (expecting 'l')");};BN=function(d,e){var d,e;return 11;};AE.ptr.prototype.error=function(d,e){var d,e,f;f=this;f.step=BN;f.err=new AD.ptr("invalid character "+BO(d)+" "+e,f.bytes);return 11;};AE.prototype.error=function(d,e){return this.$val.error(d,e);};BO=function(d){var d,e;if(d===39){return"'\\''";}if(d===34){return"'\"'";}e=F.Quote(($encodeRune(d)));return"'"+$substring(e,1,(e.length-1>>0))+"'";};BQ=function(d,e,f){var{aa,ab,ac,ad,ae,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=d.Len();h=AG();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$deferred.push([AH,[i]]);j=0;k=e;l=0;case 2:if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if(f&&((n===60)||(n===62)||(n===38))){$s=4;continue;}$s=5;continue;case 4:if(j>>4<<24>>>24)));$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=d.WriteByte(CF.charCodeAt(((n&15)>>>0)));$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;j=m+1>>0;case 5:if(f&&(n===226)&&(m+2>>0)>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))===128)&&((((t=m+2>>0,((t<0||t>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+t]))&~1)<<24>>>24)===168)){$s=12;continue;}$s=13;continue;case 12:if(j>0,((w<0||w>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+w]))&15)>>>0)));$s=18;case 18:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;j=m+3>>0;case 13:y=i.step(i,n);$s=19;case 19:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(z>=9){$s=20;continue;}$s=21;continue;case 20:if(z===11){$s=3;continue;}if(j>0;case 21:l++;$s=2;continue;case 3:ab=i.eof();$s=27;case 27:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(ab===11){$s=25;continue;}$s=26;continue;case 25:d.Truncate(g);ac=i.err;$s=28;case 28:return ac;case 26:if(j=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=128){return C.EqualFold;}j=(i&223)>>>0;if(j<65||j>90){e=true;}else if((j===75)||(j===83)){f=true;}h++;}if(f){return BU;}if(e){return BV;}return BW;};BU=function(d,e){var d,e,f,g,h,i,j,k,l,m,n;f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(e.$length===0){return false;}i=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if(i<128){if(!((h===i))){j=(h&223)>>>0;if(65<=j&&j<=90){if(!((j===((i&223)>>>0)))){return false;}}else{return false;}}e=$subslice(e,1);g++;continue;}k=B.DecodeRune(e);l=k[0];m=k[1];n=h;if((n===(115))||(n===(83))){if(!((l===383))){return false;}}else if((n===(107))||(n===(75))){if(!((l===8490))){return false;}}else{return false;}e=$subslice(e,m);g++;}if(e.$length>0){return false;}return true;};BV=function(d,e){var d,e,f,g,h,i,j;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h]);if(i===j){g++;continue;}if((97<=i&&i<=122)||(65<=i&&i<=90)){if(!((((i&223)>>>0)===((j&223)>>>0)))){return false;}}else{return false;}g++;}return true;};BW=function(d,e){var d,e,f,g,h,i;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!((((i&223)>>>0)===((((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h])&223)>>>0)))){return false;}g++;}return true;};BX=function(d){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=CI();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=f.marshal(d,new CL.ptr(false,true));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[FA.nil,h];}i=$appendSlice((FA.nil),f.Buffer.Bytes());CH.Put(f);$s=-1;return[i,$ifaceNil];}return;}var $f={$blk:BX,$c:true,$r,d,e,f,g,h,i,$s};return $f;};$pkg.Marshal=BX;BZ=function(d,e){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=0;g=e;h=0;case 1:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if((j===60)||(j===62)||(j===38)){$s=3;continue;}$s=4;continue;case 3:if(f>>4<<24>>>24)));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=d.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;f=i+1>>0;case 4:if((j===226)&&(i+2>>0)>0,((o<0||o>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+o]))===128)&&((((p=i+2>>0,((p<0||p>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+p]))&~1)<<24>>>24)===168)){$s=11;continue;}$s=12;continue;case 11:if(f>0,((s<0||s>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]))&15)>>>0)));$s=17;case 17:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;f=i+3>>0;case 12:h++;$s=1;continue;case 2:if(f0){$panic(new $String("ptrEncoder.encode should have emptied ptrSeen via defers"));}f.ptrLevel=0;$s=-1;return f;}$s=-1;return new CG.ptr(new C.Buffer.ptr(FA.nil,0,0),FI.zero(),0,new $global.Map());}return;}var $f={$blk:CI,$c:true,$r,d,e,f,$s};return $f;};CG.ptr.prototype.marshal=function(d,e){var{d,e,f,g,h,i,$s,$deferred,$r,$c}=$restore(this,{d,e});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);f=[f];f[0]=$ifaceNil;g=this;$deferred.push([(function(f){return function(){var h,i,j,k;h=$recover();if(!($interfaceIsEqual(h,$ifaceNil))){i=$assertType(h,CJ,true);j=$clone(i[0],CJ);k=i[1];if(k){f[0]=j.error;}else{$panic(h);}}};})(f),[]]);h=L.ValueOf(d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=g.reflectValue($clone(h,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f[0]=$ifaceNil;i=f[0];$s=3;case 3:return i;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return f[0];}if($curGoroutine.asleep){var $f={$blk:CG.ptr.prototype.marshal,$c:true,$r,d,e,f,g,h,i,$s,$deferred};return $f;}}};CG.prototype.marshal=function(d,e){return this.$val.marshal(d,e);};CG.ptr.prototype.error=function(d){var d,e,f;e=this;$panic((f=new CJ.ptr(d),new f.constructor.elem(f)));};CG.prototype.error=function(d){return this.$val.error(d);};CK=function(d){var d,e,f,g;e=$clone(d,L.Value).Kind();if((e===(17))||(e===(21))||(e===(23))||(e===(24))){return $clone(d,L.Value).Len()===0;}else if(e===(1)){return!$clone(d,L.Value).Bool();}else if((e===(2))||(e===(3))||(e===(4))||(e===(5))||(e===(6))){return(f=$clone(d,L.Value).Int(),(f.$high===0&&f.$low===0));}else if((e===(7))||(e===(8))||(e===(9))||(e===(10))||(e===(11))||(e===(12))){return(g=$clone(d,L.Value).Uint(),(g.$high===0&&g.$low===0));}else if((e===(13))||(e===(14))){return $clone(d,L.Value).Float()===0;}else if((e===(20))||(e===(22))){return $clone(d,L.Value).IsNil();}return false;};CG.ptr.prototype.reflectValue=function(d,e){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=CO($clone(d,L.Value));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=g(f,$clone(d,L.Value),$clone(e,CL));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.reflectValue,$c:true,$r,d,e,f,g,$s};return $f;};CG.prototype.reflectValue=function(d,e){return this.$val.reflectValue(d,e);};CO=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:if(!$clone(d,L.Value).IsValid()){$s=-1;return CT;}e=CP($clone(d,L.Value).Type());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:CO,$c:true,$r,d,e,f,$s};return $f;};CP=function(d){var{d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=CN.Load(d);h=g[0];i=g[1];if(i){$s=-1;return $assertType(h,CM);}f[0]=new G.WaitGroup.ptr(0);e[0]=$throwNilPointerError;f[0].Add(1);j=CN.LoadOrStore(d,new CM(((function(e,f){return function $b(k,l,m){var{k,l,m,$s,$r,$c}=$restore(this,{k,l,m});$s=$s||0;s:while(true){switch($s){case 0:f[0].Wait();$r=e[0](k,$clone(l,L.Value),$clone(m,CL));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:$b,$c:true,$r,k,l,m,$s};return $f;};})(e,f))));k=j[0];l=j[1];if(l){$s=-1;return $assertType(k,CM);}m=CS(d,true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}e[0]=m;f[0].Done();CN.Store(d,new CM(e[0]));$s=-1;return e[0];}return;}var $f={$blk:CP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CS=function(d,e){var{aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:g=d.Kind();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!(!((g===22))&&e)){f=false;$s=3;continue s;}h=L.PointerTo(d).Implements(CQ);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 3:if(f){$s=1;continue;}$s=2;continue;case 1:i=CV;j=CS(d,false);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=DV(i,k);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=8;case 8:return m;case 2:n=d.Implements(CQ);$s=11;case 11:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}if(n){$s=9;continue;}$s=10;continue;case 9:$s=-1;return CU;case 10:p=d.Kind();$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(!(!((p===22))&&e)){o=false;$s=14;continue s;}q=L.PointerTo(d).Implements(CR);$s=16;case 16:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;case 14:if(o){$s=12;continue;}$s=13;continue;case 12:r=CX;s=CS(d,false);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=DV(r,t);$s=18;case 18:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;$s=19;case 19:return v;case 13:w=d.Implements(CR);$s=22;case 22:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(w){$s=20;continue;}$s=21;continue;case 20:$s=-1;return CW;case 21:x=d.Kind();$s=24;case 24:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(y===(1)){$s=25;continue;}if((y===(2))||(y===(3))||(y===(4))||(y===(5))||(y===(6))){$s=26;continue;}if((y===(7))||(y===(8))||(y===(9))||(y===(10))||(y===(11))||(y===(12))){$s=27;continue;}if(y===(13)){$s=28;continue;}if(y===(14)){$s=29;continue;}if(y===(24)){$s=30;continue;}if(y===(20)){$s=31;continue;}if(y===(25)){$s=32;continue;}if(y===(21)){$s=33;continue;}if(y===(23)){$s=34;continue;}if(y===(17)){$s=35;continue;}if(y===(22)){$s=36;continue;}$s=37;continue;case 25:$s=-1;return CY;case 26:$s=-1;return CZ;case 27:$s=-1;return DA;case 28:$s=-1;return DC;case 29:$s=-1;return DD;case 30:$s=-1;return DE;case 31:$s=-1;return DG;case 32:z=DK(d);$s=39;case 39:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;$s=40;case 40:return aa;case 33:ab=DM(d);$s=41;case 41:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;$s=42;case 42:return ac;case 34:ad=DP(d);$s=43;case 43:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;$s=44;case 44:return ae;case 35:af=DR(d);$s=45;case 45:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;$s=46;case 46:return ag;case 36:ah=DT(d);$s=47;case 47:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=ah;$s=48;case 48:return ai;case 37:$s=-1;return DH;case 38:case 23:$s=-1;return $throwNilPointerError;}return;}var $f={$blk:CS,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CT=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=d.Buffer.WriteString("null");$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}var $f={$blk:CT,$c:true,$r,d,e,f,g,$s};return $f;};CU=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,CA,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalJSON();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if($interfaceIsEqual(p,$ifaceNil)){$s=9;continue;}$s=10;continue;case 9:q=BQ(d.Buffer,o,f.escapeHTML);$s=11;case 11:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;case 10:if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CU,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};CV=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,CA);l=j.MarshalJSON();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if($interfaceIsEqual(n,$ifaceNil)){$s=6;continue;}$s=7;continue;case 6:o=BQ(d.Buffer,m,f.escapeHTML);$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;case 7:if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalJSON"));}$s=-1;return;}return;}var $f={$blk:CV,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CW=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(($clone(e,L.Value).Kind()===22)&&$clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:i=$clone(e,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,H.TextMarshaler,true);j=h[0];k=h[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=d.Buffer.WriteString("null");$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return;case 6:n=j.MarshalText();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),p,"MarshalText"));}$r=d.stringBytes(o,f.escapeHTML);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CW,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};CX=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=$clone(e,L.Value).Addr();if($clone(g,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;case 2:i=$clone(g,L.Value).Interface();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,H.TextMarshaler);l=j.MarshalText();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){d.error(new CE.ptr($clone(e,L.Value).Type(),n,"MarshalText"));}$r=d.stringBytes(m,f.escapeHTML);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CX,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};CY=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f.quoted){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:if($clone(e,L.Value).Bool()){$s=4;continue;}$s=5;continue;case 4:h=d.Buffer.WriteString("true");$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=6;continue;case 5:i=d.Buffer.WriteString("false");$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:if(f.quoted){$s=9;continue;}$s=10;continue;case 9:j=d.Buffer.WriteByte(34);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 10:$s=-1;return;}return;}var $f={$blk:CY,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};CZ=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendInt($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Int(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:CZ,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DA=function(d,e,f){var{d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=F.AppendUint($subslice(new FA(d.scratch),0,0),$clone(e,L.Value).Uint(),10);if(f.quoted){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 2:i=d.Buffer.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:j=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return;}return;}var $f={$blk:DA,$c:true,$r,d,e,f,g,h,i,j,$s};return $f;};DB.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this.$val;h=$clone(e,L.Value).Float();if(K.IsInf(h,0)||K.IsNaN(h)){d.error(new CC.ptr($clone(e,L.Value),F.FormatFloat(h,103,-1,((g>>0)))));}i=$subslice(new FA(d.scratch),0,0);j=K.Abs(h);k=102;if(!((j===0))){if((g===64)&&(j<1e-06||j>=1e+21)||(g===32)&&(($fround(j))<9.999999974752427e-07||($fround(j))>=1.0000000200408773e+21)){k=101;}}i=F.AppendFloat(i,h,k,-1,((g>>0)));if(k===101){l=i.$length;if(l>=4&&((m=l-4>>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]))===101)&&((n=l-3>>0,((n<0||n>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+n]))===45)&&((o=l-2>>0,((o<0||o>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+o]))===48)){(q=l-2>>0,((q<0||q>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+q]=(p=l-1>>0,((p<0||p>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+p]))));i=$subslice(i,0,(l-1>>0));}}if(f.quoted){$s=1;continue;}$s=2;continue;case 1:r=d.Buffer.WriteByte(34);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 2:s=d.Buffer.Write(i);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;if(f.quoted){$s=5;continue;}$s=6;continue;case 5:t=d.Buffer.WriteByte(34);$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 6:$s=-1;return;}return;}var $f={$blk:DB.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$ptrType(DB).prototype.encode=function(d,e,f){return new DB(this.$get()).encode(d,e,f);};DE=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($interfaceIsEqual($clone(e,L.Value).Type(),ER)){$s=1;continue;}$s=2;continue;case 1:g=$clone(e,L.Value).String();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===""){h="0";}if(!DF(h)){$s=4;continue;}$s=5;continue;case 4:i=J.Errorf("json: invalid number literal %q",new EV([new $String(h)]));$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$r=d.error(i);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(f.quoted){$s=8;continue;}$s=9;continue;case 8:j=d.Buffer.WriteByte(34);$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 9:k=d.Buffer.WriteString(h);$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;if(f.quoted){$s=12;continue;}$s=13;continue;case 12:l=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;case 13:$s=-1;return;case 2:if(f.quoted){$s=15;continue;}$s=16;continue;case 15:m=CI();$s=18;case 18:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=$clone(e,L.Value).String();$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=n.string(o,f.escapeHTML);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.stringBytes(n.Buffer.Bytes(),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH.Put(n);$s=17;continue;case 16:p=$clone(e,L.Value).String();$s=22;case 22:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=d.string(p,f.escapeHTML);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return;}return;}var $f={$blk:DE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DF=function(d){var d;if(d===""){return false;}if(d.charCodeAt(0)===45){d=$substring(d,1);if(d===""){return false;}}if((d.charCodeAt(0)===48)){d=$substring(d,1);}else if(49<=d.charCodeAt(0)&&d.charCodeAt(0)<=57){d=$substring(d,1);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}else{return false;}if(d.length>=2&&(d.charCodeAt(0)===46)&&48<=d.charCodeAt(1)&&d.charCodeAt(1)<=57){d=$substring(d,2);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}if(d.length>=2&&((d.charCodeAt(0)===101)||(d.charCodeAt(0)===69))){d=$substring(d,1);if((d.charCodeAt(0)===43)||(d.charCodeAt(0)===45)){d=$substring(d,1);if(d===""){return false;}}while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}return d==="";};DG=function(d,e,f){var{d,e,f,g,h,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Elem();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=d.reflectValue($clone(h,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:DG,$c:true,$r,d,e,f,g,h,$s};return $f;};DH=function(d,e,f){var d,e,f;d.error(new CB.ptr($clone(e,L.Value).Type()));};DI.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=123;i=g.fields.list;j=0;case 1:if(!(j=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+k]));n=e;o=m.index;p=0;case 3:if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if($clone(n,L.Value).Kind()===22){$s=5;continue;}$s=6;continue;case 5:if($clone(n,L.Value).IsNil()){j++;$s=1;continue s;}r=$clone(n,L.Value).Elem();$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}n=r;case 6:s=$clone(n,L.Value).Field(q);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}n=s;p++;$s=3;continue;case 4:if(m.omitEmpty&&CK($clone(n,L.Value))){j++;$s=1;continue;}t=d.Buffer.WriteByte(h);$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;h=44;if(f.escapeHTML){$s=10;continue;}$s=11;continue;case 10:u=d.Buffer.WriteString(m.nameEscHTML);$s=13;case 13:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=12;continue;case 11:v=d.Buffer.WriteString(m.nameNonEsc);$s=14;case 14:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 12:f.quoted=m.quoted;$r=m.encoder(d,$clone(n,L.Value),$clone(f,CL));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j++;$s=1;continue;case 2:if(h===123){$s=16;continue;}$s=17;continue;case 16:w=d.Buffer.WriteString("{}");$s=19;case 19:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=18;continue;case 17:x=d.Buffer.WriteByte(125);$s=20;case 20:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 18:$s=-1;return;}return;}var $f={$blk:DI.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};DI.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DK=function(d){var{d,e,f,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=EE(d);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=new DI.ptr($clone(e,DJ));$s=-1;return $methodVal($clone(f,DI),"encode");}return;}var $f={$blk:DK,$c:true,$r,d,e,f,$s};return $f;};DL.ptr.prototype.encode=function(d,e,f){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=[g];h=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:i=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:j=$clone(e,L.Value).Pointer();k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new $Uintptr(j))),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=7;continue;}$s=8;continue;case 7:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:o=new $Uintptr(j);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,new $Uintptr(j)]]);case 6:r=d.Buffer.WriteByte(123);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g[0]=$makeSlice(FL,$clone(e,L.Value).Len());s=$clone(e,L.Value).MapRange();t=0;case 12:u=s.Next();$s=14;case 14:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!(u)){$s=13;continue;}v=s.Key();$s=15;case 15:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).k=v;w=s.Value();$s=16;case 16:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).v=w;x=((t<0||t>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+t]).resolve();$s=17;case 17:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){$s=18;continue;}$s=19;continue;case 18:z=$clone(e,L.Value).Type().String();$s=20;case 20:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=new $String(z);ab=y.Error();$s=21;case 21:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=new $String(ab);ad=J.Errorf("json: encoding error for type %q: %q",new EV([aa,ac]));$s=22;case 22:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}$r=d.error(ad);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:t=t+(1)>>0;$s=12;continue;case 13:$r=M.Slice(g[0],(function(g){return function(ae,af){var ae,af;return((ae<0||ae>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+ae]).ks<((af<0||af>=g[0].$length)?($throwRuntimeError("index out of range"),undefined):g[0].$array[g[0].$offset+af]).ks;};})(g));$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ae=g[0];af=0;case 25:if(!(af=ae.$length)?($throwRuntimeError("index out of range"),undefined):ae.$array[ae.$offset+af]),DY);if(ag>0){$s=27;continue;}$s=28;continue;case 27:ai=d.Buffer.WriteByte(44);$s=29;case 29:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;case 28:$r=d.string(ah.ks,f.escapeHTML);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aj=d.Buffer.WriteByte(58);$s=31;case 31:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$r=h.elemEnc(d,$clone(ah.v,L.Value),$clone(f,CL));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}af++;$s=25;continue;case 26:ak=d.Buffer.WriteByte(125);$s=33;case 33:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DL.ptr.prototype.encode,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};DL.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DM=function(d){var{d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Key();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if((g===(24))||(g===(2))||(g===(3))||(g===(4))||(g===(5))||(g===(6))||(g===(7))||(g===(8))||(g===(9))||(g===(10))||(g===(11))||(g===(12))){$s=4;continue;}h=d.Key();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h.Implements(CR);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=5;continue;}$s=6;continue;case 4:$s=6;continue;case 5:$s=-1;return DH;case 6:case 1:j=d.Elem();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=CP(j);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=new DL.ptr(k);$s=-1;return $methodVal($clone(l,DL),"encode");}return;}var $f={$blk:DM,$c:true,$r,d,e,f,g,h,i,j,k,l,$s};return $f;};DN=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:g=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;case 2:h=$clone(e,L.Value).Bytes();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=d.Buffer.WriteByte(34);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=I.StdEncoding.EncodedLen(i.$length);if(k<=64){$s=6;continue;}if(k<=1024){$s=7;continue;}$s=8;continue;case 6:l=$subslice(new FA(d.scratch),0,k);I.StdEncoding.Encode(l,i);m=d.Buffer.Write(l);$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=9;continue;case 7:n=$makeSlice(FA,k);I.StdEncoding.Encode(n,i);o=d.Buffer.Write(n);$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=9;continue;case 8:p=I.NewEncoder(I.StdEncoding,d);q=p.Write(i);$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=p.Close();$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 9:s=d.Buffer.WriteByte(34);$s=14;case 14:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return;}return;}var $f={$blk:DN,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};DO.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=new FM.ptr($clone(e,L.Value).Pointer(),$clone(e,L.Value).Len());j=(k=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(new i.constructor.elem(i))),k!==undefined?[k.v,true]:[new FK.ptr(),false]);l=j[1];if(l){$s=7;continue;}$s=8;continue;case 7:m=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),m));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:n=new i.constructor.elem(i);(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(n),{k:n,v:new FK.ptr()});$deferred.push([function(o,p){$mapDelete(o,$emptyInterface.keyFor(p));},[d.ptrSeen,new i.constructor.elem(i)]]);case 6:$r=g.arrayEnc(d,$clone(e,L.Value),$clone(f,CL));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DO.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred};return $f;}}};DO.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DP=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e.Kind();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f===8){$s=1;continue;}$s=2;continue;case 1:g=d.Elem();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=L.PointerTo(g);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;k=i.Implements(CQ);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(!(!k)){j=false;$s=9;continue s;}l=i.Implements(CR);$s=11;case 11:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=!l;case 9:if(j){$s=7;continue;}$s=8;continue;case 7:$s=-1;return DN;case 8:case 2:m=DR(d);$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=new DO.ptr(m);$s=-1;return $methodVal($clone(n,DO),"encode");}return;}var $f={$blk:DP,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DQ.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;h=d.Buffer.WriteByte(91);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=$clone(e,L.Value).Len();j=0;case 2:if(!(j0){$s=4;continue;}$s=5;continue;case 4:k=d.Buffer.WriteByte(44);$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;case 5:l=d;m=$clone(e,L.Value).Index(j);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=$clone(m,L.Value);o=$clone(f,CL);$r=g.elemEnc(l,n,o);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=j+(1)>>0;$s=2;continue;case 3:p=d.Buffer.WriteByte(93);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=-1;return;}return;}var $f={$blk:DQ.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};DQ.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DR=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DQ.ptr(f);$s=-1;return $methodVal($clone(g,DQ),"encode");}return;}var $f={$blk:DR,$c:true,$r,d,e,f,g,$s};return $f;};DS.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred,$r,$c}=$restore(this,{d,e,f});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);g=this;if($clone(e,L.Value).IsNil()){$s=1;continue;}$s=2;continue;case 1:h=d.Buffer.WriteString("null");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;case 4:return;case 2:d.ptrLevel=d.ptrLevel+(1)>>>0;if(d.ptrLevel>1000){$s=5;continue;}$s=6;continue;case 5:i=$clone(e,L.Value).Interface();$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=(l=$mapIndex(d.ptrSeen,$emptyInterface.keyFor(j)),l!==undefined?[l.v,true]:[new FK.ptr(),false]);m=k[1];if(m){$s=8;continue;}$s=9;continue;case 8:n=J.Sprintf("encountered a cycle via %s",new EV([$clone(e,L.Value).Type()]));$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.error(new CC.ptr($clone(e,L.Value),n));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:o=j;(d.ptrSeen||$throwRuntimeError("assignment to entry in nil map")).set($emptyInterface.keyFor(o),{k:o,v:new FK.ptr()});$deferred.push([function(p,q){$mapDelete(p,$emptyInterface.keyFor(q));},[d.ptrSeen,j]]);case 6:r=d;s=$clone(e,L.Value).Elem();$s=12;case 12:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=$clone(s,L.Value);u=$clone(f,CL);$r=g.elemEnc(r,t,u);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.ptrLevel=d.ptrLevel-(1)>>>0;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:DS.ptr.prototype.encode,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred};return $f;}}};DS.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DT=function(d){var{d,e,f,g,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=d.Elem();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=CP(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new DS.ptr(f);$s=-1;return $methodVal($clone(g,DS),"encode");}return;}var $f={$blk:DT,$c:true,$r,d,e,f,g,$s};return $f;};DU.ptr.prototype.encode=function(d,e,f){var{d,e,f,g,$s,$r,$c}=$restore(this,{d,e,f});$s=$s||0;s:while(true){switch($s){case 0:g=this;if($clone(e,L.Value).CanAddr()){$s=1;continue;}$s=2;continue;case 1:$r=g.canAddrEnc(d,$clone(e,L.Value),$clone(f,CL));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=g.elseEnc(d,$clone(e,L.Value),$clone(f,CL));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:DU.ptr.prototype.encode,$c:true,$r,d,e,f,g,$s};return $f;};DU.prototype.encode=function(d,e,f){return this.$val.encode(d,e,f);};DV=function(d,e){var d,e,f;f=new DU.ptr(d,e);return $methodVal($clone(f,DU),"encode");};DW=function(d){var d,e,f,g,h;if(d===""){return false;}e=d;f=0;while(true){if(!(f?@[]^_{|}~ ",h)){}else if(!N.IsLetter(h)&&!N.IsDigit(h)){return false;}f+=g[1];}return true;};DX=function(d,e){var{d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=e;g=0;case 1:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);i=d.Kind();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(i===22){$s=3;continue;}$s=4;continue;case 3:j=d.Elem();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;case 4:k=d.Field(h);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k.Type;g++;$s=1;continue;case 2:$s=-1;return d;}return;}var $f={$blk:DX,$c:true,$r,d,e,f,g,h,i,j,k,$s};return $f;};DY.ptr.prototype.resolve=function(){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:d=this;if($clone(d.k,L.Value).Kind()===24){$s=1;continue;}$s=2;continue;case 1:e=$clone(d.k,L.Value).String();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.ks=e;$s=-1;return $ifaceNil;case 2:g=$clone(d.k,L.Value).Interface();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=$assertType(g,H.TextMarshaler,true);h=f[0];i=f[1];if(i){$s=5;continue;}$s=6;continue;case 5:if(($clone(d.k,L.Value).Kind()===22)&&$clone(d.k,L.Value).IsNil()){$s=-1;return $ifaceNil;}k=h.MarshalText();$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];d.ks=($bytesToString(l));$s=-1;return m;case 6:n=$clone(d.k,L.Value).Kind();if((n===(2))||(n===(3))||(n===(4))||(n===(5))||(n===(6))){d.ks=F.FormatInt($clone(d.k,L.Value).Int(),10);$s=-1;return $ifaceNil;}else if((n===(7))||(n===(8))||(n===(9))||(n===(10))||(n===(11))||(n===(12))){d.ks=F.FormatUint($clone(d.k,L.Value).Uint(),10);$s=-1;return $ifaceNil;}$panic(new $String("unexpected map key type"));$s=-1;return $ifaceNil;}return;}var $f={$blk:DY.ptr.prototype.resolve,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};DY.prototype.resolve=function(){return this.$val.resolve();};CG.ptr.prototype.string=function(d,e){var{aa,ab,ac,ad,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:f=this;g=f.Buffer.WriteByte(34);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=0;i=0;case 2:if(!(i=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRuneInString($substring(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+i]);if(j<128){$s=4;continue;}$s=5;continue;case 4:if(((j<0||j>=S.length)?($throwRuntimeError("index out of range"),undefined):S[j])||(!e&&((j<0||j>=R.length)?($throwRuntimeError("index out of range"),undefined):R[j]))){i=i+(1)>>0;$s=2;continue;}if(h>>4<<24>>>24)));$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=f.Buffer.WriteByte(CF.charCodeAt(((j&15)>>>0)));$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 16:case 10:i=i+(1)>>0;h=i;$s=2;continue;case 5:u=B.DecodeRune($subslice(d,i));v=u[0];w=u[1];if((v===65533)&&(w===1)){$s=24;continue;}$s=25;continue;case 24:if(h>0;h=i;$s=2;continue;case 25:if((v===8232)||(v===8233)){$s=30;continue;}$s=31;continue;case 30:if(h>0;h=i;$s=2;continue;case 31:i=i+(w)>>0;$s=2;continue;case 3:if(h=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),DZ);h=$clone(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),DZ);DZ.copy(((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]),g);DZ.copy(((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]),h);};$ptrType(EA).prototype.Swap=function(d,e){return this.$get().Swap(d,e);};EA.prototype.Less=function(d,e){var d,e,f,g,h,i,j,k,l;f=this;g=((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i>=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length){return false;}if(!((j===(k=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+i]))))){return j<(l=((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+i]));}h++;}return((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d]).index.$length<((e<0||e>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]).index.$length;};$ptrType(EA).prototype.Less=function(d,e){return this.$get().Less(d,e);};EB=function(d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=[e];f=[f];g=new FJ([]);h=new FJ([new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,d,false,false,$throwNilPointerError)]);i=false;j=false;k=i;l=j;m=$makeMap(L.Type.keyFor,[]);e[0]=FJ.nil;f[0]=new C.Buffer.ptr(FA.nil,0,0);case 1:if(!(h.$length>0)){$s=2;continue;}n=h;o=$subslice(g,0,0);g=n;h=o;p=l;q=$makeMap(L.Type.keyFor,[]);k=p;l=q;r=g;s=0;case 3:if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]),DZ);if((u=$mapIndex(m,L.Type.keyFor(t.typ)),u!==undefined?u.v:false)){s++;$s=3;continue;}v=t.typ;(m||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(v),{k:v,v:true});w=0;case 5:x=t.typ.NumField();$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}if(!(w>0;$s=5;continue;case 17:$s=11;continue;case 10:w=w+(1)>>0;$s=5;continue;case 11:af=new L.StructTag(z.Tag).Get("json");if(af==="-"){w=w+(1)>>0;$s=5;continue;}ag=Q(af);ah=ag[0];ai=ag[1];if(!DW(ah)){ah="";}aj=$makeSlice(EX,(t.index.$length+1>>0));$copySlice(aj,t.index);(ak=t.index.$length,((ak<0||ak>=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]=w));al=z.Type;an=al.Name();$s=23;case 23:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!(an==="")){am=false;$s=22;continue s;}ao=al.Kind();$s=24;case 24:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao===22;case 22:if(am){$s=20;continue;}$s=21;continue;case 20:ap=al.Elem();$s=25;case 25:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}al=ap;case 21:aq=false;if(new P(ai).Contains("string")){$s=26;continue;}$s=27;continue;case 26:ar=al.Kind();$s=29;case 29:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if((as===(1))||(as===(2))||(as===(3))||(as===(4))||(as===(5))||(as===(6))||(as===(7))||(as===(8))||(as===(9))||(as===(10))||(as===(11))||(as===(12))||(as===(13))||(as===(14))||(as===(24))){aq=true;}case 28:case 27:if(!(ah==="")||!z.Anonymous){at=true;$s=32;continue s;}au=al.Kind();$s=33;case 33:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=!((au===25));case 32:if(at){$s=30;continue;}$s=31;continue;case 30:av=!(ah==="");if(ah===""){ah=z.Name;}aw=new DZ.ptr(ah,FA.nil,$throwNilPointerError,"","",av,aj,al,new P(ai).Contains("omitempty"),aq,$throwNilPointerError);aw.nameBytes=(new FA($stringToBytes(aw.name)));aw.equalFold=BT(aw.nameBytes);f[0].Reset();ax=f[0].WriteString("\"");$s=34;case 34:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ax;$r=BZ(f[0],aw.nameBytes);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ay=f[0].WriteString("\":");$s=36;case 36:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;aw.nameEscHTML=f[0].String();aw.nameNonEsc="\""+aw.name+"\":";e[0]=$append(e[0],aw);if((az=$mapIndex(k,L.Type.keyFor(t.typ)),az!==undefined?az.v:0)>1){e[0]=$append(e[0],(ba=e[0].$length-1>>0,((ba<0||ba>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+ba])));}w=w+(1)>>0;$s=5;continue;case 31:bb=al;(l||$throwRuntimeError("assignment to entry in nil map")).set(L.Type.keyFor(bb),{k:bb,v:(bc=$mapIndex(l,L.Type.keyFor(al)),bc!==undefined?bc.v:0)+(1)>>0});if((bd=$mapIndex(l,L.Type.keyFor(al)),bd!==undefined?bd.v:0)===1){$s=37;continue;}$s=38;continue;case 37:be=al.Name();$s=39;case 39:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}h=$append(h,new DZ.ptr(be,FA.nil,$throwNilPointerError,"","",false,aj,al,false,false,$throwNilPointerError));case 38:w=w+(1)>>0;$s=5;continue;case 6:s++;$s=3;continue;case 4:$s=1;continue;case 2:$r=M.Slice(e[0],(function(e,f){return function(bf,bg){var bf,bg,bh;bh=e[0];if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).name<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).name;}if(!((((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length))){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).index.$length<((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).index.$length;}if(!(((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag===((bg<0||bg>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bg]).tag)){return((bf<0||bf>=bh.$length)?($throwRuntimeError("index out of range"),undefined):bh.$array[bh.$offset+bf]).tag;}return($convertSliceType(bh,EA)).Less(bf,bg);};})(e,f));$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bf=$subslice(e[0],0,0);bg=0;bh=0;bi=bg;bj=bh;while(true){if(!(bj=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bj]),DZ);bl=bk.name;bi=1;while(true){if(!((bj+bi>>0)>0,((bm<0||bm>=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bm])),DZ);if(!(bn.name===bl)){break;}bi=bi+(1)>>0;}if(bi===1){bf=$append(bf,bk);bj=bj+(bi)>>0;continue;}bo=EC($subslice(e[0],bj,(bj+bi>>0)));bp=$clone(bo[0],DZ);bq=bo[1];if(bq){bf=$append(bf,bp);}bj=bj+(bi)>>0;}e[0]=bf;$r=M.Sort(($convertSliceType(e[0],EA)));$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}br=e[0];bs=0;case 42:if(!(bs=e[0].$length)?($throwRuntimeError("index out of range"),undefined):e[0].$array[e[0].$offset+bt]);bv=DX(d,bu.index);$s=44;case 44:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=CP(bv);$s=45;case 45:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bu.encoder=bw;bs++;$s=42;continue;case 43:by=(bx=e[0].$length,((bx<0||bx>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));bz=e[0];ca=0;while(true){if(!(ca=bz.$length)?($throwRuntimeError("index out of range"),undefined):bz.$array[bz.$offset+ca]),DZ);cd=cc.name;(by||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(cd),{k:cd,v:cb});ca++;}$s=-1;return new DJ.ptr(e[0],by);}return;}var $f={$blk:EB,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};EC=function(d){var d;if(d.$length>1&&((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).index.$length===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).index.$length)&&(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).tag===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1]).tag){return[new DZ.ptr("",FA.nil,$throwNilPointerError,"","",false,EX.nil,$ifaceNil,false,false,$throwNilPointerError),false];}return[(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),true];};EE=function(d){var{d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{d});$s=$s||0;s:while(true){switch($s){case 0:e=ED.Load(d);f=e[0];g=e[1];if(g){$s=-1;return $assertType(f,DJ);}i=d;k=EB(d);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=(j=k,new j.constructor.elem(j));m=ED.LoadOrStore(i,l);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}h=m;n=h[0];$s=-1;return $assertType(n,DJ);}return;}var $f={$blk:EE,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};EK.prototype.String=function(){var d;d=this.$val;return(d);};$ptrType(EK).prototype.String=function(){return new EK(this.$get()).String();};EK.prototype.Float64=function(){var d;d=this.$val;return F.ParseFloat((d),64);};$ptrType(EK).prototype.Float64=function(){return new EK(this.$get()).Float64();};EK.prototype.Int64=function(){var d;d=this.$val;return F.ParseInt((d),10,64);};$ptrType(EK).prototype.Int64=function(){return new EK(this.$get()).Int64();};P.methods=[{prop:"Contains",name:"Contains",pkg:"",typ:$funcType([$String],[$Bool],false)}];FU.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FG.methods=[{prop:"reset",name:"reset",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"eof",name:"eof",pkg:"encoding/json",typ:$funcType([],[$Int],false)},{prop:"pushParseState",name:"pushParseState",pkg:"encoding/json",typ:$funcType([$Uint8,$Int,$Int],[$Int],false)},{prop:"popParseState",name:"popParseState",pkg:"encoding/json",typ:$funcType([],[],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$Uint8,$String],[$Int],false)}];FW.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FX.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)}];FZ.methods=[{prop:"Error",name:"Error",pkg:"",typ:$funcType([],[$String],false)},{prop:"Unwrap",name:"Unwrap",pkg:"",typ:$funcType([],[$error],false)}];FH.methods=[{prop:"marshal",name:"marshal",pkg:"encoding/json",typ:$funcType([$emptyInterface,CL],[$error],false)},{prop:"error",name:"error",pkg:"encoding/json",typ:$funcType([$error],[],false)},{prop:"reflectValue",name:"reflectValue",pkg:"encoding/json",typ:$funcType([L.Value,CL],[],false)},{prop:"string",name:"string",pkg:"encoding/json",typ:$funcType([$String,$Bool],[],false)},{prop:"stringBytes",name:"stringBytes",pkg:"encoding/json",typ:$funcType([FA,$Bool],[],false)}];DB.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DI.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DL.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DO.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DQ.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DS.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];DU.methods=[{prop:"encode",name:"encode",pkg:"encoding/json",typ:$funcType([FH,L.Value,CL],[],false)}];GC.methods=[{prop:"resolve",name:"resolve",pkg:"encoding/json",typ:$funcType([],[$error],false)}];EA.methods=[{prop:"Len",name:"Len",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Swap",name:"Swap",pkg:"",typ:$funcType([$Int,$Int],[],false)},{prop:"Less",name:"Less",pkg:"",typ:$funcType([$Int,$Int],[$Bool],false)}];EK.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"Float64",name:"Float64",pkg:"",typ:$funcType([],[$Float64,$error],false)},{prop:"Int64",name:"Int64",pkg:"",typ:$funcType([],[$Int64,$error],false)}];AD.init("encoding/json",[{prop:"msg",name:"msg",embedded:false,exported:false,typ:$String,tag:""},{prop:"Offset",name:"Offset",embedded:false,exported:true,typ:$Int64,tag:""}]);AE.init("encoding/json",[{prop:"step",name:"step",embedded:false,exported:false,typ:FV,tag:""},{prop:"endTop",name:"endTop",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"parseState",name:"parseState",embedded:false,exported:false,typ:EX,tag:""},{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""},{prop:"bytes",name:"bytes",embedded:false,exported:false,typ:$Int64,tag:""}]);CA.init([{prop:"MarshalJSON",name:"MarshalJSON",pkg:"",typ:$funcType([],[FA,$error],false)}]);CB.init("",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""}]);CC.init("",[{prop:"Value",name:"Value",embedded:false,exported:true,typ:L.Value,tag:""},{prop:"Str",name:"Str",embedded:false,exported:true,typ:$String,tag:""}]);CE.init("encoding/json",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:L.Type,tag:""},{prop:"Err",name:"Err",embedded:false,exported:true,typ:$error,tag:""},{prop:"sourceFunc",name:"sourceFunc",embedded:false,exported:false,typ:$String,tag:""}]);CG.init("encoding/json",[{prop:"Buffer",name:"Buffer",embedded:true,exported:true,typ:C.Buffer,tag:""},{prop:"scratch",name:"scratch",embedded:false,exported:false,typ:FI,tag:""},{prop:"ptrLevel",name:"ptrLevel",embedded:false,exported:false,typ:$Uint,tag:""},{prop:"ptrSeen",name:"ptrSeen",embedded:false,exported:false,typ:GA,tag:""}]);CJ.init("encoding/json",[{prop:"error",name:"error",embedded:true,exported:false,typ:$error,tag:""}]);CL.init("encoding/json",[{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"escapeHTML",name:"escapeHTML",embedded:false,exported:false,typ:$Bool,tag:""}]);CM.init([FH,L.Value,CL],[],false);DI.init("encoding/json",[{prop:"fields",name:"fields",embedded:false,exported:false,typ:DJ,tag:""}]);DJ.init("encoding/json",[{prop:"list",name:"list",embedded:false,exported:false,typ:FJ,tag:""},{prop:"nameIndex",name:"nameIndex",embedded:false,exported:false,typ:GB,tag:""}]);DL.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DO.init("encoding/json",[{prop:"arrayEnc",name:"arrayEnc",embedded:false,exported:false,typ:CM,tag:""}]);DQ.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DS.init("encoding/json",[{prop:"elemEnc",name:"elemEnc",embedded:false,exported:false,typ:CM,tag:""}]);DU.init("encoding/json",[{prop:"canAddrEnc",name:"canAddrEnc",embedded:false,exported:false,typ:CM,tag:""},{prop:"elseEnc",name:"elseEnc",embedded:false,exported:false,typ:CM,tag:""}]);DY.init("encoding/json",[{prop:"k",name:"k",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"v",name:"v",embedded:false,exported:false,typ:L.Value,tag:""},{prop:"ks",name:"ks",embedded:false,exported:false,typ:$String,tag:""}]);DZ.init("encoding/json",[{prop:"name",name:"name",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameBytes",name:"nameBytes",embedded:false,exported:false,typ:FA,tag:""},{prop:"equalFold",name:"equalFold",embedded:false,exported:false,typ:GD,tag:""},{prop:"nameNonEsc",name:"nameNonEsc",embedded:false,exported:false,typ:$String,tag:""},{prop:"nameEscHTML",name:"nameEscHTML",embedded:false,exported:false,typ:$String,tag:""},{prop:"tag",name:"tag",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"index",name:"index",embedded:false,exported:false,typ:EX,tag:""},{prop:"typ",name:"typ",embedded:false,exported:false,typ:L.Type,tag:""},{prop:"omitEmpty",name:"omitEmpty",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"quoted",name:"quoted",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"encoder",name:"encoder",embedded:false,exported:false,typ:CM,tag:""}]);EA.init(DZ);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CH=new G.Pool.ptr(EV.nil,$throwNilPointerError);CN=new G.Map.ptr(false);ED=new G.Map.ptr(false);R=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);S=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]);AF=new G.Pool.ptr(EV.nil,(function(){return new AE.ptr($throwNilPointerError,false,EX.nil,$ifaceNil,new $Int64(0,0));}));CF="0123456789abcdef";a=L.TypeOf((EY.nil)).Elem();$s=16;case 16:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}CQ=a;b=L.TypeOf((EZ.nil)).Elem();$s=17;case 17:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}CR=b;DC=$methodVal(new DB(32),"encode");DD=$methodVal(new DB(64),"encode");c=L.TypeOf((FB.nil)).Elem();$s=18;case 18:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}EQ=c;ER=L.TypeOf(new EK(""));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/render"]=(function(){var $pkg={},$init,A,M,H,F,G,I,J,K,L,B,C,D,E,N,P,R,T,AL,AM,AO,AQ,AW,BC,BE,BI,BS,BV,BY,CA,CG,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DR,DT,DU,DV,DW,X,AC,AK,AZ,CD,CF,O,Q,S,U,V,W,Y,Z,AA,AB,AD,AE,AF,AG,AH,AI,AJ,AP,AR,AS,AT,AU,AV,AX,AY,BA,BD,BF,BJ,BK,BN,BO,BP,BQ,BR,BT,BU,BW,BX,BZ,CB,CH;A=$packages["bytes"];M=$packages["encoding/json"];H=$packages["github.com/88250/lute/ast"];F=$packages["github.com/88250/lute/editor"];G=$packages["github.com/88250/lute/html"];I=$packages["github.com/88250/lute/lex"];J=$packages["github.com/88250/lute/parse"];K=$packages["github.com/88250/lute/util"];L=$packages["io"];B=$packages["strconv"];C=$packages["strings"];D=$packages["unicode"];E=$packages["unicode/utf8"];N=$pkg.VditorRenderer=$newType(0,$kindStruct,"render.VditorRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,commentStackDepth_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.commentStackDepth=0;return;}this.BaseRenderer=BaseRenderer_;this.commentStackDepth=commentStackDepth_;});P=$pkg.VditorSVRenderer=$newType(0,$kindStruct,"render.VditorSVRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,nodeWriterStack_,LastOut_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.nodeWriterStack=CT.nil;this.LastOut=CI.nil;return;}this.BaseRenderer=BaseRenderer_;this.nodeWriterStack=nodeWriterStack_;this.LastOut=LastOut_;});R=$pkg.VditorIRRenderer=$newType(0,$kindStruct,"render.VditorIRRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});T=$pkg.TextBundleRenderer=$newType(0,$kindStruct,"render.TextBundleRenderer",true,"github.com/88250/lute/render",true,function(FormatRenderer_,linkPrefixes_,originalLink_){this.$val=this;if(arguments.length===0){this.FormatRenderer=CX.nil;this.linkPrefixes=CJ.nil;this.originalLink=CJ.nil;return;}this.FormatRenderer=FormatRenderer_;this.linkPrefixes=linkPrefixes_;this.originalLink=originalLink_;});AL=$pkg.RendererFunc=$newType(4,$kindFunc,"render.RendererFunc",true,"github.com/88250/lute/render",true,null);AM=$pkg.ExtRendererFunc=$newType(4,$kindFunc,"render.ExtRendererFunc",true,"github.com/88250/lute/render",true,null);AO=$pkg.Options=$newType(0,$kindStruct,"render.Options",true,"github.com/88250/lute/render",true,function(SoftBreak2HardBreak_,AutoSpace_,RenderListStyle_,CodeSyntaxHighlight_,CodeSyntaxHighlightDetectLang_,CodeSyntaxHighlightInlineStyle_,CodeSyntaxHighlightLineNum_,CodeSyntaxHighlightStyleName_,VditorWYSIWYG_,VditorIR_,VditorSV_,ProtyleWYSIWYG_,KramdownBlockIAL_,KramdownSpanIAL_,SuperBlock_,ImageLazyLoading_,ChineseParagraphBeginningSpace_,Sanitize_,FixTermTypo_,Terms_,ToC_,HeadingID_,KramdownIALIDRenderName_,HeadingAnchor_,GFMTaskListItemClass_,VditorCodeBlockPreview_,VditorMathBlockPreview_,VditorHTMLBlockPreview_,LinkBase_,LinkPrefix_,NodeIndexStart_,ProtyleContenteditable_,KeepParagraphBeginningSpace_,ProtyleMarkNetImg_,Spellcheck_){this.$val=this;if(arguments.length===0){this.SoftBreak2HardBreak=false;this.AutoSpace=false;this.RenderListStyle=false;this.CodeSyntaxHighlight=false;this.CodeSyntaxHighlightDetectLang=false;this.CodeSyntaxHighlightInlineStyle=false;this.CodeSyntaxHighlightLineNum=false;this.CodeSyntaxHighlightStyleName="";this.VditorWYSIWYG=false;this.VditorIR=false;this.VditorSV=false;this.ProtyleWYSIWYG=false;this.KramdownBlockIAL=false;this.KramdownSpanIAL=false;this.SuperBlock=false;this.ImageLazyLoading="";this.ChineseParagraphBeginningSpace=false;this.Sanitize=false;this.FixTermTypo=false;this.Terms=false;this.ToC=false;this.HeadingID=false;this.KramdownIALIDRenderName="";this.HeadingAnchor=false;this.GFMTaskListItemClass="";this.VditorCodeBlockPreview=false;this.VditorMathBlockPreview=false;this.VditorHTMLBlockPreview=false;this.LinkBase="";this.LinkPrefix="";this.NodeIndexStart=0;this.ProtyleContenteditable=false;this.KeepParagraphBeginningSpace=false;this.ProtyleMarkNetImg=false;this.Spellcheck=false;return;}this.SoftBreak2HardBreak=SoftBreak2HardBreak_;this.AutoSpace=AutoSpace_;this.RenderListStyle=RenderListStyle_;this.CodeSyntaxHighlight=CodeSyntaxHighlight_;this.CodeSyntaxHighlightDetectLang=CodeSyntaxHighlightDetectLang_;this.CodeSyntaxHighlightInlineStyle=CodeSyntaxHighlightInlineStyle_;this.CodeSyntaxHighlightLineNum=CodeSyntaxHighlightLineNum_;this.CodeSyntaxHighlightStyleName=CodeSyntaxHighlightStyleName_;this.VditorWYSIWYG=VditorWYSIWYG_;this.VditorIR=VditorIR_;this.VditorSV=VditorSV_;this.ProtyleWYSIWYG=ProtyleWYSIWYG_;this.KramdownBlockIAL=KramdownBlockIAL_;this.KramdownSpanIAL=KramdownSpanIAL_;this.SuperBlock=SuperBlock_;this.ImageLazyLoading=ImageLazyLoading_;this.ChineseParagraphBeginningSpace=ChineseParagraphBeginningSpace_;this.Sanitize=Sanitize_;this.FixTermTypo=FixTermTypo_;this.Terms=Terms_;this.ToC=ToC_;this.HeadingID=HeadingID_;this.KramdownIALIDRenderName=KramdownIALIDRenderName_;this.HeadingAnchor=HeadingAnchor_;this.GFMTaskListItemClass=GFMTaskListItemClass_;this.VditorCodeBlockPreview=VditorCodeBlockPreview_;this.VditorMathBlockPreview=VditorMathBlockPreview_;this.VditorHTMLBlockPreview=VditorHTMLBlockPreview_;this.LinkBase=LinkBase_;this.LinkPrefix=LinkPrefix_;this.NodeIndexStart=NodeIndexStart_;this.ProtyleContenteditable=ProtyleContenteditable_;this.KeepParagraphBeginningSpace=KeepParagraphBeginningSpace_;this.ProtyleMarkNetImg=ProtyleMarkNetImg_;this.Spellcheck=Spellcheck_;});AQ=$pkg.BaseRenderer=$newType(0,$kindStruct,"render.BaseRenderer",true,"github.com/88250/lute/render",true,function(Options_,RendererFuncs_,DefaultRendererFunc_,ExtRendererFuncs_,Writer_,LastOut_,Tree_,DisableTags_,FootnotesDefs_,RenderingFootnotes_){this.$val=this;if(arguments.length===0){this.Options=CZ.nil;this.RendererFuncs=false;this.DefaultRendererFunc=$throwNilPointerError;this.ExtRendererFuncs=false;this.Writer=CS.nil;this.LastOut=0;this.Tree=DA.nil;this.DisableTags=0;this.FootnotesDefs=CN.nil;this.RenderingFootnotes=false;return;}this.Options=Options_;this.RendererFuncs=RendererFuncs_;this.DefaultRendererFunc=DefaultRendererFunc_;this.ExtRendererFuncs=ExtRendererFuncs_;this.Writer=Writer_;this.LastOut=LastOut_;this.Tree=Tree_;this.DisableTags=DisableTags_;this.FootnotesDefs=FootnotesDefs_;this.RenderingFootnotes=RenderingFootnotes_;});AW=$pkg.Heading=$newType(0,$kindStruct,"render.Heading",true,"github.com/88250/lute/render",true,function(ID_,Box_,Path_,HPath_,Content_,Level_,Children_,parent_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.HPath="";this.Content="";this.Level=0;this.Children=DC.nil;this.parent=DB.nil;return;}this.ID=ID_;this.Box=Box_;this.Path=Path_;this.HPath=HPath_;this.Content=Content_;this.Level=Level_;this.Children=Children_;this.parent=parent_;});BC=$pkg.ProtyleRenderer=$newType(0,$kindStruct,"render.ProtyleRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeIndex_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeIndex=0;return;}this.BaseRenderer=BaseRenderer_;this.NodeIndex=NodeIndex_;});BE=$pkg.ProtylePreviewRenderer=$newType(0,$kindStruct,"render.ProtylePreviewRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BI=$pkg.ProtyleExportMdRenderer=$newType(0,$kindStruct,"render.ProtyleExportMdRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});BS=$pkg.KityMinderJSONRenderer=$newType(0,$kindStruct,"render.KityMinderJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BV=$pkg.JSONRenderer=$newType(0,$kindStruct,"render.JSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});BY=$pkg.HtmlRenderer=$newType(0,$kindStruct,"render.HtmlRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CA=$pkg.FormatRenderer=$newType(0,$kindStruct,"render.FormatRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_,NodeWriterStack_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;this.NodeWriterStack=CT.nil;return;}this.BaseRenderer=BaseRenderer_;this.NodeWriterStack=NodeWriterStack_;});CG=$pkg.EChartsJSONRenderer=$newType(0,$kindStruct,"render.EChartsJSONRenderer",true,"github.com/88250/lute/render",true,function(BaseRenderer_){this.$val=this;if(arguments.length===0){this.BaseRenderer=CK.nil;return;}this.BaseRenderer=BaseRenderer_;});CI=$sliceType($Uint8);CJ=$sliceType($String);CK=$ptrType(AQ);CL=$sliceType(CJ);CM=$ptrType(H.Node);CN=$sliceType(CM);CO=$ptrType(H.ListData);CP=$sliceType($Int);CQ=$sliceType(H.NodeType);CR=$ptrType(CL);CS=$ptrType(A.Buffer);CT=$sliceType(CS);CU=$ptrType(G.Node);CV=$ptrType(G.Attribute);CW=$sliceType(CV);CX=$ptrType(CA);CY=$sliceType($Int32);CZ=$ptrType(AO);DA=$ptrType(J.Tree);DB=$ptrType(AW);DC=$sliceType(DB);DD=$sliceType(CN);DE=$ptrType(J.Context);DF=$ptrType(I.Lexer);DG=$ptrType(J.InlineContext);DH=$ptrType(N);DI=$ptrType(P);DJ=$ptrType(R);DK=$ptrType(T);DL=$mapType($String,$String);DM=$mapType(H.NodeType,AL);DN=$mapType(H.NodeType,AM);DO=$ptrType(BC);DP=$ptrType(BE);DR=$ptrType(BI);DT=$ptrType(BS);DU=$ptrType(BV);DV=$ptrType(BY);DW=$ptrType(CG);O=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new N.ptr(c,0);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderMark2OpenMarker")});ck=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderMark2CloseMarker")});cl=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSup")});cm=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSupOpenMarker")});cn=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSupCloseMarker")});co=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSub")});cp=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderSubOpenMarker")});cq=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderSubCloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:O,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorRenderer=O;N.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};N.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:N.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};N.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};N.ptr.prototype.renderMark=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};N.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};N.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};N.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-marker","=="])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};N.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};N.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};N.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-marker","^"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};N.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};N.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};N.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};N.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};N.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};N.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};N.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};N.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-entity"]),new CJ(["style","display: none"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),a.HtmlEntityTokens);$r=c.BaseRenderer.Write(G.EscapeHTML(f));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=A.ReplaceAll(a.HtmlEntityTokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(g);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};N.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};N.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};N.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:N.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};N.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};N.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)&&A.EqualFold(a.Previous.Tokens,a.Tokens)){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
  • ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 4:if(!(!(CM.nil===d))){$s=5;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=4;continue;case 5:$r=c[0].BaseRenderer.WriteString("
  • ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};N.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=8;case 8:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=G.EscapeString(l);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=AS(m,24);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new CL([new CJ(["data-type","footnotes-ref"]),new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]),new CJ(["class","vditor-tooltipped vditor-tooltipped__s"]),new CJ(["aria-label",n])]);$r=c.BaseRenderer.Tag("sup",o,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};N.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};N.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};N.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};N.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};N.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};N.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};N.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};N.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};N.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);e=d;f=new CL([new CJ(["data-type","math-inline"])]);if(!A.Contains(e,F.CaretTokens)){f=$append(f,new CJ(["style","display: none"]));}$r=c.BaseRenderer.WriteString("");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};N.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};N.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};N.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};N.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=CL.nil;if(!A.Contains(e,F.CaretTokens)&&c.BaseRenderer.Options.VditorMathBlockPreview){f=$append(f,new CJ(["style","display: none"]));}g=e.$length;h=1>g||((3===g)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.Tokens;i=A.ReplaceAll(i,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(i));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};N.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};N.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};N.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};N.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};N.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};N.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};N.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};N.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};N.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};N.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-marker","~~"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};N.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};N.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};N.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};N.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};N.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};N.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};N.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};N.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};N.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};N.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};N.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};N.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};N.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){$s=3;continue;}$s=4;continue;case 3:d=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteString("\"");$s=12;case");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.Writer.Bytes();l=A.LastIndex(k,(new CI($stringToBytes("\"");$s=32;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=33;continue;}$s=34;continue;case 33:$r=c.BaseRenderer.WriteByte(34);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=a.ChildByType(42);if(!(CM.nil===r)&&!(CI.nil===r.Tokens)){$s=36;continue;}$s=37;continue;case 36:$r=c.BaseRenderer.WriteString(" title=\"");$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r.Tokens=A.ReplaceAll(r.Tokens,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(r.Tokens);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:$r=c.BaseRenderer.WriteString(" />");$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=c.BaseRenderer.Writer.Bytes();t=A.LastIndex(s,(new CI($stringToBytes("=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]).Tokens));}i=($bytesToString(a.LinkRefLabel));j=new CL([new CJ(["data-type","link-ref"]),new CJ(["data-link-label",i])]);$r=c.BaseRenderer.Tag("span",j,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(h);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 4:$s=-1;return 2;case 5:case 2:if(b){$s=15;continue;}$s=16;continue;case 15:k=a.ChildByType(41);l=k.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=18;continue;}$s=19;continue;case 18:m=A.TrimSpace(l);$s=20;case 20:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=A.ToLower(n);$s=21;case 21:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;if(A.HasPrefix(n,(new CI($stringToBytes("javascript:"))))){l=CI.nil;}case 19:l=c.BaseRenderer.LinkPath(l);p=A.Contains(l,F.CaretTokens);if(p){q=a.ChildByType(40);q.Tokens=$appendSlice(q.Tokens,F.CaretTokens);l=A.ReplaceAll(l,F.CaretTokens,CI.nil);}r=new CL([new CJ(["href",($bytesToString(l))])]);s=a.ChildByType(42);if(!(CM.nil===s)&&!(CI.nil===s.Tokens)){s.Tokens=A.ReplaceAll(s.Tokens,F.CaretTokens,CI.nil);r=$append(r,new CJ(["title",($bytesToString(s.Tokens))]));}$r=c.BaseRenderer.Tag("a",r,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=17;continue;case 16:$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};N.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};N.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("
    ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:$r=c.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};N.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Contains(a.Tokens,(new CI($stringToBytes(">0;$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=7;continue;}$s=8;continue;case 7:if(0>0;$r=c.BaseRenderer.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 10:case 8:if(b){$s=12;continue;}$s=13;continue;case 12:d=a.PreviousNodeText();$s=14;case 14:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if("\xE2\x80\x8B"===e||""===e){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:f=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);f=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),f);g=A.TrimSpace(a.Tokens);$s=18;case 18:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.Tokens=g;$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-inline"])]),false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=G.EscapeHTML(f);$r=c.BaseRenderer.Write(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};N.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};N.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:e=new CL([new CJ(["data-block","0"])]);e=$appendSlice(e,a.KramdownIAL);$r=c.BaseRenderer.Tag("p",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};N.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=A.TrimRight(d,"\n");if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};N.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(32);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 6:$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-marker",C.Repeat("`",a.CodeMarkerLen)])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};N.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};N.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};N.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.ReplaceAll(a.Tokens,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);d=G.EscapeHTML(d);d=$appendSlice((new CI($stringToBytes("\xE2\x80\x8B"))),d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};N.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent;e=d.Parent;if(!(CM.nil===e)&&(33===e.Type)){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};N.ptr.prototype.renderEmphasis=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};N.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","*"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};N.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};N.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-marker","_"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};N.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};N.ptr.prototype.renderStrong=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};N.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","**"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};N.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};N.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-marker","__"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};N.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};N.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};N.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};N.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\"");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.ChildByType(420);if(!(CM.nil===e)){d=($bytesToString(e.Tokens));}if(c.BaseRenderer.Options.HeadingID&&!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(" data-id=\""+d+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:if(""===d){$s=8;continue;}$s=9;continue;case 8:f=AT(a);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;case 9:$r=c.BaseRenderer.WriteString(" id=\"wysiwyg-"+d+"\"");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:if(1===a.HeadingLevel){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 14:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:g=AT(a);$s=23;case 23:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+h]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+h])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$s=3;continue;case 2:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};N.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};N.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};N.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};N.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};N.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};N.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};N.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};N.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};N.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};N.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CI.nil===a.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};N.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};N.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};N.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};N.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d="```";if(!(CM.nil===a.FirstChild)&&A.HasPrefix(a.FirstChild.Tokens,(new CI($stringToBytes(d))))){d=($bytesToString(a.FirstChild.Tokens));}$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,$s};return $f;};N.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};N.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g="";h=false;i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+g]));if("mindmap"===g){$s=5;continue;}$s=6;continue;case 5:k=BO(a.Tokens);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 6:case 4:case 2:m=new CL([new CJ(["class","vditor-wysiwyg__pre"])]);if(!A.Contains(a.Tokens,F.CaretTokens)&&!h&&c.BaseRenderer.Options.VditorCodeBlockPreview){m=$append(m,new CJ(["style","display: none"]));}$r=c.BaseRenderer.Tag("pre",m,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteString("\n");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=12;continue;case 11:if(h){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteString("");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-wysiwyg__preview"]),new CJ(["data-render","2"])]),false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(g);if(n){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.Tag("div",i,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=25;continue;case 24:$r=c.BaseRenderer.Tag("code",i,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.WriteString("
    ");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=31;continue;case 30:$r=c.BaseRenderer.WriteString("");$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 21:$s=-1;return 2;}return;}var $f={$blk:N.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};N.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.WriteByte=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.BaseRenderer.Writer.WriteByte(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;b.LastOut=$append(b.LastOut,a);if(1024:");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=13;continue;}$s=14;continue;case 13:$r=c.WriteString(" ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=c.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(e);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};P.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kramdown-ial"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};P.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"mark");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};P.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};P.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};P.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};P.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};P.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sup");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};P.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};P.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};P.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"sub");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};P.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};P.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};P.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};P.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};P.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};P.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};P.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};P.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};P.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("[toc]");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};P.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};P.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:a=[a];c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"]),new CJ(["data-type","footnotes-link"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].Write(a[0].Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].WriteString(": ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a[0].FirstChild;case 13:if(!(!(CM.nil===d))){$s=14;continue;}$r=H.Walk(d,(function(a,c){return function $b(e,f){var{e,f,g,h,i,j,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(f&&!(e===a[0].FirstChild)&&(e.IsBlock()||(15===e.Type)||(13===e.Type))){$s=1;continue;}$s=2;continue;case 1:g=" ";if(13===e.Type){$s=3;continue;}$s=4;continue;case 3:e.Tokens=$appendSlice((new CI($stringToBytes(g))),e.Tokens);$s=5;continue;case 4:$r=c[0].WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:i=(h=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),h!==undefined?h.v:$throwNilPointerError)(e,f);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=8;case 8:return j;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,j,$s};return $f;};})(a,c));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=13;continue;case 14:$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};P.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];i=h.Text();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new CL([new CJ(["data-type","footnotes-ref"])]);k=$append(k,new CJ(["class","b3-tooltips b3-tooltips__s"]));l=G.EscapeString(j);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=AS(l,24);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}k=$append(k,new CJ(["aria-label",m]));k=$append(k,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","sup"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};P.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};P.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.CodeBlockInfo);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};P.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};P.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!a.IsFencedCodeBlock){$s=10;continue;}$s=11;continue;case 10:$r=c.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("```");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$r=c.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};P.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};P.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};P.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};P.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};P.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};P.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};P.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};P.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};P.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};P.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};P.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};P.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"]),new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("$$");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};P.ptr.prototype.renderMathBlock=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};P.ptr.prototype.renderTableCell=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};P.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};P.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};P.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","table"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:P.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};P.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"s");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};P.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};P.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};P.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};P.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};P.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};P.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};P.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"]),new CJ(["data-type","link-text"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};P.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};P.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};P.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};P.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};P.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};P.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};P.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};P.ptr.prototype.renderImage=function(a,b){var a,b,c,d;c=this;if(b){if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();d=a.ChildByType(43);if(!(CM.nil===d)){d.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}}return 2;};P.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};P.ptr.prototype.renderLink=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};P.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimSpace(a.Tokens);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=G.EscapeHTML(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$appendSlice((new CI($stringToBytes(""))),$pkg.NewlineSV);f=A.ReplaceAll(f,(new CI($stringToBytes("\n"))),g);$r=c.Write(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};P.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};P.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");c.BaseRenderer.Writer.Reset();$r=c.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};P.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};P.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.Parent;e=!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight;if(!e){$s=5;continue;}$s=6;continue;case 5:$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.popWriter(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};P.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(a.ParentIs(109,CQ.nil)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","text"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.TrimRight(d,"\n");$r=c.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};P.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};P.ptr.prototype.renderCodeSpan=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};P.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};P.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};P.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};P.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"em");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};P.ptr.prototype.popWriteClass=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));$r=c.renderClass(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e])).Write(c.BaseRenderer.Writer.Bytes());$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;c.BaseRenderer.Writer=(g=c.nodeWriterStack,h=c.nodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriteClass,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};P.prototype.popWriteClass=function(a,b){return this.$val.popWriteClass(a,b);};P.ptr.prototype.popWriter=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;b.nodeWriterStack=$subslice(b.nodeWriterStack,0,(b.nodeWriterStack.$length-1>>0));e=(c=b.nodeWriterStack,d=b.nodeWriterStack.$length-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d])).Write(b.BaseRenderer.Writer.Bytes());$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;b.BaseRenderer.Writer=(f=b.nodeWriterStack,g=b.nodeWriterStack.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.popWriter,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};P.prototype.popWriter=function(a){return this.$val.popWriter(a);};P.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};P.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};P.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};P.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};P.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:$r=c.popWriteClass(a,"strong");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};P.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};P.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};P.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};P.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};P.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h=(new CI($stringToBytes("> ")));g=$appendSlice(h,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,h));f.Reset();i=f.Write(g);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;l=(j=c.nodeWriterStack,k=c.nodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;c.BaseRenderer.Writer=(m=c.nodeWriterStack,n=c.nodeWriterStack.$length-1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};P.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};P.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};P.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=9;continue;}$s=10;continue;case 9:$r=c.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=13;case 13:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=14;continue;}$s=15;continue;case 14:$r=c.WriteString(C.Repeat("=",e));$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.WriteString(C.Repeat("-",e));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:f="h"+$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.renderClass(a,f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.popWriter(a);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,$s};return $f;};P.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};P.ptr.prototype.renderClass=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.Writer.Bytes();e=A.NewReader(d);f=new G.Node.ptr(CU.nil,CU.nil,CU.nil,CU.nil,CU.nil,3,0,"","",CW.nil);h=G.ParseFragment(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];c.BaseRenderer.Writer.Reset();j=0;case 2:if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);l=c.domAttrValue(k,"class");if(""===l){l=b;}else{l=l+(" "+b);}c.domSetAttrValue(k,"class",l);m=G.Render(c.BaseRenderer.Writer,k);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;j=j+(1)>>0;$s=2;continue;case 3:$s=-1;return;}return;}var $f={$blk:P.ptr.prototype.renderClass,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};P.prototype.renderClass=function(a,b){return this.$val.renderClass(a,b);};P.ptr.prototype.domAttrValue=function(a,b){var a,b,c,d,e,f;c=this;if(CU.nil===a){return"";}d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f.Key===b){return f.Val;}e++;}return"";};P.prototype.domAttrValue=function(a,b){return this.$val.domAttrValue(a,b);};P.ptr.prototype.domSetAttrValue=function(a,b,c){var a,b,c,d,e,f,g;d=this;if(CU.nil===a){return;}e=a.Attr;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(g.Key===b){g.Val=c;return;}f++;}a.Attr=$append(a.Attr,new G.Attribute.ptr("",b,c));};P.prototype.domSetAttrValue=function(a,b,c){return this.$val.domSetAttrValue(a,b,c);};P.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};P.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};P.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};P.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.Write($pkg.NewlineSV);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};P.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.nodeWriterStack=$append(c.nodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.nodeWriterStack,e=c.nodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.nodeWriterStack=$subslice(c.nodeWriterStack,0,(c.nodeWriterStack.$length-1>>0));g=f.Bytes();h="";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter));}else{h=($bytesToString(a.ListData.Marker));}i=(new CI($stringToBytes(""+h+" ")));g=$appendSlice(i,g);while(true){if(!(A.HasSuffix(g,$pkg.NewlineSV))){break;}g=A.TrimSuffix(g,$pkg.NewlineSV);}j=(new CI($stringToBytes(""+C.Repeat(" ",a.ListData.Padding)+"")));g=A.ReplaceAll(g,$pkg.NewlineSV,$appendSlice($pkg.NewlineSV,j));f.Reset();k=f.Write(g);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;n=(l=c.nodeWriterStack,m=c.nodeWriterStack.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m])).Write(f.Bytes());$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;c.BaseRenderer.Writer=(o=c.nodeWriterStack,p=c.nodeWriterStack.$length-1>>0,((p<0||p>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]));g=c.BaseRenderer.Writer.Bytes();c.BaseRenderer.Writer.Reset();$r=c.Write(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s};return $f;};P.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};P.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(91);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--strong"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(120);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","task-marker"]),new CJ(["class","vditor-sv__marker--bi"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("] ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.TrimPrefix(a.Next.Tokens,(new CI($stringToBytes(" "))));$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};P.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-sv__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.WriteString("---");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.Write($pkg.NewlineSV);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};P.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};P.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:P.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};P.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};P.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(9))||(f===(10))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:P.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};P.prototype.Text=function(a){return this.$val.Text(a);};S=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new R.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderOpenBrace")});bc=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderCloseBrace")});bd=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderLinkText")});be=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderLinkSpace")});bf=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkDest")});bg=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkTitle")});bh=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderStrikethrough")});bi=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bj=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bk=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bl=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bm=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderTaskListItemMarker")});bn=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderTable")});bo=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTableHead")});bp=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTableRow")});bq=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableCell")});br=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderEmoji")});bs=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderEmojiUnicode")});bt=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmojiImg")});bu=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiAlias")});bv=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderFootnotesDefBlock")});bw=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderFootnotesDef")});bx=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesRef")});by=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderToC")});bz=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderBackslash")});ca=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderBackslashContent")});cb=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderHtmlEntity")});cc=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderYamlFrontMatter")});cd=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});ce=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatterContent")});cf=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});cg=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderMark")});ch=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderMark1OpenMarker")});ci=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderMark1CloseMarker")});cj=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderSup")});ck=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderSupOpenMarker")});cl=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderSupCloseMarker")});cm=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderSub")});cn=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderSubOpenMarker")});co=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderSubCloseMarker")});cp=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderMark2OpenMarker")});cq=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderMark2CloseMarker")});cr=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderKramdownBlockIAL")});cs=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderLinkRefDefBlock")});ct=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderLinkRefDef")});$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewVditorIRRenderer=S;R.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};R.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:R.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};R.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};R.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};R.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};R.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("=");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};R.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("mark",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};R.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("==");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};R.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};R.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};R.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("^");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};R.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};R.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("sub",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};R.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};R.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__marker--pre"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"]),new CJ(["class","language-yaml"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};R.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","yaml-front-matter-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};R.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};R.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","html-entity"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.HtmlEntityTokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};R.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};R.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(92);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};R.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:R.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};R.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};R.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c[0].BaseRenderer.RenderingFootnotes){$s=-1;return 2;}$r=c[0].BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c[0].BaseRenderer.WriteString("["+($bytesToString(a.Tokens))+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;case 5:if(!(!(CM.nil===d))){$s=6;continue;}$r=H.Walk(d,(function(c){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:h=(g=$mapIndex(c[0].BaseRenderer.RendererFuncs,H.NodeType.keyFor(e.Type)),g!==undefined?g.v:$throwNilPointerError)(e,f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=2;case 2:return i;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(c));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=5;continue;case 6:$r=c[0].BaseRenderer.WriteString("
    ");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};R.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.PreviousNodeText();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=2;continue;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:g=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=B.Itoa(h);k=i.Text();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=new CL([new CJ(["data-type","footnotes-ref"])]);n=a.Text();$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=C.Contains(o,"\xE2\x80\xB8");if(p){m=$append(m,new CJ(["class","vditor-ir__node vditor-ir__node--expand vditor-tooltipped vditor-tooltipped__s"]));}else{m=$append(m,new CJ(["class","vditor-ir__node vditor-tooltipped vditor-tooltipped__s"]));}q=G.EscapeString(l);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=AS(q,24);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}m=$append(m,new CJ(["aria-label",r]));m=$append(m,new CJ(["data-footnotes-label",($bytesToString(a.FootnotesRefLabel))]));$r=c.BaseRenderer.Tag("sup",m,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker--hide"]),new CJ(["data-render","1"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};R.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};R.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--info"]),new CJ(["data-type","code-block-info"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};R.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};R.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};R.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=a.Tokens.$length;e=1>d||((3===d)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));f=a.Parent.IsFencedCodeBlock;g=false;h="";if(f){g=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}i=CL.nil;if(f&&0=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])));i=$append(i,new CJ(["class","language-"+h]));if("mindmap"===h){$s=3;continue;}$s=4;continue;case 3:k=BO(a.Tokens);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;i=$append(i,new CJ(["data-code",($bytesToString(l))]));case 4:case 2:m="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorCodeBlockPreview){m=m+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",m])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",i,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e){$s=8;continue;}$s=9;continue;case 8:if(!g){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.WriteString("");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$r=c.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorCodeBlockPreview){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=BA(h);if(n){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("div",i,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("code",i,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:o=a.Tokens;o=A.ReplaceAll(o,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(o));$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(n){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("
    ");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("");$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 19:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};R.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};R.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};R.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};R.ptr.prototype.renderEmoji=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.PreviousNodeText();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");if(""===e){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.renderSpanNode(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmoji,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};R.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};R.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","language-math"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};R.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(36);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"]),new CJ(["class","vditor-ir__marker vditor-ir__marker--pre"]),new CJ(["data-type","math-inline"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};R.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};R.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-close-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};R.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.TrimSpace(a.Tokens);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.Tokens=d;e=a.Tokens.$length;f=1>e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="vditor-ir__marker--pre";if(c.BaseRenderer.Options.VditorMathBlockPreview){g=g+(" vditor-ir__marker");}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class",g])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.VditorMathBlockPreview){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","math-block"]),new CJ(["class","language-math"])]),false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.Tokens;h=A.ReplaceAll(h,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Write(G.EscapeHTML(h));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};R.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};R.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","math-block-open-marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};R.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderDivNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};R.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.FirstChild){$s=5;continue;}if(A.Equal(a.FirstChild.Tokens,F.CaretTokens)){$s=6;continue;}$s=7;continue;case 5:a.AppendChild(new H.Node.ptr("","","","",16,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=8;continue;case 6:a.FirstChild.Tokens=(new CI($stringToBytes("\xE2\x80\xB8 ")));$s=8;continue;case 7:g=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.FirstChild.Tokens=g;case 8:$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};R.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};R.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};R.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",new CL([new CJ(["data-block","0"]),new CJ(["data-type","table"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};R.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};R.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};R.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("s",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};R.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/s",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("~~");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};R.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--title"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};R.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=A.TrimSpace(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=A.ToLower(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(A.HasPrefix(f,(new CI($stringToBytes("javascript:"))))){d=CI.nil;}case 5:d=G.EscapeHTML(d);$r=c.BaseRenderer.Write(d);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};R.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};R.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};R.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(34===a.Parent.Type){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(3===a.Parent.LinkType){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__link"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:$r=c.BaseRenderer.Write(a.Tokens);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};R.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(41);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};R.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if((33===a.Parent.Type)&&(3===a.Parent.LinkType)){$s=-1;return 2;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--paren"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(40);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};R.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};R.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--brace"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};R.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.Parent.LinkType){$s=6;continue;}$s=7;continue;case 6:d=a.Parent.ChildByType(40);if(CM.nil===d||!A.EqualFold(a.Parent.LinkRefLabel,d.Tokens)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--link"])]),false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Parent.LinkRefLabel);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};R.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bracket"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};R.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(33);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};R.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=!(CM.nil===a.Next)&&(16===a.Next.Type)&&A.HasPrefix(a.Next.Tokens,F.CaretTokens);if(b){$s=1;continue;}$s=2;continue;case 1:if(3===a.LinkType){a.ChildByType(38).Unlink();a.ChildByType(41).Unlink();e=a.ChildByType(43);if(!(CM.nil===e)){e.Unlink();a.ChildByType(42).Unlink();}a.ChildByType(39).Unlink();}f=c.Text(a);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h="vditor-ir__node";if(C.Contains(g,"\xE2\x80\xB8")||d){h=h+(" vditor-ir__node--expand");}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class",h]),new CJ(["data-type","img"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(d){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.Next.Tokens=A.ReplaceAll(a.Next.Tokens,F.CaretTokens,CI.nil);case 7:i=a;if(3===a.LinkType){$s=9;continue;}$s=10;continue;case 9:j=c.BaseRenderer.Tree.FindLinkRefDefLink(a.LinkRefLabel);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 10:k=i.ChildByType(41).Tokens;k=c.BaseRenderer.LinkPath(k);k=A.ReplaceAll(k,F.CaretTokens,CI.nil);l=new CL([new CJ(["src",($bytesToString(k))])]);m=a.ChildByType(40);if(!(CM.nil===m)&&0");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","html-block"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("pre",new CL([new CJ(["class","vditor-ir__preview"]),new CJ(["data-render","2"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(e,F.CaretTokens,CI.nil);if(c.BaseRenderer.Options.Sanitize){$s=10;continue;}$s=11;continue;case 10:f=AE(e);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 11:$r=c.BaseRenderer.Write(e);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};R.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}d=A.Equal(a.Tokens,(new CI($stringToBytes(""))));e=A.Equal(a.Tokens,(new CI($stringToBytes(""))));if(d||e){$s=1;continue;}$s=2;continue;case 1:if(d){$s=4;continue;}$s=5;continue;case 4:if(c.tagMatchClose("kbd",a)){$s=7;continue;}$s=8;continue;case 7:$r=c.renderSpanNode(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("kbd",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.renderSpanNode(a);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=6;continue;case 5:if(c.tagMatchOpen("kbd",a)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("/kbd",CL.nil,false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.renderSpanNode(a);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.renderSpanNode(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:case 6:$s=3;continue;case 2:$r=c.renderSpanNode(a);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};R.ptr.prototype.tagMatchClose=function(a,b){var a,b,c,d;c=this;d=b.Next;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&""===d.TokensStr()){return true;}d=d.Next;}return false;};R.prototype.tagMatchClose=function(a,b){return this.$val.tagMatchClose(a,b);};R.ptr.prototype.tagMatchOpen=function(a,b){var a,b,c,d;c=this;d=b.Previous;while(true){if(!(!(CM.nil===d))){break;}if((10===d.Type)&&"<"+a+">"===d.TokensStr()){return true;}d=d.Previous;}return false;};R.prototype.tagMatchOpen=function(a,b){return this.$val.tagMatchOpen(a,b);};R.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};R.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("p",new CL([new CJ(["data-block","0"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/p",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};R.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if(!A.EqualFold(d,(new CI($stringToBytes("\xE2\x80\xB8\xE2\x80\x8B"))))){d=A.ReplaceAll(d,(new CI($stringToBytes("\xE2\x80\x8B"))),CI.nil);}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};R.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};R.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasPrefix(a.Next.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-newline","1"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};R.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};R.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.HasSuffix(a.Previous.Tokens,(new CI($stringToBytes("`"))))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString(C.Repeat("`",a.Parent.CodeMarkerLen));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};R.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};R.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};R.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(42);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};R.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("em",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};R.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(95);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};R.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.renderSpanNode(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};R.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};R.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("**");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};R.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("strong",new CL([new CJ(["data-newline","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};R.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/strong",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--bi"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("__");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};R.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};R.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};R.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=c.Text(a);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=a.ChildByType(420);if(C.Contains(e,"\xE2\x80\xB8")||(!(CM.nil===f)&&A.Contains(f.Tokens,F.CaretTokens))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node vditor-ir__node--expand\"");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(">0))+" data-block=\"0\" class=\"vditor-ir__node\"");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:g="";if(!(CM.nil===f)){g=($bytesToString(f.Tokens));}if(""===g){$s=10;continue;}$s=11;continue;case 10:h=AT(a);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:$r=c.BaseRenderer.WriteString(" id=\"ir-"+g+"\"");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.HeadingSetext){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString(" data-marker=\"#\">");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:if(1===a.HeadingLevel){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" data-marker=\"=\">");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString(" data-marker=\"-\">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:i=AT(a);$s=25;case 25:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+j]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+j])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:if(!a.HeadingSetext){$s=29;continue;}$s=30;continue;case 29:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(C.Repeat("#",a.HeadingLevel)+" ");$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$s=3;continue;case 2:if(a.HeadingSetext){$s=34;continue;}$s=35;continue;case 34:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","vditor-ir__marker vditor-ir__marker--heading"]),new CJ(["data-type","heading-marker"]),new CJ(["data-render","2"])]),false);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=c.BaseRenderer.setextHeadingLen(a);$s=38;case 38:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(1===a.HeadingLevel){$s=39;continue;}$s=40;continue;case 39:$r=c.BaseRenderer.WriteString(C.Repeat("=",l));$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=41;continue;case 40:$r=c.BaseRenderer.WriteString(C.Repeat("-",l));$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 35:$r=c.BaseRenderer.WriteString(">0))+">");$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};R.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};R.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};R.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","heading-id"]),new CJ(["class","vditor-ir__marker"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" {"+($bytesToString(a.Tokens))+"}");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};R.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(a.ListData.Tight){c[0]=$append(c[0],new CJ(["data-tight","true"]));}if(0===a.ListData.BulletChar){if(!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}}f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(f===(3)){if(0===a.ListData.BulletChar){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{c[0]=$append(c[0],new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}}c[0]=$append(c[0],new CJ(["data-block","0"]));d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};R.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;e=a.ListData.Typ;if(e===(0)){d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}else if(e===(1)){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else if(e===(3)){if(0===a.ListData.BulletChar){d=$append(d,new CJ(["data-marker",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))]));}else{d=$append(d,new CJ(["data-marker",($bytesToString(a.ListData.Marker))]));}if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)){d=$append(d,new CJ(["class",c.BaseRenderer.Options.GFMTaskListItemClass]));}}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,$s};return $f;};R.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};R.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};R.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};R.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("hr",new CL([new CJ(["data-block","0"])]),true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};R.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};R.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:R.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};R.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};R.ptr.prototype.renderSpanNode=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=CL.nil;f=a.Type;if(f===(17)){e=$append(e,new CJ(["data-type","em"]));}else if(f===(22)){e=$append(e,new CJ(["data-type","strong"]));}else if(f===(101)){e=$append(e,new CJ(["data-type","s"]));}else if(f===(450)){e=$append(e,new CJ(["data-type","mark"]));}else if(f===(485)){e=$append(e,new CJ(["data-type","sup"]));}else if(f===(490)){e=$append(e,new CJ(["data-type","sub"]));}else if(f===(33)){if(!((3===a.LinkType))){e=$append(e,new CJ(["data-type","a"]));}else{e=$append(e,new CJ(["data-type","link-ref"]));}}else if(f===(34)){e=$append(e,new CJ(["data-type","img"]));}else if(f===(27)){e=$append(e,new CJ(["data-type","code"]));}else if(f===(200)){e=$append(e,new CJ(["data-type","emoji"]));}else if(f===(10)){e=$append(e,new CJ(["data-type","html-inline"]));}else if(f===(44)){e=$append(e,new CJ(["data-type","html-entity"]));}else if(f===(400)){e=$append(e,new CJ(["data-type","backslash"]));}else{e=$append(e,new CJ(["data-type","inline-node"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:g=a.PreviousNodeText();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(C.HasSuffix(h,"\xE2\x80\xB8")){$s=6;continue;}$s=7;continue;case 6:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:i=a.NextNodeText();$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasPrefix(j,"\xE2\x80\xB8")){$s=10;continue;}$s=11;continue;case 10:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("span",e,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("span",e,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderSpanNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.renderSpanNode=function(a){return this.$val.renderSpanNode(a);};R.ptr.prototype.renderDivNode=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Text(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=new CL([new CJ(["data-block","0"])]);f=a.Type;if(f===(11)){e=$append(e,new CJ(["data-type","code-block"]));}else if(f===(9)){e=$append(e,new CJ(["data-type","html-block"]));}else if(f===(300)){e=$append(e,new CJ(["data-type","math-block"]));}else if(f===(425)){e=$append(e,new CJ(["data-type","yaml-front-matter"]));}if(C.Contains(d,"\xE2\x80\xB8")){$s=2;continue;}$s=3;continue;case 2:e=$append(e,new CJ(["class","vditor-ir__node vditor-ir__node--expand"]));$r=b.BaseRenderer.Tag("div",e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:e=$append(e,new CJ(["class","vditor-ir__node"]));$r=b.BaseRenderer.Tag("div",e,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.renderDivNode,$c:true,$r,a,b,c,d,e,f,$s};return $f;};R.prototype.renderDivNode=function(a){return this.$val.renderDivNode(a);};R.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:R.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};R.prototype.Text=function(a){return this.$val.Text(a);};U=function(a,b,c){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=CB(a,c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=new T.ptr(d,b,CJ.nil);f=41;(e.FormatRenderer.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(e,"renderLinkDest")});$s=-1;return e;}return;}var $f={$blk:U,$c:true,$r,a,b,c,d,e,f,$s};return $f;};$pkg.NewTextBundleRenderer=U;T.ptr.prototype.Render=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=CJ.nil;c=this;d=c.FormatRenderer.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a=d;b=c.originalLink;$s=-1;return[a,b];}return;}var $f={$blk:T.ptr.prototype.Render,$c:true,$r,a,b,c,d,$s};return $f;};T.prototype.Render=function(){return this.$val.Render();};T.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=c.linkPrefixes;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!(""===g)&&C.HasPrefix(d,g)){c.originalLink=$append(c.originalLink,d);d="assets"+$substring(d,g.length);}f++;}$r=c.FormatRenderer.BaseRenderer.WriteString(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:T.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};T.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};AQ.ptr.prototype.FixTermTypo=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.fixTermTypo0(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:AQ.ptr.prototype.FixTermTypo,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.FixTermTypo=function(a){return this.$val.FixTermTypo(a);};AQ.ptr.prototype.fixTermTypo0=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.$length;d=0;e=0;f=0;g=0;h=0;i=e;j=f;k=g;l=h;m=0;n=0;o=m;p=n;q=CI.nil;case 1:if(!(i=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+i]);if(V(d)){i=i+(1)>>0;$s=1;continue;}if(1<=i){o=(r=i-1>>0,((r<0||r>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+r]));if(!V(o)){i=i+(1)>>0;$s=1;continue;}}if(I.IsASCIIPunct(o)){i=i+(1)>>0;$s=1;continue;}j=i;while(true){if(!(j=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]);if(V(p)||(46===p)){break;}j=j+(1)>>0;}if(I.IsASCIIPunct(p)){i=i+(1)>>0;$s=1;continue;}s=A.ToLower($subslice(a,i,j));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=s;t=(u=$mapIndex(b.Options.Terms,$String.keyFor(K.BytesToStr(q))),u!==undefined?[u.v,true]:["",false]);v=t[0];w=t[1];if(w){l=0;k=i;while(true){if(!(k=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]=v.charCodeAt(l));l=l+(1)>>0;k=k+(1)>>0;}}i=i+(1)>>0;$s=1;continue;case 2:$s=-1;return a;}return;}var $f={$blk:AQ.ptr.prototype.fixTermTypo0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};AQ.prototype.fixTermTypo0=function(a){return this.$val.fixTermTypo0(a);};V=function(a){var a;return a>=128||I.IsWhitespace(a)||I.IsASCIIPunct(a);};W=function(){var a,b,c,d,e,f,g,h,i,j,k;a=false;a=(b=(X?X.size:0),((b<0||b>2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));c=X;d=0;e=c?c.keys():undefined;f=c?c.size:0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]);if(f<(d-3>>0)&&(105===(g=f+1>>0,((g<0||g>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+g])))&&(110===(h=f+2>>0,((h<0||h>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h])))&&(103===(i=f+3>>0,((i<0||i>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+i])))&&D.Is(D.Han,((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]))){b=b+(($encodeRune(e))+"ing");f=f+(4)>>0;continue;}b=Z(b,e);f=f+(1)>>0;}return b;};$pkg.Space0=Y;Z=function(a,b){var a,b,c,d;if(0===a.length){return($encodeRune(b));}if("1"<=a&&"9">=a&&(65039===b)){return a+($encodeRune(b));}c=E.DecodeLastRuneInString(a);d=c[0];if(AA(d,b)){return a+" "+($encodeRune(b));}return a+($encodeRune(b));};AA=function(a,b){var a,b,c,d,e,f;if(D.IsSpace(a)||D.IsSpace(b)||((F.CaretRune===a))||((F.CaretRune===b))||!D.IsPrint(a)||!D.IsPrint(b)){return false;}c=AB(a);d=!((37===b))&&!((64===b))&&(D.IsPunct(b)||(126===b)||(61===b)||(35===b));if(c&&d){return false;}e=!((37===a))&&!((64===a))&&(D.IsPunct(a)||(126===a)||(61===a)||(35===a));f=AB(b);if(f&&e){return false;}if((!c&&!f)||(c&&f)){return false;}return true;};AB=function(a){var a;return D.Is(D.Han,a)||D.Is(D.Lm,a)||D.Is(D.Hiragana,a)||D.Is(D.Katakana,a)||D.Is(D.Hangul,a);};AD=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=AE((new CI($stringToBytes(a))));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($bytesToString(b));$s=2;case 2:return c;}return;}var $f={$blk:AD,$c:true,$r,a,b,c,$s};return $f;};$pkg.Sanitize=AD;AE=function(a){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=new A.Buffer.ptr(CI.nil,0,0);c=false;d=new $Int64(0,0);e="";f=A.Contains(a,(new CI($stringToBytes(" \xE2\x80\xB8"))));a=A.ReplaceAll(a,F.CaretTokens,(new CI($stringToBytes("caretreplacement"))));g=G.NewTokenizer(A.NewReader(a));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;case 2:i=[i];j=h.Next();$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j===0){$s=4;continue;}$s=5;continue;case 4:k=h.Err();if($interfaceIsEqual(k,L.EOF)){l=b[0].Bytes();if(f){l=A.ReplaceAll(l,(new CI($stringToBytes("\"caretreplacement"))),(new CI($stringToBytes("\" caretreplacement"))));}else{l=A.ReplaceAll(l,(new CI($stringToBytes("\" caretreplacement"))),(new CI($stringToBytes("\"caretreplacement"))));}l=A.ReplaceAll(l,(new CI($stringToBytes("caretreplacement"))),F.CaretTokens);$s=-1;return l;}m=k.Error();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=K.StrToBytes(m);$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=9;case 9:return o;case 5:i[0]=$clone(h.Token(),G.Token);p=i[0].Type;if(p===(6)){$s=11;continue;}if(p===(5)){$s=12;continue;}if(p===(2)){$s=13;continue;}if(p===(3)){$s=14;continue;}if(p===(4)){$s=15;continue;}if(p===(1)){$s=16;continue;}$s=17;continue;case 11:$s=17;continue;case 12:$s=17;continue;case 13:e=i[0].Data;q=(r=$mapIndex(AC,$String.keyFor(i[0].Data)),r!==undefined?[r.v,true]:[$ifaceNil,false]);s=q[1];if(s){$s=18;continue;}$s=19;continue;case 18:c=true;d=(t=new $Int64(0,1),new $Int64(d.$high+t.$high,d.$low+t.$low));u=b[0].WriteString(" ");$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=10;continue;case 19:if(!((i[0].Attr.$length===0))){$s=21;continue;}$s=22;continue;case 21:v=AH(i[0].Attr);$s=23;case 23:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}i[0].Attr=v;case 22:if(!c){$s=24;continue;}$s=25;continue;case 24:if(AF(i[0].Data)){$s=26;continue;}$s=27;continue;case 26:$r=AG(b[0],i[0]);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:w=$clone(i[0],G.Token).String();$s=30;case 30:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=b[0].WriteString(w);$s=31;case 31:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;case 28:case 25:$s=17;continue;case 14:if(e===i[0].Data){e="";}y=(z=$mapIndex(AC,$String.keyFor(i[0].Data)),z!==undefined?[z.v,true]:[$ifaceNil,false]);aa=y[1];if(aa){$s=32;continue;}$s=33;continue;case 32:d=(ab=new $Int64(0,1),new $Int64(d.$high-ab.$high,d.$low-ab.$low));if((d.$high===0&&d.$low===0)){c=false;}ac=b[0].WriteString(" ");$s=34;case 34:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;$s=10;continue;case 33:if(!c){$s=35;continue;}$s=36;continue;case 35:ad=$clone(i[0],G.Token).String();$s=37;case 37:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=b[0].WriteString(ad);$s=38;case 38:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae;case 36:$s=17;continue;case 15:if(!((i[0].Attr.$length===0))){$s=39;continue;}$s=40;continue;case 39:af=AH(i[0].Attr);$s=41;case 41:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}i[0].Attr=af;case 40:if(!c){$s=42;continue;}$s=43;continue;case 42:if(AF(i[0].Data)){$s=44;continue;}$s=45;continue;case 44:$r=AG(b[0],i[0]);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 45:ag=$clone(i[0],G.Token).String();$s=48;case 48:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=b[0].WriteString(ag);$s=49;case 49:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;case 46:case 43:$s=17;continue;case 16:if(!c){$s=50;continue;}$s=51;continue;case 50:ai=e;if(ai===("script")){$s=53;continue;}if(ai===("style")){$s=54;continue;}$s=55;continue;case 53:aj=b[0].WriteString(i[0].Data);$s=57;case 57:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$s=56;continue;case 54:ak=b[0].WriteString(i[0].Data);$s=58;case 58:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;$s=56;continue;case 55:al=$clone(i[0],G.Token).String();$s=59;case 59:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=b[0].WriteString(al);$s=60;case 60:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;case 56:case 52:case 51:case 17:case 10:$s=2;continue;case 3:$s=-1;return CI.nil;}return;}var $f={$blk:AE,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AF=function(a){var a,b;b=a;if(b===("a")||b===("area")||b===("blockquote")||b===("img")||b===("link")||b===("script")){return true;}else{return false;}};AG=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=A.NewBufferString("");d=c.WriteString("<");$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=c.WriteString(b.Data);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=b.Attr;g=0;case 3:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key==="caretreplacement"){$s=5;continue;}$s=6;continue;case 5:i=c.WriteString(" caretreplacement");$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;g++;$s=3;continue;case 6:j=c.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=c.WriteString(h.Key);$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=c.WriteString("=\"");$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=h.Key;if(m===("href")||m===("src")){$s=12;continue;}$s=13;continue;case 12:n=G.EscapeString(h.Val);$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=c.WriteString(n);$s=16;case 16:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=14;continue;case 13:p=G.EscapeString(h.Val);$s=17;case 17:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=c.WriteString(p);$s=18;case 18:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 14:case 11:r=c.WriteByte(34);$s=19;case 19:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g++;$s=3;continue;case 4:if(b.Type===4){$s=20;continue;}$s=21;continue;case 20:s=c.WriteString(" /");$s=22;case 22:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 21:t=c.WriteString(">");$s=23;case 23:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=a.WriteString(c.String());$s=24;case 24:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=-1;return;}return;}var $f={$blk:AG,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};AH=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=CW.nil;c=a;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!AJ(e.Key)){d++;$s=1;continue;}if("src"===e.Key||"srcdoc"===e.Key||"srcset"===e.Key||"href"===e.Key){$s=3;continue;}$s=4;continue;case 3:f=C.TrimSpace(e.Val);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=C.ToLower(f);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;h=AI(h);if(C.HasPrefix(h,"data:image/svg+xml")||C.HasPrefix(h,"data:text/html")||C.HasPrefix(h,"javascript")){d++;$s=1;continue;}i=AE((new CI($stringToBytes(h))));$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=G.UnescapeAttrVal(($bytesToString(i)));$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(h===k)){d++;$s=1;continue;}case 4:b=$append(b,e);d++;$s=1;continue;case 2:$s=-1;return b;}return;}var $f={$blk:AH,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AI=function(a){var a,b,c,d,e,f;b=$makeSlice(CY,0,a.length);c=a;d=0;while(true){if(!(d>0,((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Write,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.Write=function(a){return this.$val.Write(a);};AQ.ptr.prototype.WriteString=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=a.length;if(0>0));case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.WriteString,$c:true,$r,a,b,c,d,$s};return $f;};AQ.prototype.WriteString=function(a){return this.$val.WriteString(a);};AQ.ptr.prototype.Newline=function(){var{a,b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!((10===a.LastOut))){$s=1;continue;}$s=2;continue;case 1:b=a.Writer.WriteByte(10);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.LastOut=10;case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Newline,$c:true,$r,a,b,$s};return $f;};AQ.prototype.Newline=function(){return this.$val.Newline();};AQ.ptr.prototype.TextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Previous;if(!(CM.nil===e)&&(16===e.Type)){$s=1;continue;}$s=2;continue;case 1:f=E.DecodeLastRune(e.Tokens);g=f[0];h=E.DecodeRune(d);i=h[0];if(AA(g,i)){$s=3;continue;}$s=4;continue;case 3:j=b.Writer.WriteByte(32);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AQ.prototype.TextAutoSpacePrevious=function(a){return this.$val.TextAutoSpacePrevious(a);};AQ.ptr.prototype.TextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(16);d=CI.nil;if(!(CM.nil===c)){d=c.Tokens;}if(530===a.Type){d=(new CI($stringToBytes(a.TextMarkTextContent)));}if(1>d.$length){$s=-1;return;}e=a.Next;if(!(CM.nil===e)){$s=1;continue;}$s=2;continue;case 1:if(16===e.Type){$s=3;continue;}if(456===e.Type){$s=4;continue;}$s=5;continue;case 3:f=E.DecodeRune(e.Tokens);g=f[0];h=E.DecodeLastRune(d);i=h[0];if(AA(i,g)){$s=6;continue;}$s=7;continue;case 6:j=b.Writer.WriteByte(32);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 7:$s=5;continue;case 4:e=e.Next;if(!(CM.nil===e)&&(16===e.Type)){k=E.DecodeRune(e.Tokens);l=k[0];m=E.DecodeLastRune(d);n=m[0];if(AA(n,l)){e.Tokens=$appendSlice(new CI([32]),e.Tokens);}}case 5:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.TextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};AQ.prototype.TextAutoSpaceNext=function(a){return this.$val.TextAutoSpaceNext(a);};AQ.ptr.prototype.LinkTextAutoSpacePrevious=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Previous;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeLastRune(d.Tokens);f=e[0];g=E.DecodeRune(c.Tokens);h=g[0];if(AA(f,h)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpacePrevious,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpacePrevious=function(a){return this.$val.LinkTextAutoSpacePrevious(a);};AQ.ptr.prototype.LinkTextAutoSpaceNext=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.Options.AutoSpace){$s=-1;return;}c=a.ChildByType(40);if(!(CM.nil===c)&&!(CI.nil===c.Tokens)){$s=1;continue;}$s=2;continue;case 1:d=a.Next;if(!(CM.nil===d)&&(16===d.Type)){$s=3;continue;}$s=4;continue;case 3:e=E.DecodeRune(d.Tokens);f=e[0];g=E.DecodeLastRune(c.Tokens);h=g[0];if(AA(h,f)){$s=5;continue;}$s=6;continue;case 5:i=b.Writer.WriteByte(32);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 6:case 4:case 2:$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.LinkTextAutoSpaceNext,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.LinkTextAutoSpaceNext=function(a){return this.$val.LinkTextAutoSpaceNext(a);};AS=function(a,b){var a,b,c,d,e,f,g,h;c="";d=0;e=0;while(true){if(!(e>0;c=c+(($encodeRune(g)));d=d+(1)>>0;if(b<=d){break;}}return c;};$pkg.SubStr=AS;AT=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";if(0===K.StrToBytes(a.HeadingNormalizedID).$length){$s=1;continue;}$s=2;continue;case 1:$r=AU(a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:b=a.HeadingNormalizedID;$s=-1;return b;}return;}var $f={$blk:AT,$c:true,$r,a,b,$s};return $f;};$pkg.HeadingID=AT;AU=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=CM.nil;c=a.Parent;while(true){if(!(!((0===c.Type)))){break;}c=c.Parent;}b[0]=$makeMap($String.keyFor,[]);$r=H.Walk(c,(function(b){return function $b(d,e){var{d,e,f,g,h,i,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if(e){$s=1;continue;}$s=2;continue;case 1:if(2===d.Type){$s=3;continue;}$s=4;continue;case 3:f=AV(d);$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;while(true){if(!(0<(h=$mapIndex(b[0],$String.keyFor(g)),h!==undefined?h.v:0))){break;}g=g+("-");}d.HeadingNormalizedID=g;i=g;(b[0]||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(i),{k:i,v:1});case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AU,$c:true,$r,a,b,c,$s};return $f;};AV=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=a.ChildByType(420);d="";if(!(CM.nil===c)){d=K.BytesToStr(c.Tokens);}if(""===d){$s=1;continue;}$s=2;continue;case 1:e=a.Text();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 2:d=C.TrimLeft(d,"#");d=C.ReplaceAll(d,"\xE2\x80\xB8","");f=d;g=0;while(true){if(!(g");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e;h=0;case 9:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);$r=c.renderToC0(i);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h++;$s=9;continue;case 10:$r=c.WriteString("");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.WriteString("[toc]
    ");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.WriteString("
    ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:AQ.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};AQ.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};AQ.ptr.prototype.renderToC0=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.WriteString("
  • ");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("span",new CL([new CJ(["data-target-id",a.ID])]),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.WriteString(a.Content);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=a.Children;d=0;case 8:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);$r=b.renderToC0(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=8;continue;case 9:$r=b.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=b.WriteString("
  • ");$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.renderToC0,$c:true,$r,a,b,c,d,e,$s};return $f;};AQ.prototype.renderToC0=function(a){return this.$val.renderToC0(a);};AQ.ptr.prototype.Tag=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(d.DisableTags>0){$s=-1;return;}$r=d.WriteString("<");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.WriteString(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=d.WriteString(" "+(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])+"=\""+(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1])+"\"");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=5;continue;case 6:case 4:if(c){$s=8;continue;}$s=9;continue;case 8:$r=d.WriteString(" /");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=d.WriteString(">");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AQ.ptr.prototype.Tag,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};AQ.prototype.Tag=function(a,b,c){return this.$val.Tag(a,b,c);};AQ.ptr.prototype.headings=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=DC.nil;b=this;c=b.Tree.Root.ChildrenByType(2);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=DB.nil;f=d;g=0;case 2:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!(b.Tree.Root===h.Parent)){g++;$s=2;continue;}i=AT(h);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(b.Options.VditorWYSIWYG){j="wysiwyg-"+j;}else if(b.Options.VditorIR){j="ir-"+j;}if(b.Options.KramdownBlockIAL){k=h.KramdownIAL;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if("id"===(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0])){j=(1>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+1]);break;}l++;}}n=AY(h);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new AW.ptr(j,b.Tree.Box,b.Tree.Path,b.Tree.HPath,n,h.HeadingLevel,DC.nil,DB.nil);if(DB.nil===e){a=$append(a,o);}else{if(e.Level");$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=b[0].Write(G.EscapeHTML(d.Tokens));$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=b[0].WriteString("");$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=6;continue;case 4:k=b[0].WriteString("");$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=b[0].Write(G.EscapeHTML(d.Tokens));$s=12;case 12:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=b[0].WriteString("");$s=13;case 13:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=6;continue;case 5:if(d.ParentIs(22,CQ.nil)){$s=14;continue;}if(d.ParentIs(17,CQ.nil)){$s=15;continue;}$s=16;continue;case 14:n=b[0].WriteString("");$s=18;case 18:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=b[0].Write(G.EscapeHTML(d.Tokens));$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=b[0].WriteString("");$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=17;continue;case 15:q=b[0].WriteString("");$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=b[0].Write(G.EscapeHTML(d.Tokens));$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=b[0].WriteString("");$s=23;case 23:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=17;continue;case 16:if(!(CM.nil===d.Previous)&&(10===d.Previous.Type)){$s=24;continue;}$s=25;continue;case 24:if(A.HasPrefix(d.Previous.Tokens,(new CI($stringToBytes(""))))){$s=31;continue;}$s=32;continue;case 31:v=b[0].Write(d.Next.Tokens);$s=33;case 33:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 32:$s=26;continue;case 25:w=b[0].Write(G.EscapeHTML(d.Tokens));$s=34;case 34:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;case 26:case 17:case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();$s=-1;return c;}return;}var $f={$blk:AY,$c:true,$r,a,b,c,$s};return $f;};AQ.ptr.prototype.setextHeadingLen=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=0;d=this;b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(e,f){var{e,f,g,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(((16===e.Type)||(40===e.Type)||(32===e.Type))&&f){$s=1;continue;}$s=2;continue;case 1:g=b[0].Write(e.Tokens);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=b[0].String();e=C.ReplaceAll(e,"\xE2\x80\xB8","");f=C.Split(e,"\n");h=(g=f.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));i=h;j=0;while(true){if(!(j>0;}else{c=c+(1)>>0;}j+=k[1];}if(0===c){c=3;}$s=-1;return c;}return;}var $f={$blk:AQ.ptr.prototype.setextHeadingLen,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};AQ.prototype.setextHeadingLen=function(a){return this.$val.setextHeadingLen(a);};AQ.ptr.prototype.renderListStyle=function(a,b){var a,b,c,d;c=this;if(c.Options.RenderListStyle){d=a.ListData.Typ;if(d===(0)){b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}else if(d===(1)){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else if(d===(3)){if(0===a.ListData.BulletChar){b.$set($append(b.$get(),new CJ(["data-style",B.Itoa(a.ListData.Num)+($encodeRune(a.ListData.Delimiter))])));}else{b.$set($append(b.$get(),new CJ(["data-style",($bytesToString(a.ListData.Marker))])));}}}};AQ.prototype.renderListStyle=function(a,b){return this.$val.renderListStyle(a,b);};AQ.ptr.prototype.tagSrc=function(a){var a,b,c,d;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>c){return CI.nil;}else{d=$subslice(a,(c+5>>0));d=$subslice(d,0,A.Index(d,(new CI($stringToBytes("\"")))));return d;}};AQ.prototype.tagSrc=function(a){return this.$val.tagSrc(a);};AQ.ptr.prototype.tagSrcPath=function(a){var a,b,c,d,e,f;b=this;c=A.Index(a,(new CI($stringToBytes("src=\""))));if(0>0));if(1>A.ReplaceAll(d,F.CaretTokens,CI.nil).$length){return a;}e=b.LinkPath(d);f=($bytesToString(e));if(A.HasPrefix(e,(new CI($stringToBytes("//"))))){f="https:"+f;}a=A.ReplaceAll(a,d,(new CI($stringToBytes(f))));}return a;};AQ.prototype.tagSrcPath=function(a){return this.$val.tagSrcPath(a);};AQ.ptr.prototype.isLastNode=function(a,b){var a,b,c,d;c=this;if(a===b||CM.nil===b||CM.nil===b.Parent){return true;}if(!(CM.nil===b.Next)){return false;}if(0===b.Parent.Type){return a.LastChild===b;}d=CM.nil;d=b.Parent;while(true){if(CM.nil===d||CM.nil===d.Parent){return true;}if(0===d.Parent.Type){break;}d=d.Parent;}return a.LastChild===d;};AQ.prototype.isLastNode=function(a,b){return this.$val.isLastNode(a,b);};AQ.ptr.prototype.NodeID=function(a){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){b=(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]);$s=-1;return b;}e++;}g=H.NewNodeID();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}b=g;h=b;$s=2;case 2:return h;}return;}var $f={$blk:AQ.ptr.prototype.NodeID,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AQ.prototype.NodeID=function(a){return this.$val.NodeID(a);};AQ.ptr.prototype.NodeAttrs=function(a){var a,b,c,d,e,f;b=CL.nil;c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=$append(b,f);e++;}return b;};AQ.prototype.NodeAttrs=function(a){return this.$val.NodeAttrs(a);};AQ.ptr.prototype.NodeAttrsStr=function(a){var a,b,c,d,e,f;b="";c=this;d=a.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if("id"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){e++;continue;}b=b+((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])+"=\""+(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])+"\" ");e++;}if(!(""===b)){b=$substring(b,0,(b.length-1>>0));}return b;};AQ.prototype.NodeAttrsStr=function(a){return this.$val.NodeAttrsStr(a);};BA=function(a){var a,b,c,d;if(""===a){return false;}b=AZ;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(a===d){return true;}c++;}return false;};$pkg.NoHighlight=BA;AQ.ptr.prototype.Text=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]="";c=this;$r=H.Walk(a,(function(b){return function(d,e){var d,e,f;if(e){f=d.Type;if((f===(16))||(f===(40))||(f===(41))||(f===(43))||(f===(42))||(f===(15))||(f===(29))||(f===(306))||(f===(302))||(f===(427))||(f===(9))||(f===(10))||(f===(203))||(f===(543))||(f===(542))||(f===(433))||(f===(434))||(f===(432))||(f===(456))){b[0]=b[0]+(($bytesToString(d.Tokens)));}else if(f===(14)){b[0]=b[0]+(($bytesToString(d.CodeBlockInfo)));}else if(f===(33)){if(3===d.LinkType){b[0]=b[0]+(($bytesToString(d.LinkRefLabel)));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:AQ.ptr.prototype.Text,$c:true,$r,a,b,c,$s};return $f;};AQ.prototype.Text=function(a){return this.$val.Text(a);};BD=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BC.ptr(c,b.NodeIndexStart);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BD,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleRenderer=BD;BC.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"custom-block");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BC.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]);$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"av");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BC.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(d.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:e=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!(""===f)){$s=10;continue;}$s=11;continue;case 10:g=E.DecodeLastRuneInString(f);h=g[0];if(D.IsLetter(h)||D.IsDigit(h)){$s=12;continue;}$s=13;continue;case 12:$r=d.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=d.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:c[0]=d.renderTextMarkAttrs(a);d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((CM.nil===a.Previous||(32===a.Previous.Type))&&J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=16;continue;}$s=17;continue;case 16:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:if(a.IsTextMarkType("code")){if(d.BaseRenderer.Options.Spellcheck){c[0]=$append(c[0],new CJ(["spellcheck","false"]));}}$r=d.BaseRenderer.Tag("span",c[0],false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=20;continue;}$s=21;continue;case 20:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:i=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){i=C.ReplaceAll(i,"|","|");}else{i=C.ReplaceAll(i,"\\|","|");}i=C.ReplaceAll(i,"\n","
    ");}$r=d.BaseRenderer.WriteString(i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","kbd","tag"]))){$s=25;continue;}$s=26;continue;case 25:$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 26:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=28;continue;}$s=29;continue;case 28:if(d.BaseRenderer.Options.AutoSpace){$s=31;continue;}$s=32;continue;case 31:j=a.NextNodeText();$s=33;case 33:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(""===k)){$s=34;continue;}$s=35;continue;case 34:l=E.DecodeRuneInString(k);m=l[0];if(D.IsLetter(m)||D.IsDigit(m)){$s=36;continue;}$s=37;continue;case 36:$r=d.BaseRenderer.WriteByte(32);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:case 35:case 32:$s=30;continue;case 29:$r=d.BaseRenderer.TextAutoSpaceNext(a);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BC.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BC.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BC.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","u"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BC.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BC.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BC.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","kbd"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BC.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BC.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.ChildByType(468);if(CM.nil===e){$s=-1;return 2;}c[0]=CL.nil;f=e.Tokens;f=G.EscapeHTML(A.ReplaceAll(f,F.CaretTokens,CI.nil));g=K.BytesToStr(f);g=C.ReplaceAll(g,"_esc_newline_","\n");c[0]=$append(c[0],new CJ(["data-content",g]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BC.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BC.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=8;continue;}$s=9;continue;case 8:f=AE(e);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 9:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BC.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BC.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=$append(c[0],new CJ(["data-subtype","widget"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BC.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe-content"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.ReplaceAll(a.Tokens,F.CaretTokens,CI.nil);if(d.BaseRenderer.Options.Sanitize){$s=7;continue;}$s=8;continue;case 7:f=AE(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 8:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);$r=d.BaseRenderer.Write(e);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action__drag"]),new CJ(["contenteditable","false"])]),false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BC.ptr.prototype.replaceSrc=function(a,b,c){var a,b,c,d,e,f;d=this;e=$appendSlice((new CI($stringToBytes(" src=\""))),b);e=$appendSlice(e,(new CI($stringToBytes("\""))));f=$appendSlice((new CI($stringToBytes(" src=\""))),c);f=$appendSlice(f,(new CI($stringToBytes("\""))));if(A.Contains(a,(new CI($stringToBytes("data-src="))))){return A.ReplaceAll(a,f,e);}e=$appendSlice(e,(new CI($stringToBytes(" data-src=\""+K.BytesToStr(c)+"\""))));return A.ReplaceAll(a,f,e);};BC.prototype.replaceSrc=function(a,b,c){return this.$val.replaceSrc(a,b,c);};BC.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(431);e="";f="";g=e;h=f;i=a.ChildByType(433);h="s";if(CM.nil===i){i=a.ChildByType(434);h="d";}if(!(CM.nil===i)){$s=3;continue;}$s=4;continue;case 3:j=i.Text();$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}g=j;case 4:g=c.escapeRefText(g);k=new CL([new CJ(["data-type","block-ref"]),new CJ(["data-subtype",h]),new CJ(["data-id",d.TokensStr()])]);$r=c.BaseRenderer.Tag("span",k,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=C.ReplaceAll(g,"&#124;","|");$r=c.BaseRenderer.WriteString(g);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BC.ptr.prototype.escapeRefText=function(a){var a,b;b=this;a=C.ReplaceAll(a,">",">");a=C.ReplaceAll(a,"<","<");a=C.ReplaceAll(a,"\"",""");a=C.ReplaceAll(a,"'","'");return a;};BC.prototype.escapeRefText=function(a){return this.$val.escapeRefText(a);};BC.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BC.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BC.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BC.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BC.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(541);e=d.TokensStr();f=e;g=a.ChildByType(543);if(!(CM.nil===g)){$s=3;continue;}$s=4;continue;case 3:h=g.Text();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 4:f=c.escapeRefText(f);i=new CL([new CJ(["data-type","file-annotation-ref"]),new CJ(["data-subtype","s"]),new CJ(["data-id",e])]);$r=c.BaseRenderer.Tag("span",i,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(f);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BC.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BC.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BC.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BC.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BC.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"git-conflict");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"]),new CJ(["spellcheck","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=A.TrimSpace(a.Tokens);$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$r=d.BaseRenderer.Write(G.EscapeHTML(f));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BC.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BC.ptr.prototype.renderGitConflict=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BC.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Previous||!((32===a.Previous.Type))){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BC.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Parent.Text();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=C.ReplaceAll(e,"\xE2\x80\xB8","");$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","tag"]),new CJ(["data-content",G.EscapeHTMLStr(e)])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BC.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BC.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"sb");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.FirstChild.Next.TokensStr();if(""===e){e="row";}c[0]=$append(c[0],new CJ(["data-sb-layout",e]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BC.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BC.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BC.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BC.ptr.prototype.renderLinkRefDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BC.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.FirstChild){$s=-1;return 2;}d=a.FirstChild.ChildByType(41).Tokens;e=K.BytesToStr(d);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]:");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!("\xE2\x80\xB8"===e)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(" ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$r=c.BaseRenderer.WriteString(e+"\n");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:BC.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BC.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BC.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BC.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BC.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BC.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BC.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","mark"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BC.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BC.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BC.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sup"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BC.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BC.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BC.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","sub"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BC.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=A.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));$r=c.BaseRenderer.Tag("pre",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("code",new CL([new CJ(["data-type","yaml-front-matter"])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString("\n");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=c.BaseRenderer.Write(G.EscapeHTML(e));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.WriteString("");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BC.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BC.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BC.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BC.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BC.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BC.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BC.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BC.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BC.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BC.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;f=false;g="";if(!(CM.nil===a.FirstChild)&&!(CM.nil===a.FirstChild.Next)&&0e||((3===e)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));g="";h=false;if(!(CM.nil===a.Previous)){h=A.Contains(a.Previous.CodeBlockInfo,F.CaretTokens);a.Previous.CodeBlockInfo=A.ReplaceAll(a.Previous.CodeBlockInfo,F.CaretTokens,CI.nil);}c[0]=new CL([new CJ(["class","protyle-action--first protyle-action__language"]),new CJ(["contenteditable","false"])]);if(!(CM.nil===a.Previous)&&0=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])));}$r=d.BaseRenderer.Tag("span",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(g);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("span",new CL([new CJ(["class","b3-tooltips__nw b3-tooltips protyle-icon protyle-icon--first protyle-action__copy"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/span",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["class","hljs"])]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));c[0]=$append(c[0],new CJ(["spellcheck","false"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f){$s=12;continue;}$s=13;continue;case 12:if(h){$s=15;continue;}$s=16;continue;case 15:$r=d.BaseRenderer.WriteString("");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=14;continue;case 13:j=G.EscapeHTML(a.Tokens);j=A.ReplaceAll(j,(new CI($stringToBytes("__@mark__"))),(new CI($stringToBytes(""))));j=A.ReplaceAll(j,(new CI($stringToBytes("__mark@__"))),(new CI($stringToBytes(""))));$r=d.BaseRenderer.Write(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BC.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BC.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BC.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BC.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BC.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BC.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BC.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);d=A.ReplaceAll(d,F.CaretTokens,CI.nil);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)]),new CJ(["contenteditable","false"]),new CJ(["class","render-node"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BC.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BC.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(A.Contains(a.Previous.Tokens,F.CaretTokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE2\x80\xB8");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BC.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}if(CM.nil===a.FirstChild){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;c[0]=$append(c[0],new CJ(["data-content",K.BytesToStr(e)]));c[0]=$append(c[0],new CJ(["data-subtype","math"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BC.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BC.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BC.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BC.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="td";if(107===a.Parent.Parent.Type){e="th";}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;f=a.TableCellAlign;if(f===(1)){c[0]=$append(c[0],new CJ(["align","left"]));}else if(f===(2)){c[0]=$append(c[0],new CJ(["align","center"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["align","right"]));}d.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag(e,c[0],false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BC.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BC.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BC.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("colgroup",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Parent.IALAttr("colgroup");if(""===d){$s=5;continue;}$s=6;continue;case 5:if(!(CM.nil===a.FirstChild)){$s=8;continue;}$s=9;continue;case 8:e=a.FirstChild.FirstChild;case 10:if(!(!(CM.nil===e))){$s=11;continue;}if(109===e.Type){$s=12;continue;}$s=13;continue;case 12:f=e.IALAttr("style");if(!(""===f)){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",f])]),true);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 13:e=e.Next;$s=10;continue;case 11:case 9:$s=7;continue;case 6:g=C.Split(d,"|");h=g;i=0;case 19:if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(!(""===j)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.Tag("col",new CL([new CJ(["style",j])]),true);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;continue;case 22:$r=c.BaseRenderer.Tag("col",CL.nil,true);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:i++;$s=19;continue;case 20:case 7:$r=c.BaseRenderer.Tag("/colgroup",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BC.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BC.ptr.prototype.renderTable=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(CM.nil===a.FirstChild){$s=-1;return 1;}if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"table");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["contenteditable","false"])]);$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("table",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/table",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BC.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BC.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BC.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","s"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BC.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BC.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BC.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BC.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BC.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!((34===a.Parent.Type))){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BC.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BC.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BC.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BC.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BC.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BC.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BC.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BC.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BC.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BC.ptr.prototype.renderImage=function(a,b){var{a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){d=true;$s=6;continue s;}e=a.Previous.Text();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d="\xE2\x80\xB8"===e;case 6:if(d||(a.ParentIs(109,CQ.nil)&&!(CM.nil===a.Previous)&&CM.nil===a.Previous.Previous)){$s=4;continue;}$s=5;continue;case 4:if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:if(456===a.Next.Type){$s=11;continue;}$s=12;continue;case 11:if(!A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 5:f=new CL([new CJ(["contenteditable","false"]),new CJ(["data-type","img"]),new CJ(["class","img"])]);g=a.IALAttr("parent-style");if(!(""===g)){f=$append(f,new CJ(["style",g]));}if(!C.Contains(g,"display")&&!C.Contains(g,"block")&&(c.BaseRenderer.LastOut===10)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:$r=c.BaseRenderer.Tag("span",f,false);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",new CL([new CJ(["class","protyle-action protyle-icons"])]),false);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:h=a.ChildByType(41).Tokens;if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=AE(h);$s=32;case 32:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;case 31:h=A.ReplaceAll(h,F.CaretTokens,CI.nil);j=h;k=K.BytesToStr(j);l=K.BytesToStr(c.BaseRenderer.LinkPath(h));m=new CL([new CJ(["src",l]),new CJ(["data-src",k])]);n=a.ChildByType(40);if(!(CM.nil===n)&&0");$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:m=new CL([new CJ(["class","protyle-action__title"])]);$r=c.BaseRenderer.Tag("span",m,false);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=c.BaseRenderer.Writer.Write(G.EscapeHTML(p));$s=44;case 44:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("span",CL.nil,false);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(" ");$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(CM.nil===a.Next){x=true;$s=53;continue s;}y=a.Next.Text();$s=54;case 54:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x="\xE2\x80\xB8"===y;case 53:if(x){$s=51;continue;}$s=52;continue;case 51:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 52:if(!(456===a.Next.Type)){z=false;$s=58;continue s;}if(CM.nil===a.Next.Next){aa=true;$s=59;continue s;}ab=a.Next.Next.Text();$s=60;case 60:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa="\xE2\x80\xB8"===ab;case 59:z=aa;case 58:if(z){$s=56;continue;}$s=57;continue;case 56:if(A.Contains(a.Next.Tokens,(new CI($stringToBytes("display: block"))))){$s=-1;return 2;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 57:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderImage,$c:true,$r,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BC.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BC.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(41);e=d.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:f=A.TrimSpace(e);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=AE(e);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;h=A.ToLower(e);$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(A.HasPrefix(i,(new CI($stringToBytes("javascript:"))))){e=CI.nil;}case 5:e=c.BaseRenderer.LinkPath(e);j=A.Contains(e,F.CaretTokens);if(j){k=a.ChildByType(40);k.Tokens=$appendSlice(k.Tokens,F.CaretTokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);}l=new CL([new CJ(["data-type","a"]),new CJ(["data-href",($bytesToString(e))])]);m=a.ChildByType(42);if(!(CM.nil===m)&&!(CI.nil===m.Tokens)){l=$append(l,new CJ(["data-title",c.escapeRefText(($bytesToString(m.Tokens)))]));}$r=c.BaseRenderer.Tag("span",l,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BC.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(!b){$s=-1;return 2;}c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.Tokens;e=A.ReplaceAll(e,F.CaretTokens,CI.nil);c[0]=$append(c[0],new CJ(["data-subtype","block"]));$r=d.BaseRenderer.Tag("div",c[0],false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([new CJ(["data-content",K.BytesToStr(G.EscapeHTML(e))])]);$r=d.BaseRenderer.Tag("protyle-html",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/protyle-html",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BC.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=-1;return 2;}if(A.Equal(a.Tokens,(new CI($stringToBytes("
    "))))&&a.ParentIs(109,CQ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:if(A.Equal(a.Tokens,(new CI($stringToBytes(""))))||A.Equal(a.Tokens,(new CI($stringToBytes(""))))){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(a.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 5:a.Type=9;d=c.renderHTML(a,b);$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=8;case 8:return e;}return;}var $f={$blk:BC.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BC.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BC.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"p");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BC.ptr.prototype.renderText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace&&!((515===a.Parent.Type))){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(a.ParentIs(530,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:if("code"===a.Parent.TokensStr()){if(a.ParentIs(109,CQ.nil)){d=A.ReplaceAll(d,(new CI($stringToBytes("\\|"))),(new CI($stringToBytes("|"))));}d=G.EscapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderText,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BC.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:if(CM.nil===a.Previous||(32===a.Previous.Type)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=15;continue;}$s=16;continue;case 15:h=a.NextNodeText();$s=17;case 17:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=18;continue;}$s=19;continue;case 18:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(32);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 16:case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BC.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BC.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","code"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};BC.ptr.prototype.renderCodeSpanContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BC.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderCodeSpanCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};BC.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BC.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BC.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","em"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BC.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BC.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BC.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BC.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BC.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=new CL([new CJ(["data-type","strong"])]);d.spanNodeAttrs(a.Parent,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("span",c[0],false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BC.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BC.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"bq");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BC.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BC.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;if(6>0));c[0]=$append(c[0],new CJ(["data-subtype","h"+e]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"h"+e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=new CL([]);d.contenteditable(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));d.spellcheck((c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=d.BaseRenderer.Tag("div",c[0],false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.renderIAL(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BC.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BC.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BC.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BC.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;e=a.ListData.Typ;if(e===(0)){c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(e===(1)){c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(e===(3)){c[0]=$append(c[0],new CJ(["data-subtype","t"]));}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"list");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.renderIAL(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BC.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e="li";c[0]=CL.nil;f=a.ListData.Typ;if(f===(0)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","u"]));}else if(f===(1)){c[0]=$append(c[0],new CJ(["data-marker",B.Itoa(a.ListData.Num)+"."]));c[0]=$append(c[0],new CJ(["data-subtype","o"]));}else if(f===(3)){c[0]=$append(c[0],new CJ(["data-marker","*"]));c[0]=$append(c[0],new CJ(["data-subtype","t"]));if(!(a.FirstChild===CM.nil)&&a.FirstChild.TaskListItemChecked){e=e+(" protyle-task--done");}}$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0===a.ListData.Typ){$s=6;continue;}if(1===a.ListData.Typ){$s=7;continue;}$s=8;continue;case 6:g=new CL([new CJ(["class","protyle-action"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",g,false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:h=new CL([new CJ(["class","protyle-action protyle-action--order"]),new CJ(["contenteditable","false"]),new CJ(["draggable","true"])]);$r=d.BaseRenderer.Tag("div",h,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.WriteString(B.Itoa(a.ListData.Num)+".");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:$r=d.renderIAL(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BC.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BC.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.TaskListItemChecked){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(CM.nil===a.Next){$s=8;continue;}$s=9;continue;case 8:d=H.NewNodeID();$s=10;case 10:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=a.InsertAfter(new H.Node.ptr(d,"","","",1,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BC.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CL.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"hr");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BC.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.renderBr(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BC.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,d,e,$s};return $f;};BC.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BC.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(10);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Previous)&&((22===a.Previous.Type)||(17===a.Previous.Type)||(460===a.Previous.Type)||(101===a.Previous.Type)||(520===a.Previous.Type)||(456===a.Previous.Type))&&!(CM.nil===a.Next)&&A.Equal(F.CaretTokens,a.Next.Tokens)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BC.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BC.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BC.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BC.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BC.ptr.prototype.blockNodeAttrs=function(a,b,c){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.nodeID(a,b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nodeIndex(a,b);d.nodeDataType(a,b);d.nodeClass(a,b,c);e=a.KramdownIAL;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("id"===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])){f++;continue;}b.$set($append(b.$get(),new CJ([(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),C.ReplaceAll((1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]),"_esc_newline_","\n")])));f++;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.blockNodeAttrs,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BC.prototype.blockNodeAttrs=function(a,b,c){return this.$val.blockNodeAttrs(a,b,c);};BC.ptr.prototype.nodeClass=function(a,b,c){var a,b,c,d;d=this;b.$set($append(b.$get(),new CJ(["class",c])));};BC.prototype.nodeClass=function(a,b,c){return this.$val.nodeClass(a,b,c);};BC.ptr.prototype.nodeDataType=function(a,b){var a,b,c;c=this;b.$set($append(b.$get(),new CJ(["data-type",new H.NodeType(a.Type).String()])));};BC.prototype.nodeDataType=function(a,b){return this.$val.nodeDataType(a,b);};BC.ptr.prototype.nodeID=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.NodeID(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b.$set($append(b.$get(),new CJ(["data-node-id",d])));$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.nodeID,$c:true,$r,a,b,c,d,$s};return $f;};BC.prototype.nodeID=function(a,b){return this.$val.nodeID(a,b);};BC.ptr.prototype.nodeIndex=function(a,b){var a,b,c;c=this;if(CM.nil===a.Parent||!((0===a.Parent.Type))){return;}b.$set($append(b.$get(),new CJ(["data-node-index",B.Itoa(c.NodeIndex)])));c.NodeIndex=c.NodeIndex+(1)>>0;return;};BC.prototype.nodeIndex=function(a,b){return this.$val.nodeIndex(a,b);};BC.ptr.prototype.spellcheck=function(a){var a,b;b=this;a.$set($append(a.$get(),new CJ(["spellcheck",B.FormatBool(b.BaseRenderer.Options.Spellcheck)])));return;};BC.prototype.spellcheck=function(a){return this.$val.spellcheck(a);};BC.ptr.prototype.contenteditable=function(a,b){var a,b,c,d;c=this;d=a.IALAttr("contenteditable");if(!(""===d)){b.$set($append(b.$get(),new CJ(["contenteditable",d])));}else{b.$set($append(b.$get(),new CJ(["contenteditable",B.FormatBool(c.BaseRenderer.Options.ProtyleContenteditable)])));}return;};BC.prototype.contenteditable=function(a,b){return this.$val.contenteditable(a,b);};BC.ptr.prototype.renderIAL=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=new CL([new CJ(["class","protyle-attr"]),new CJ(["contenteditable","false"])]);$r=b.BaseRenderer.Tag("div",c,false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.IALAttr("bookmark");if(!(""===d)){$s=2;continue;}$s=3;continue;case 2:d=C.ReplaceAll(d,"_esc_newline_","\n");d=G.EscapeHTMLStr(d);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--bookmark"])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(d);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:e=a.IALAttr("name");if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:e=C.ReplaceAll(e,"_esc_newline_","\n");e=G.EscapeHTMLStr(e);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--name"])]),false);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(e);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:f=a.IALAttr("alias");if(!(""===f)){$s=13;continue;}$s=14;continue;case 13:f=C.ReplaceAll(f,"_esc_newline_","\n");f=G.EscapeHTMLStr(f);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--alias"])]),false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(f);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:g=a.IALAttr("memo");if(!(""===g)){$s=19;continue;}$s=20;continue;case 19:g=C.ReplaceAll(g,"_esc_newline_","\n");g=G.EscapeHTMLStr(g);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--memo b3-tooltips b3-tooltips__nw"]),new CJ(["aria-label",g])]),false);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:h=a.IALAttr("custom-avs");if(!(""===h)){$s=24;continue;}$s=25;continue;case 24:h=C.ReplaceAll(h,"_esc_newline_","\n");h=G.EscapeHTMLStr(h);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--av"])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 25:i=a.IALAttr("refcount");if(!(""===i)){$s=29;continue;}$s=30;continue;case 29:i=C.ReplaceAll(i,"_esc_newline_","\n");i=G.EscapeHTMLStr(i);$r=b.BaseRenderer.Tag("div",new CL([new CJ(["class","protyle-attr--refcount popover__block"])]),false);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.WriteString(i);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:$r=b.BaseRenderer.WriteString("\xE2\x80\x8B");$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.BaseRenderer.Tag("/div",CL.nil,false);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:BC.ptr.prototype.renderIAL,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BC.prototype.renderIAL=function(a){return this.$val.renderIAL(a);};BC.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=C.ReplaceAll(a.TextMarkATitle,"\"","&quot;");if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=C.ReplaceAll(j,"_esc_newline_","\n");j=C.ReplaceAll(j,"\"","&quot;");b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;k=C.ReplaceAll(k,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};BC.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BF=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BE.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BF,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtylePreviewRenderer=BF;BE.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BE.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BE.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(j);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BE.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BE.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BE.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BE.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BE.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BE.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BE.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BE.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BE.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BE.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BE.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BE.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BE.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BE.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BE.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BE.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BE.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BE.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BE.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BE.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BE.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BE.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BE.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BE.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BE.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BE.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BE.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BE.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BE.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BE.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BE.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BE.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BE.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BE.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BE.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BE.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BE.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BE.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BE.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BE.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BE.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BE.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BE.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BE.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BE.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BE.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BE.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BE.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BE.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BE.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BE.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BE.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BE.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BE.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BE.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BE.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BE.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BE.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BE.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BE.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BE.ptr.prototype.renderFootnotesDefBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
      ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDefBlock,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BE.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
  • ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,(new CI($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,""));}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("
  • \n");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BE.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=false;e="";if(!(CM.nil===a.FirstChild.Next)&&0");$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:if(d){$s=-1;return 1;}$r=c.BaseRenderer.Tag("/code",CL.nil,false);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/pre",CL.nil,false);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BE.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BE.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BE.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BE.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BE.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BE.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BE.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BE.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BE.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BE.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BE.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BE.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.EscapeHTML(a.Next.Tokens);$r=c.BaseRenderer.Tag("span",new CL([new CJ(["data-type","inline-math"]),new CJ(["data-subtype","math"]),new CJ(["data-content",K.BytesToStr(d)])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BE.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BE.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BE.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BE.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BE.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=CL.nil;e=G.EscapeHTML(a.FirstChild.Next.Tokens);e=A.ReplaceAll(e,F.CaretTokens,CI.nil);f=A.TrimSpace(e);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d=$append(d,new CJ(["data-content",K.BytesToStr(e)]));d=$append(d,new CJ(["data-subtype","math"]));$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["spin","1"])]),false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BE.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BE.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BE.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BE.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BE.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BE.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BE.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BE.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BE.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BE.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BE.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BE.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BE.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BE.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BE.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BE.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BE.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BE.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BE.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BE.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BE.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BE.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BE.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=new CL([new CJ(["class","img"])]);e=a.IALAttr("parent-style");if(!(""===e)){d=$append(d,new CJ(["style",e]));}$r=c.BaseRenderer.Tag("span",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"");$s=12;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(34);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=a.ChildByType(42);h=CI.nil;if(!(CM.nil===g)&&!(CI.nil===g.Tokens)){$s=16;continue;}$s=17;continue;case 16:h=G.EscapeHTML(g.Tokens);$r=c.BaseRenderer.WriteString(" title=\"");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(h);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:i=c.BaseRenderer.NodeAttrsStr(a);if(!(""===i)){$s=21;continue;}$s=22;continue;case 21:$r=c.BaseRenderer.WriteString(" "+i);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(" />");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(0");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BE.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BE.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);$r=c.BaseRenderer.WriteString(" "+(0>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+0])+"=\""+(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1])+"\"");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i++;$s=19;continue;case 20:case 18:case 13:case 10:$r=c.BaseRenderer.WriteString(">");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=23;continue;}$s=24;continue;case 23:k=AT(a);$s=25;case 25:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+l]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+l])]),false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString(">0))+">");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BE.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BE.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BE.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BE.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BE.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BE.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BE.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f="protyle-task";if(e.TaskListItemChecked){f=f+(" protyle-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BE.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BE.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BE.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BE.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BE.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BE.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BE.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BE.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BE.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BE.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BE.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};BE.ptr.prototype.Render=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;$s=-1;return a;}return;}var $f={$blk:BE.ptr.prototype.Render,$c:true,$r,a,b,c,$s};return $f;};BE.prototype.Render=function(){return this.$val.Render();};BJ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BI.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BJ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewProtyleExportMdRenderer=BJ;BI.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BI.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BI.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.ContainTextMarkTypes(new CJ(["strong","em","s"]))&&!a.IsTextMarkType("inline-math");if(b){$s=1;continue;}$s=2;continue;case 1:e=c.renderMdMarker(a,b);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!a.IsTextMarkType("a")&&!a.IsTextMarkType("inline-memo")&&!a.IsTextMarkType("block-ref")&&!a.IsTextMarkType("file-annotation-ref")&&!a.IsTextMarkType("inline-math")){$s=5;continue;}$s=6;continue;case 5:g=a.TextMarkTextContent;if(a.IsTextMarkType("code")){$s=8;continue;}$s=9;continue;case 8:g=G.UnescapeString(g);if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:h=I.RepeatBackslashBeforePipe(g);$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 11:case 9:if(d){$s=13;continue;}$s=14;continue;case 13:i=E.DecodeRuneInString(g);j=i[0];k=I.IsUnicodeWhitespace(j);l=D.IsPunct(j)||D.IsSymbol(j);if(k||l){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(32);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:$r=c.BaseRenderer.WriteString(f);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteString(f);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$s=3;continue;case 2:m=c.renderMdMarker(a,b);$s=21;case 21:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.WriteString(n);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=23;continue;}$s=24;continue;case 23:if(530===a.Next.Type){$s=25;continue;}$s=26;continue;case 25:$r=c.BaseRenderer.WriteString("\xE2\x80\x8B");$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=27;continue;case 26:if(d){$s=29;continue;}$s=30;continue;case 29:o=a.TextMarkTextContent;p=E.DecodeLastRuneInString(o);q=p[0];r=I.IsUnicodeWhitespace(q);s=D.IsPunct(q)||D.IsSymbol(q);if(r||s){$s=31;continue;}$s=32;continue;case 31:$r=c.BaseRenderer.WriteByte(32);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 32:case 30:case 27:case 24:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};BI.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BI.ptr.prototype.renderMdMarker=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c="";d=this;e=C.Split(a.TextMarkType," ");if(1===e.$length){$s=1;continue;}$s=2;continue;case 1:f=d.renderMdMarker0(a,(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]),b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}c=f;g=c;$s=4;case 4:return g;case 2:h=CJ.nil;i=e;j=0;while(true){if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);if("a"===l||"inline-memo"===l||"block-ref"===l||"file-annotation-ref"===l||"inline-math"===l){h=$append(h,l);e=$appendSlice($subslice(e,0,k),$subslice(e,(k+1>>0)));break;}j++;}e=$appendSlice(h,e);m=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);if("a"===m||"inline-memo"===m||"block-ref"===m||"file-annotation-ref"===m||"inline-math"===m){$s=5;continue;}$s=6;continue;case 5:n=$subslice(e,1);if(b){$s=8;continue;}$s=9;continue;case 8:o=n;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if(!("code"===q)){c=c+(d.renderMdMarker1(a,q,b));}p++;}r=m;if(r===("a")){$s=12;continue;}if(r===("block-ref")){$s=13;continue;}if(r===("file-annotation-ref")){$s=14;continue;}if(r===("inline-memo")){$s=15;continue;}if(r===("inline-math")){$s=16;continue;}$s=17;continue;case 12:s=a.TextMarkAHref;s=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(s))))));s=G.UnescapeHTMLStr(s);s=d.BaseRenderer.EncodeLinkSpace(s);c=c+("[");t=n;u=0;while(true){if(!(u=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]);if("code"===v){c=c+(d.renderMdMarker1(a,v,b));}u++;}$s=-1;return c;case 13:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){c=c+(" \""+a.TextMarkTextContent+"\"");}else{c=c+(" '"+a.TextMarkTextContent+"'");}c=c+("))");$s=17;continue;case 14:a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");c=c+("<<"+a.TextMarkFileAnnotationRefID);c=c+(" \""+a.TextMarkTextContent+"\"");c=c+(">>");$s=17;continue;case 15:w=E.DecodeLastRuneInString(a.TextMarkTextContent);x=w[0];c=c+(a.TextMarkTextContent);y=a.TextMarkInlineMemoContent;y=C.ReplaceAll(y,"_esc_newline_"," ");if(AB(x)){c=c+("^\xEF\xBC\x88"+y+"\xEF\xBC\x89^");}else{c=c+("^("+y+")^");}$s=17;continue;case 16:z=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=18;continue;}$s=19;continue;case 18:aa=I.RepeatBackslashBeforePipe(z);$s=20;case 20:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;z=C.ReplaceAll(z,"\n","
    ");case 19:z=C.ReplaceAll(z,"_esc_newline_"," ");c=c+("$"+z+"$");case 17:case 11:$s=10;continue;case 9:ab=m;if(ab===("a")){ac=a.TextMarkAHref;ac=($bytesToString(d.BaseRenderer.LinkPath((new CI($stringToBytes(ac))))));ac=G.UnescapeHTMLStr(ac);ac=d.BaseRenderer.EncodeLinkSpace(ac);c=c+(($bytesToString(I.EscapeProtyleMarkers((new CI($stringToBytes(a.TextMarkTextContent)))))));ad=n;ae=0;while(true){if(!(ae=ad.$length)?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+ae]);if("code"===af){c=c+(d.renderMdMarker1(a,af,b));}ae++;}c=c+("]("+ac);if(!(""===a.TextMarkATitle)){c=c+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}c=c+(")");}ag=n;ah=0;while(true){if(!(ah=ag.$length)?($throwRuntimeError("index out of range"),undefined):ag.$array[ag.$offset+ah]);if(!("code"===ai)){c=c+(d.renderMdMarker1(a,ai,b));}ah++;}case 10:$s=7;continue;case 6:if(!b){BK(e);}aj=e;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);c=c+(d.renderMdMarker1(a,al,b));ak++;}case 7:$s=-1;return c;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderMdMarker=function(a,b){return this.$val.renderMdMarker(a,b);};BK=function(a){var a,b,c,d,e,f,g,h;b=a.$length-1>>0;c=0;while(true){if(!(c<(d=a.$length/2,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError("integer divide by zero")))){break;}e=(f=b-c>>0,((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]));g=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]=e);(h=b-c>>0,((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]=g));c=c+(1)>>0;}};BI.ptr.prototype.renderMdMarker0=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=b;if(f===("a")){$s=2;continue;}if(f===("block-ref")){$s=3;continue;}if(f===("file-annotation-ref")){$s=4;continue;}if(f===("inline-memo")){$s=5;continue;}if(f===("inline-math")){$s=6;continue;}$s=7;continue;case 2:g=a.TextMarkAHref;g=($bytesToString(e.BaseRenderer.LinkPath((new CI($stringToBytes(g))))));g=G.UnescapeHTMLStr(g);g=e.BaseRenderer.EncodeLinkSpace(g);if(c){d=d+("["+a.TextMarkTextContent+"]("+g);if(!(""===a.TextMarkATitle)){d=d+(" \""+G.UnescapeHTMLStr(a.TextMarkATitle)+"\"");}d=d+(")");}$s=8;continue;case 3:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("(("+a.TextMarkBlockRefID);if("s"===a.TextMarkBlockRefSubtype){d=d+(" \""+a.TextMarkTextContent+"\"");}else{d=d+(" '"+a.TextMarkTextContent+"'");}d=d+("))");}$s=8;continue;case 4:if(c){a.TextMarkTextContent=C.ReplaceAll(a.TextMarkTextContent,"'","'");d=d+("<<"+a.TextMarkFileAnnotationRefID);d=d+(" \""+a.TextMarkTextContent+"\"");d=d+(">>");}$s=8;continue;case 5:if(c){h=E.DecodeLastRuneInString(a.TextMarkTextContent);i=h[0];d=d+(a.TextMarkTextContent);j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_"," ");if(AB(i)){d=d+("^\xEF\xBC\x88"+j+"\xEF\xBC\x89^");}else{d=d+("^("+j+")^");}}$s=8;continue;case 6:if(c){$s=9;continue;}$s=10;continue;case 9:k=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){$s=12;continue;}$s=13;continue;case 12:l=I.RepeatBackslashBeforePipe(k);$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;k=C.ReplaceAll(k,"\n","
    ");case 13:k=C.ReplaceAll(k,"_esc_newline_"," ");d=d+("$"+k);$s=11;continue;case 10:d=d+("$");case 11:$s=8;continue;case 7:d=d+(e.renderMdMarker1(a,b,c));case 8:case 1:$s=-1;return d;}return;}var $f={$blk:BI.ptr.prototype.renderMdMarker0,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};BI.prototype.renderMdMarker0=function(a,b,c){return this.$val.renderMdMarker0(a,b,c);};BI.ptr.prototype.renderMdMarker1=function(a,b,c){var a,b,c,d,e,f;d="";e=this;f=b;if(f===("strong")){d=d+("**");}else if(f===("em")){d=d+("*");}else if(f===("code")){d=d+("`");}else if(f===("tag")){d=d+("#");}else if(f===("s")){d=d+("~~");}else if(f===("mark")){d=d+("==");}else if(f===("u")){if(c){d=d+("");}else{d=d+("");}}else if(f===("sup")){if(c){d=d+("^");}else{d=d+("^");}}else if(f===("sub")){if(c){d=d+("~");}else{d=d+("~");}}else if(f===("kbd")){if(c){d=d+("");}else{d=d+("");}}return d;};BI.prototype.renderMdMarker1=function(a,b,c){return this.$val.renderMdMarker1(a,b,c);};BI.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BI.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BI.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BI.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BI.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BI.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BI.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BI.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BI.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BI.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BI.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BI.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BI.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BI.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BI.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BI.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BI.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BI.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BI.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BI.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BI.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BI.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BI.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BI.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BI.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BI.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BI.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BI.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BI.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BI.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BI.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BI.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BI.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BI.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BI.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BI.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BI.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BI.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BI.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BI.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BI.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BI.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BI.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BI.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BI.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BI.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BI.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BI.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BI.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BI.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BI.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BI.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BI.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BI.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BI.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BI.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BI.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BI.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};BI.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BI.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BI.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BI.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BI.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BI.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BI.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BI.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BI.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BI.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BI.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BI.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BI.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BI.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BI.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BI.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);d=(new CI($stringToBytes(c.BaseRenderer.EncodeLinkSpace(($bytesToString(d))))));$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BI.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BI.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BI.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BI.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BI.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BI.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BI.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BI.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BI.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BI.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BI.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BI.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};BI.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};BI.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BI.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};BI.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BI.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.ChineseParagraphBeginningSpace&&(0===a.Parent.Type)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("\xE3\x80\x80\xE3\x80\x80");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=7;continue;}$s=8;continue;case 7:d=A.TrimSpace(a.FirstChild.Tokens);$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 8:if(a.ParentIs(109,CQ.nil)){$s=10;continue;}$s=11;continue;case 10:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("

    ");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=-1;return 2;case 11:if(c.withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=18;continue;}$s=19;continue;case 18:if(c.withoutKramdownBlockIAL(a)){$s=20;continue;}$s=21;continue;case 20:$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 19:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BI.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BI.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};BI.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};BI.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};BI.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};BI.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1");case 4:e=C.ReplaceAll(e,"_esc_newline_"," ");$r=c.BaseRenderer.WriteString(e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BI.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BI.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(36);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BI.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.UnescapeHTML(a.Tokens);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,d,$s};return $f;};BI.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BI.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.MathBlockMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BI.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=2;continue;}$s=3;continue;case 2:if(c.withoutKramdownBlockIAL(a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BI.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a.Parent)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BI.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;e=a.Parent.ChildByType(14);if(!(CM.nil===e)&&BA(($bytesToString(e.CodeBlockInfo)))){d=G.UnescapeHTML(d);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};BI.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.CodeBlockInfo);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockInfoMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BI.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BI.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.FirstChild.Tokens);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(A.Repeat(new CI([96]),3));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=11;continue;}$s=12;continue;case 11:if(c.withoutKramdownBlockIAL(a)){$s=13;continue;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteByte(10);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 12:$s=-1;return 1;case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BI.ptr.prototype.renderEmphasis=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmphasis,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmphasis=function(a,b){return this.$val.renderEmphasis(a,b);};BI.ptr.prototype.renderEmAsteriskOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskOpenMarker=function(a,b){return this.$val.renderEmAsteriskOpenMarker(a,b);};BI.ptr.prototype.renderEmAsteriskCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(42);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmAsteriskCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmAsteriskCloseMarker=function(a,b){return this.$val.renderEmAsteriskCloseMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreOpenMarker=function(a,b){return this.$val.renderEmUnderscoreOpenMarker(a,b);};BI.ptr.prototype.renderEmUnderscoreCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(95);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderEmUnderscoreCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderEmUnderscoreCloseMarker=function(a,b){return this.$val.renderEmUnderscoreCloseMarker(a,b);};BI.ptr.prototype.renderStrong=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrong,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrong=function(a,b){return this.$val.renderStrong(a,b);};BI.ptr.prototype.renderStrongA6kOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kOpenMarker=function(a,b){return this.$val.renderStrongA6kOpenMarker(a,b);};BI.ptr.prototype.renderStrongA6kCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("**");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongA6kCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongA6kCloseMarker=function(a,b){return this.$val.renderStrongA6kCloseMarker(a,b);};BI.ptr.prototype.renderStrongU8eOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eOpenMarker=function(a,b){return this.$val.renderStrongU8eOpenMarker(a,b);};BI.ptr.prototype.renderStrongU8eCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("__");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderStrongU8eCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderStrongU8eCloseMarker=function(a,b){return this.$val.renderStrongU8eCloseMarker(a,b);};BI.ptr.prototype.renderBlockquote=function(a,b){var{a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BI.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BI.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};BI.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BI.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BI.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BI.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BI.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BI.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BI.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();if(A.HasPrefix(k,(new CI($stringToBytes("* "))))){k=$appendSlice((new CI($stringToBytes(" \n\n"))),k);}l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};BI.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BI.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BI.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BI.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BI.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BI.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BI.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BI.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};BI.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};BN=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(K.StrToBytes(a));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=K.BytesToStr(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BN,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmapStr=BN;BO=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BP(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=G.EncodeDestination(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=3;case 3:return d;}return;}var $f={$blk:BO,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.EChartsMindmap=BO;BP=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];a=A.ReplaceAll(a,F.CaretTokens,CI.nil);c=J.Parse("",a,J.NewOptions());$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(CM.nil===d.Root.FirstChild||!((7===d.Root.FirstChild.Type))){$s=-1;return(new CI($stringToBytes("{}")));}e=CN.nil;f=d.Root.FirstChild;while(true){if(!(!(CM.nil===f))){break;}if(!((7===f.Type))){e=$append(e,f);}f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(d.Root,(function(b){return function $b(j,k){var{j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{j,k});$s=$s||0;s:while(true){switch($s){case 0:l=j.Type;if(l===(0)){$s=2;continue;}if(l===(7)){$s=3;continue;}if(l===(8)){$s=4;continue;}$s=5;continue;case 2:if(k){$s=7;continue;}$s=8;continue;case 7:if(BR(j)){$s=10;continue;}$s=11;continue;case 10:m=b[0].WriteString("{\"name\": \"Root\", \"children\": [");$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 11:$s=9;continue;case 8:if(BR(j)){$s=13;continue;}$s=14;continue;case 13:n=b[0].WriteString("]}");$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 14:case 9:$s=-1;return 2;case 3:$s=-1;return 2;case 4:o=!(CM.nil===j.ChildByType(7));if(k){$s=16;continue;}$s=17;continue;case 16:p=BQ(j.FirstChild);$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=b[0].WriteString("{\"name\": \""+p+"\"");$s=20;case 20:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o){$s=21;continue;}$s=22;continue;case 21:r=b[0].WriteString(", \"children\": [");$s=23;case 23:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 22:$s=18;continue;case 17:if(o){$s=24;continue;}$s=25;continue;case 24:s=b[0].WriteString("]");$s=26;case 26:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 25:t=b[0].WriteString("}");$s=27;case 27:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;if(!(CM.nil===j.Next)||!(CM.nil===j.Parent.Next)){$s=28;continue;}$s=29;continue;case 28:u=b[0].WriteString(", ");$s=30;case 30:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;case 29:case 18:$s=6;continue;case 5:$s=-1;return 2;case 6:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};})(b));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0].Bytes();}return;}var $f={$blk:BP,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BQ=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c="";if(CM.nil===a){c="";$s=-1;return c;}b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(d,e){var{d,e,f,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if((7===d.Type)||(8===d.Type)){$s=-1;return 2;}if(((16===d.Type)||(40===d.Type))&&e){$s=1;continue;}$s=2;continue;case 1:f=b[0].Write(d.Tokens);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,$s};return $f;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();c=C.ReplaceAll(c,"\\","\\\\");c=C.ReplaceAll(c,"\"","\\\"");c=C.ReplaceAll(c,"\xE2\x80\xB8","");$s=-1;return c;}return;}var $f={$blk:BQ,$c:true,$r,a,b,c,$s};return $f;};BR=function(a){var a,b,c,d;b=0;c=a.FirstChild;while(true){if(!(!(CM.nil===c))){break;}if(7===c.Type){b=b+(1)>>0;}c=c.Next;}if(1>0;}d=d.Next;}if(1a.$length){return true;}if(47===(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])){return false;}return!A.Contains(a,(new CI($stringToBytes(":/"))))&&!A.Contains(a,(new CI($stringToBytes(":\\"))))&&!A.Contains(a,(new CI($stringToBytes(":%5C"))));};AQ.prototype.isRelativePath=function(a){return this.$val.isRelativePath(a);};BT=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BS.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderCodeBlock")});h=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderMathBlock")});i=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderBlockquote")});j=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderSuperBlock")});k=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderHeading")});l=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderList")});m=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderListItem")});n=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderThematicBreak")});o=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHTML")});p=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderTable")});q=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderToC")});r=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderYamlFrontMatter")});s=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderBlockQueryEmbed")});t=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderKramdownBlockIAL")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:BT,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};$pkg.NewKityMinderJSONRenderer=BT;BS.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};BS.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};BS.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BS.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BS.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BS.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BS.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BS.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};BS.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CM.nil===d)&&(7===d.Type)&&d.ListData.Tight){if(a.Parent.FirstChild===a&&a.Parent.LastChild===a){$s=-1;return 2;}}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,$s};return $f;};BS.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};BS.ptr.prototype.renderBlockquote=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BS.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BS.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.FirstChild;while(true){if(!(!(CM.nil===d))){break;}d.Unlink();d=d.Next;}e=BU(a);f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);a.AppendChild(h);g++;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BS.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BS.ptr.prototype.renderList=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderList,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BS.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BS.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BS.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.comma(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 1;}return;}var $f={$blk:BS.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BS.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 1;};BS.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BS.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("\"root\":");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.data(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(125);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BS.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};BS.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};BS.ptr.prototype.data=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=this;$r=c.BaseRenderer.WriteString("\"data\":");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="";e=a.Type;if(e===(0)){$s=4;continue;}if(e===(7)){$s=5;continue;}if(e===(5)){$s=6;continue;}if(e===(475)){$s=7;continue;}$s=8;continue;case 4:d=c.BaseRenderer.Tree.Name;$s=9;continue;case 5:if(0===a.ListData.Typ){$s=10;continue;}if(1===a.ListData.Typ){$s=11;continue;}$s=12;continue;case 10:$r=c.BaseRenderer.WriteString("\"priority\": \"iconList\",");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 11:$r=c.BaseRenderer.WriteString("\"priority\": \"iconOrderedList\",");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString("\"priority\": \"iconCheck\",");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=9;continue;case 6:$r=c.BaseRenderer.WriteString("\"priority\": \"iconQuote\",");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 7:$r=c.BaseRenderer.WriteString("\"priority\": \"iconSuper\",");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:b[0]=new A.Buffer.ptr(CI.nil,0,0);$r=H.Walk(a,(function(b){return function $b(f,g){var{f,g,h,i,j,$s,$r,$c}=$restore(this,{f,g});$s=$s||0;s:while(true){switch($s){case 0:if(!g){$s=-1;return 2;}if(460===f.Type){$s=1;continue;}$s=2;continue;case 1:h=f.Text();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=b[0].WriteString("#"+h+"#");$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return 1;case 2:if((16===f.Type)||(40===f.Type)||(433===f.Type)||(434===f.Type)||(29===f.Type)||(15===f.Type)||(42===f.Type)||(302===f.Type)||(306===f.Type)||(427===f.Type)){$s=5;continue;}$s=6;continue;case 5:j=b[0].Write(f.Tokens);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 6:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,f,g,h,i,j,$s};return $f;};})(b));$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=b[0].String();case 9:case 3:f=C.NewReplacer(new CJ(["\\","","\n","","\"","","\t","","'",""]));g=f.Replace(d);$s=20;case 20:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}d=g;d=C.ReplaceAll(d,"'","");if(16=e.HeadingLevel){break;}}if(455===e.Type){if(!A.Contains(e.Tokens,(new CI($stringToBytes("type=\"doc\""))))){b=$append(b,e);}}else{b=$append(b,e);}e=e.Next;}return b;};BW=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];c[0]=CN.nil;$r=H.Walk(a.Root,(function(c){return function(d,e){var d,e;if(!e||!((455===d.Type))){return 2;}c[0]=$append(c[0],d);return 2;};})(c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c[0];e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);f.Unlink();e++;}g=AR(a,b);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new BV.ptr(g);h.BaseRenderer.DefaultRendererFunc=$methodVal(h,"renderNode");$s=-1;return h;}return;}var $f={$blk:BW,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};$pkg.NewJSONRenderer=BW;BV.ptr.prototype.renderNode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!(CM.nil===a.Previous)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString(",");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:d=K.BytesToStr(a.Tokens);e=new H.NodeType(a.Type).String();a.Data=d;a.TypeStr=e;a.Properties=BX(a.KramdownIAL);$mapDelete(a.Properties,$String.keyFor("refcount"));g=M.Marshal(a);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j="";k="";a.Data=j;a.TypeStr=k;a.Properties=false;if(!($interfaceIsEqual($ifaceNil,i))){$s=8;continue;}$s=9;continue;case 8:l=i.Error();$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$panic(new $String("marshal node to json failed: "+l));$s=-1;return 0;case 9:m=K.BytesToStr(h);m=$substring(m,0,(m.length-1>>0));$r=c.BaseRenderer.WriteString(m);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.FirstChild)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteString(",\"Children\":[");$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString("}");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$s=3;continue;case 2:if(!(CM.nil===a.FirstChild)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(93);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("}");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:BV.ptr.prototype.renderNode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BV.prototype.renderNode=function(a,b){return this.$val.renderNode(a,b);};BX=function(a){var a,b,c,d,e,f;b=false;b=$makeMap($String.keyFor,[]);c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);f=(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]);(b||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])});d++;}return b;};BZ=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new BY.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:BZ,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewHtmlRenderer=BZ;BY.ptr.prototype.Render=function(){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=CI.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;d=a;e=b.RenderFootnotes();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;a=$appendSlice(d,f);$s=-1;return a;}return;}var $f={$blk:BY.ptr.prototype.Render,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.Render=function(){return this.$val.Render();};BY.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeCustomBlock"]),new CJ(["data-info",a.CustomBlockInfo]),new CJ(["data-content",($bytesToString(G.EscapeHTML(a.Tokens)))])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};BY.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};BY.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=this;if(b){$s=1;continue;}$s=2;continue;case 1:f=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){if(a.IsTextMarkType("code")){f=C.ReplaceAll(f,"|","|");}else{f=C.ReplaceAll(f,"\\|","|");}f=C.ReplaceAll(f,"\n","
    ");}if(a.IsTextMarkType("a")){$s=3;continue;}if(a.IsTextMarkType("inline-memo")){$s=4;continue;}$s=5;continue;case 3:c[0]=new CL([new CJ(["href",a.TextMarkAHref])]);if(!(""===a.TextMarkATitle)){c[0]=$append(c[0],new CJ(["title",a.TextMarkATitle]));}e.spanNodeAttrs(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));$r=e.BaseRenderer.Tag("a",c[0],false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 4:$r=e.BaseRenderer.WriteString(f);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=E.DecodeLastRuneInString(a.TextMarkTextContent);h=g[0];if(AB(h)){$s=11;continue;}$s=12;continue;case 11:$r=e.BaseRenderer.WriteString("\xEF\xBC\x88");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.TextMarkInlineMemoContent;i=C.ReplaceAll(i,"_esc_newline_"," ");$r=e.BaseRenderer.WriteString(i);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("\xEF\xBC\x89");$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:$r=e.BaseRenderer.WriteString("(");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(a.TextMarkInlineMemoContent);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(")");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=6;continue;case 5:d[0]=e.renderTextMarkAttrs(a);e.spanNodeAttrs(a,(d.$ptr||(d.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$r=e.BaseRenderer.Tag("span",d[0],false);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString(f);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BY.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};BY.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};BY.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};BY.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};BY.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};BY.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};BY.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};BY.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};BY.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};BY.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};BY.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};BY.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("div",new CL([new CJ(["class","iframe"])]),false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=AE(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};BY.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};BY.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};BY.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};BY.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-git-conflict"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};BY.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};BY.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};BY.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};BY.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};BY.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};BY.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};BY.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};BY.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};BY.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(35);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};BY.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/em",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};BY.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};BY.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};BY.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};BY.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};BY.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};BY.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};BY.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/mark",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};BY.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};BY.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};BY.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};BY.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};BY.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};BY.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/sub",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};BY.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};BY.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};BY.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};BY.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};BY.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};BY.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};BY.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(39);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};BY.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};BY.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};BY.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};BY.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(34);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};BY.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};BY.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);$r=c.BaseRenderer.Tag("pre",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};BY.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};BY.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};BY.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};BY.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};BY.ptr.prototype.renderToC=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=2;case 2:return e;}return;}var $f={$blk:BY.ptr.prototype.renderToC,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};BY.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=B.Itoa(f);$r=c.BaseRenderer.Tag("sup",new CL([new CJ(["class","footnotes-ref"]),new CJ(["id","footnotes-ref-"+a.FootnotesRefId])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("a",new CL([new CJ(["href",c.BaseRenderer.Options.LinkBase+"#footnotes-def-"+g])]),false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/sup",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};BY.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};BY.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};BY.ptr.prototype.RenderFootnotes=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(1>a.BaseRenderer.FootnotesDefs.$length){$s=-1;return CI.nil;}b=new A.Buffer.ptr(CI.nil,0,0);c=b.WriteString("
    ");$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;d=b.WriteString("
    \n");$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=b.WriteString("
      ");$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=a.BaseRenderer.FootnotesDefs;g=0;case 4:if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);j=b.WriteString("
    1. >0)+"\">");$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=new J.Tree.ptr(CM.nil,a.BaseRenderer.Tree.Context,DF.nil,DG.nil,"","","","","",CJ.nil,new $Int64(0,0),new $Int64(0,0),"");k.Context.Tree=k;k.Root=new H.Node.ptr("","","","",0,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,CI.nil,"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");k.Root.AppendChild(i);l=BZ(k,a.BaseRenderer.Options);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=k.Root.LastDeepestChild();h=i.FootnotesRefs.$length-1>>0;while(true){if(!(0<=h)){break;}p=(o=i.FootnotesRefs,((h<0||h>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+h]));q=" \xE2\x86\xA9";r=new H.Node.ptr("","","","",10,CM.nil,CM.nil,CM.nil,CM.nil,CM.nil,CN.nil,K.StrToBytes(q),"","",false,false,false,0,false,0,0,0,CI.nil,CI.nil,CI.nil,0,CO.nil,false,CP.nil,0,0,0,0,CI.nil,0,false,"",0,CI.nil,"",CN.nil,CI.nil,CL.nil,false,"","","","","","","","","","","",0,"");n.InsertAfter(r);h=h-(1)>>0;}m.BaseRenderer.RenderingFootnotes=true;s=m.Render();$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=b.Write(t);$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=b.WriteString("
    2. \n");$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;g++;$s=4;continue;case 5:w=b.WriteString("
    ");$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return b.Bytes();}return;}var $f={$blk:BY.ptr.prototype.RenderFootnotes,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};BY.prototype.RenderFootnotes=function(){return this.$val.RenderFootnotes();};BY.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c,d,e,f,g;c=this;if(b){if(!c.BaseRenderer.RenderingFootnotes){d=false;e=c.BaseRenderer.FootnotesDefs;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(A.EqualFold(a.Tokens,g.Tokens)){d=true;break;}f++;}if(!d){c.BaseRenderer.FootnotesDefs=$append(c.BaseRenderer.FootnotesDefs,a);}return 1;}}return 2;};BY.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};BY.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};BY.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};BY.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};BY.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};BY.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};BY.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};BY.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};BY.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};BY.ptr.prototype.renderInlineMathContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};BY.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=new CL([new CJ(["class","language-math"])]);$r=c.BaseRenderer.Tag("span",d,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderInlineMathOpenMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};BY.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};BY.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/div",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};BY.ptr.prototype.renderMathBlockContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlockContent,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};BY.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};BY.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:d=new CL([new CJ(["class","language-math"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);$r=c.BaseRenderer.Tag("div",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};BY.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){$s=1;continue;}$s=2;continue;case 1:e=CL.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CJ(["align","left"]));}else if(f===(2)){e=$append(e,new CJ(["align","center"]));}else if(f===(3)){e=$append(e,new CJ(["align","right"]));}$r=c.BaseRenderer.Tag(d,e,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/"+d,CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};BY.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("tr",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/tr",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};BY.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("thead",CL.nil,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/thead",CL.nil,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(CM.nil===a.Next)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.Tag("tbody",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};BY.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.handleKramdownBlockIAL(a);$r=c.BaseRenderer.Tag("table",a.KramdownIAL,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(!(CM.nil===a.FirstChild.Next)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.Tag("/tbody",CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/table",CL.nil,false);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};BY.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};BY.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};BY.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};BY.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("/del",CL.nil,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};BY.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};BY.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};BY.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};BY.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(G.EscapeHTML(d));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};BY.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};BY.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};BY.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};BY.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};BY.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};BY.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};BY.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};BY.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};BY.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};BY.ptr.prototype.renderImage=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(0===c.BaseRenderer.DisableTags){$s=3;continue;}$s=4;continue;case 3:d=a.IALAttr("parent-style");if(!(""===d)){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("span",new CL([new CJ(["style",d])]),false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=c.BaseRenderer.WriteString("\"");$s=14;case>0;$s=-1;return 2;case 2:c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=15;continue;}$s=16;continue;case 15:$r=c.BaseRenderer.WriteByte(34);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=a.ChildByType(42);if(!(CM.nil===f)&&!(CI.nil===f.Tokens)){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString(" title=\"");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(f.Tokens));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:g=c.BaseRenderer.NodeAttrsStr(a);if(!(""===g)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString(" "+g);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:$r=c.BaseRenderer.WriteString(" />");$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=a.IALAttr("style");if(!(""===h)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.Tag("/span",CL.nil,false);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:if(c.BaseRenderer.Options.Sanitize){$s=30;continue;}$s=31;continue;case 30:i=c.BaseRenderer.Writer.Bytes();j=A.LastIndex(i,(new CI($stringToBytes("");$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderBlockquote,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BY.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BY.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));$r=c.BaseRenderer.WriteString("=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]))+"\"");$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:if(1=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);$r=c.BaseRenderer.WriteString(" "+(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])+"=\""+(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])+"\"");$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k++;$s=17;continue;case 18:case 16:case 11:case 8:$r=c.BaseRenderer.WriteString(">");$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=21;continue;}$s=22;continue;case 21:m=AT(a);$s=23;case 23:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c.BaseRenderer.Tag("a",new CL([new CJ(["id","vditorAnchor-"+n]),new CJ(["class","vditor-anchor"]),new CJ(["href","#"+n])]),false);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("/a",CL.nil,false);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$r=c.BaseRenderer.WriteString(">0))+">");$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};BY.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};BY.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};BY.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};BY.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};BY.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=this;e="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){e="ol";}if(b){$s=1;continue;}$s=2;continue;case 1:$r=d.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=CL.nil;d.BaseRenderer.renderListStyle(a,(c.$ptr||(c.$ptr=new CR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){c[0]=$append(c[0],new CJ(["start",B.Itoa(a.ListData.Start)]));}d.handleKramdownBlockIAL(a);c[0]=$appendSlice(c[0],a.KramdownIAL);$r=d.BaseRenderer.Tag(e,c[0],false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=d.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Tag("/"+e,CL.nil,false);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,$s};return $f;};BY.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};BY.ptr.prototype.renderListItem=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(""===c.BaseRenderer.Options.GFMTaskListItemClass)&&!(CM.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CM.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CM.nil===e){e=a.FirstChild;}f=c.BaseRenderer.Options.GFMTaskListItemClass;if(e.TaskListItemChecked){f=f+(" vditor-task--done");}d=$append(d,new CJ(["class",f]));}$r=c.BaseRenderer.Tag("li",d,false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Tag("/li",CL.nil,false);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderListItem,$c:true,$r,a,b,c,d,e,f,$s};return $f;};BY.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};BY.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CL.nil;if(a.TaskListItemChecked){d=$append(d,new CJ(["checked",""]));}d=$append(d,new CJ(["disabled",""]),new CJ(["type","checkbox"]));$r=c.BaseRenderer.Tag("input",d,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};BY.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};BY.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("hr",CL.nil,true);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};BY.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};BY.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Tag("br",CL.nil,true);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};BY.ptr.prototype.handleKramdownBlockIAL=function(a){var a,b,c,d;b=this;if(b.BaseRenderer.Options.KramdownBlockIAL&&!("id"===b.BaseRenderer.Options.KramdownIALIDRenderName)&&0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=b.BaseRenderer.Options.KramdownIALIDRenderName));}};BY.prototype.handleKramdownBlockIAL=function(a){return this.$val.handleKramdownBlockIAL(a);};BY.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){b=$append(b,new CJ(["data-title",a.TextMarkATitle]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));i=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"|","|");i=C.ReplaceAll(i,"\n","
    ");}i=C.ReplaceAll(i,"_esc_newline_","\n");b=$append(b,new CJ(["data-content",i]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){j=a.TextMarkInlineMemoContent;j=C.ReplaceAll(j,"_esc_newline_","\n");b=$append(b,new CJ(["data-inline-memo-content",j]));}f++;}return b;};BY.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};BY.ptr.prototype.spanNodeAttrs=function(a,b){var a,b,c;c=this;b.$set($appendSlice(b.$get(),a.KramdownIAL));};BY.prototype.spanNodeAttrs=function(a,b){return this.$val.spanNodeAttrs(a,b);};CB=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CA.ptr(c,CT.nil);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=28;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeSpanOpenMarker")});j=29;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderCodeSpanContent")});k=30;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderCodeSpanCloseMarker")});l=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderCodeBlock")});m=12;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderCodeBlockOpenMarker")});n=14;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderCodeBlockInfoMarker")});o=15;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderCodeBlockCode")});p=13;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderCodeBlockCloseMarker")});q=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderMathBlock")});r=301;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderMathBlockOpenMarker")});s=302;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderMathBlockContent")});t=303;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderMathBlockCloseMarker")});u=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderInlineMath")});v=305;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineMathOpenMarker")});w=306;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderInlineMathContent")});x=307;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderInlineMathCloseMarker")});y=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderEmphasis")});z=18;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderEmAsteriskOpenMarker")});aa=19;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderEmAsteriskCloseMarker")});ab=20;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderEmUnderscoreOpenMarker")});ac=21;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderEmUnderscoreCloseMarker")});ad=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderStrong")});ae=23;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderStrongA6kOpenMarker")});af=24;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderStrongA6kCloseMarker")});ag=25;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderStrongU8eOpenMarker")});ah=26;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderStrongU8eCloseMarker")});ai=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderBlockquote")});aj=6;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderBlockquoteMarker")});ak=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderHeading")});al=3;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderHeadingC8hMarker")});am=420;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderHeadingID")});an=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderList")});ao=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderListItem")});ap=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderThematicBreak")});aq=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderHardBreak")});ar=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderSoftBreak")});as=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderHTML")});at=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderInlineHTML")});au=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderLink")});av=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderImage")});aw=35;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBang")});ax=36;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ax),{k:ax,v:$methodVal(d,"renderOpenBracket")});ay=37;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ay),{k:ay,v:$methodVal(d,"renderCloseBracket")});az=38;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(az),{k:az,v:$methodVal(d,"renderOpenParen")});ba=39;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ba),{k:ba,v:$methodVal(d,"renderCloseParen")});bb=47;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bb),{k:bb,v:$methodVal(d,"renderLess")});bc=48;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bc),{k:bc,v:$methodVal(d,"renderGreater")});bd=466;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bd),{k:bd,v:$methodVal(d,"renderOpenBrace")});be=467;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(be),{k:be,v:$methodVal(d,"renderCloseBrace")});bf=40;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bf),{k:bf,v:$methodVal(d,"renderLinkText")});bg=43;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bg),{k:bg,v:$methodVal(d,"renderLinkSpace")});bh=41;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bh),{k:bh,v:$methodVal(d,"renderLinkDest")});bi=42;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bi),{k:bi,v:$methodVal(d,"renderLinkTitle")});bj=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bj),{k:bj,v:$methodVal(d,"renderStrikethrough")});bk=102;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bk),{k:bk,v:$methodVal(d,"renderStrikethrough1OpenMarker")});bl=103;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bl),{k:bl,v:$methodVal(d,"renderStrikethrough1CloseMarker")});bm=104;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bm),{k:bm,v:$methodVal(d,"renderStrikethrough2OpenMarker")});bn=105;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bn),{k:bn,v:$methodVal(d,"renderStrikethrough2CloseMarker")});bo=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bo),{k:bo,v:$methodVal(d,"renderTaskListItemMarker")});bp=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bp),{k:bp,v:$methodVal(d,"renderTable")});bq=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bq),{k:bq,v:$methodVal(d,"renderTableHead")});br=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(br),{k:br,v:$methodVal(d,"renderTableRow")});bs=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bs),{k:bs,v:$methodVal(d,"renderTableCell")});bt=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bt),{k:bt,v:$methodVal(d,"renderEmoji")});bu=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bu),{k:bu,v:$methodVal(d,"renderEmojiUnicode")});bv=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bv),{k:bv,v:$methodVal(d,"renderEmojiImg")});bw=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bw),{k:bw,v:$methodVal(d,"renderEmojiAlias")});bx=410;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bx),{k:bx,v:$methodVal(d,"renderFootnotesDefBlock")});by=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(by),{k:by,v:$methodVal(d,"renderFootnotesDef")});bz=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(bz),{k:bz,v:$methodVal(d,"renderFootnotesRef")});ca=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ca),{k:ca,v:$methodVal(d,"renderToC")});cb=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cb),{k:cb,v:$methodVal(d,"renderBackslash")});cc=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cc),{k:cc,v:$methodVal(d,"renderBackslashContent")});cd=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cd),{k:cd,v:$methodVal(d,"renderHtmlEntity")});ce=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ce),{k:ce,v:$methodVal(d,"renderYamlFrontMatter")});cf=426;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cf),{k:cf,v:$methodVal(d,"renderYamlFrontMatterOpenMarker")});cg=427;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cg),{k:cg,v:$methodVal(d,"renderYamlFrontMatterContent")});ch=428;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ch),{k:ch,v:$methodVal(d,"renderYamlFrontMatterCloseMarker")});ci=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ci),{k:ci,v:$methodVal(d,"renderBlockRef")});cj=431;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cj),{k:cj,v:$methodVal(d,"renderBlockRefID")});ck=432;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ck),{k:ck,v:$methodVal(d,"renderBlockRefSpace")});cl=433;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cl),{k:cl,v:$methodVal(d,"renderBlockRefText")});cm=434;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cm),{k:cm,v:$methodVal(d,"renderBlockRefDynamicText")});cn=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cn),{k:cn,v:$methodVal(d,"renderFileAnnotationRef")});co=541;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(co),{k:co,v:$methodVal(d,"renderFileAnnotationRefID")});cp=542;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cp),{k:cp,v:$methodVal(d,"renderFileAnnotationRefSpace")});cq=543;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cq),{k:cq,v:$methodVal(d,"renderFileAnnotationRefText")});cr=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cr),{k:cr,v:$methodVal(d,"renderMark")});cs=451;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cs),{k:cs,v:$methodVal(d,"renderMark1OpenMarker")});ct=452;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ct),{k:ct,v:$methodVal(d,"renderMark1CloseMarker")});cu=453;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cu),{k:cu,v:$methodVal(d,"renderMark2OpenMarker")});cv=454;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cv),{k:cv,v:$methodVal(d,"renderMark2CloseMarker")});cw=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cw),{k:cw,v:$methodVal(d,"renderSup")});cx=486;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cx),{k:cx,v:$methodVal(d,"renderSupOpenMarker")});cy=487;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cy),{k:cy,v:$methodVal(d,"renderSupCloseMarker")});cz=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(cz),{k:cz,v:$methodVal(d,"renderSub")});da=491;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(da),{k:da,v:$methodVal(d,"renderSubOpenMarker")});db=492;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(db),{k:db,v:$methodVal(d,"renderSubCloseMarker")});dc=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dc),{k:dc,v:$methodVal(d,"renderKramdownBlockIAL")});dd=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dd),{k:dd,v:$methodVal(d,"renderKramdownSpanIAL")});de=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(de),{k:de,v:$methodVal(d,"renderBlockQueryEmbed")});df=468;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(df),{k:df,v:$methodVal(d,"renderBlockQueryEmbedScript")});dg=460;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dg),{k:dg,v:$methodVal(d,"renderTag")});dh=461;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dh),{k:dh,v:$methodVal(d,"renderTagOpenMarker")});di=462;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(di),{k:di,v:$methodVal(d,"renderTagCloseMarker")});dj=45;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dj),{k:dj,v:$methodVal(d,"renderLinkRefDefBlock")});dk=46;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dk),{k:dk,v:$methodVal(d,"renderLinkRefDef")});dl=475;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dl),{k:dl,v:$methodVal(d,"renderSuperBlock")});dm=476;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dm),{k:dm,v:$methodVal(d,"renderSuperBlockOpenMarker")});dn=477;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dn),{k:dn,v:$methodVal(d,"renderSuperBlockLayoutMarker")});dp=478;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dp),{k:dp,v:$methodVal(d,"renderSuperBlockCloseMarker")});dq=495;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dq),{k:dq,v:$methodVal(d,"renderGitConflict")});dr=496;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dr),{k:dr,v:$methodVal(d,"renderGitConflictOpenMarker")});ds=497;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ds),{k:ds,v:$methodVal(d,"renderGitConflictContent")});dt=498;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dt),{k:dt,v:$methodVal(d,"renderGitConflictCloseMarker")});du=500;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(du),{k:du,v:$methodVal(d,"renderIFrame")});dv=535;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dv),{k:dv,v:$methodVal(d,"renderWidget")});dw=510;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dw),{k:dw,v:$methodVal(d,"renderVideo")});dx=505;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dx),{k:dx,v:$methodVal(d,"renderAudio")});dy=515;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dy),{k:dy,v:$methodVal(d,"renderKbd")});dz=516;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(dz),{k:dz,v:$methodVal(d,"renderKbdOpenMarker")});ea=517;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ea),{k:ea,v:$methodVal(d,"renderKbdCloseMarker")});eb=520;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eb),{k:eb,v:$methodVal(d,"renderUnderline")});ec=521;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ec),{k:ec,v:$methodVal(d,"renderUnderlineOpenMarker")});ed=522;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ed),{k:ed,v:$methodVal(d,"renderUnderlineCloseMarker")});ee=525;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ee),{k:ee,v:$methodVal(d,"renderBr")});ef=530;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ef),{k:ef,v:$methodVal(d,"renderTextMark")});eg=550;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eg),{k:eg,v:$methodVal(d,"renderAttributeView")});eh=560;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(eh),{k:eh,v:$methodVal(d,"renderCustomBlock")});$s=-1;return d;}return;}var $f={$blk:CB,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewFormatRenderer=CB;CA.ptr.prototype.renderCustomBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(a.CustomBlockInfo);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString(";;;");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=10;continue;}$s=11;continue;case 10:if(c.withoutKramdownBlockIAL(a)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(10);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCustomBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCustomBlock=function(a,b){return this.$val.renderCustomBlock(a,b);};CA.ptr.prototype.renderAttributeView=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Tag("div",new CL([new CJ(["data-type","NodeAttributeView"]),new CJ(["data-av-id",a.AttributeViewID]),new CJ(["data-av-type",a.AttributeViewType])]),false);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("");$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAttributeView,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderAttributeView=function(a,b){return this.$val.renderAttributeView(a,b);};CA.ptr.prototype.renderTextMark=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=4;continue;}$s=5;continue;case 4:if(c.BaseRenderer.Options.AutoSpace){$s=7;continue;}$s=8;continue;case 7:d=a.PreviousNodeText();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=10;continue;}$s=11;continue;case 10:f=E.DecodeLastRuneInString(e);g=f[0];if("\xE2\x80\x8B"===($encodeRune(g))){e=C.TrimSuffix(e,"\xE2\x80\x8B");h=E.DecodeLastRuneInString(e);g=h[0];}if(D.IsLetter(g)||D.IsDigit(g)){$s=12;continue;}$s=13;continue;case 12:$r=c.BaseRenderer.WriteByte(32);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 11:case 8:$s=6;continue;case 5:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:i=c.renderTextMarkAttrs(a);$r=c.BaseRenderer.Tag("span",i,false);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.TextMarkTextContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"\\|","|");j=C.ReplaceAll(j,"|","\\|");j=C.ReplaceAll(j,"\n","
    ");if(C.Contains(a.TextMarkType,"code")){j=C.ReplaceAll(j,"
    ","");}}if(c.BaseRenderer.Options.AutoSpace&&!J.ContainTextMark(a,new CJ(["block-ref","code","inline-math","kbd","tag"]))){j=($bytesToString(c.BaseRenderer.Space((new CI($stringToBytes(j))))));}$r=c.BaseRenderer.WriteString(j);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteString("");$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(J.ContainTextMark(a,new CJ(["code","inline-math","kbd"]))){$s=19;continue;}$s=20;continue;case 19:if(c.BaseRenderer.Options.AutoSpace){$s=22;continue;}$s=23;continue;case 22:k=a.NextNodeText();$s=24;case 24:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!(""===l)){$s=25;continue;}$s=26;continue;case 25:m=E.DecodeRuneInString(l);n=m[0];if("\xE2\x80\x8B"===($encodeRune(n))){l=C.TrimPrefix(l,"\xE2\x80\x8B");o=E.DecodeRuneInString(l);n=o[0];}if(D.IsLetter(n)||D.IsDigit(n)){$s=27;continue;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteByte(32);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:case 26:case 23:$s=21;continue;case 20:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTextMark,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};CA.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};CA.ptr.prototype.renderTextMarkAttrs=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=CL.nil;c=this;b=new CL([new CJ(["data-type",a.TextMarkType])]);d=C.Split(a.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if("block-ref"===g){b=$append(b,new CJ(["data-subtype",a.TextMarkBlockRefSubtype]));b=$append(b,new CJ(["data-id",a.TextMarkBlockRefID]));}else if("a"===g){h=a.TextMarkAHref;h=($bytesToString(c.BaseRenderer.LinkPath((new CI($stringToBytes(h))))));if(a.ParentIs(109,CQ.nil)){h=C.ReplaceAll(h,"\\|","|");h=C.ReplaceAll(h,"|","\\|");}b=$append(b,new CJ(["data-href",h]));if(!(""===a.TextMarkATitle)){i=a.TextMarkATitle;if(a.ParentIs(109,CQ.nil)){i=C.ReplaceAll(i,"\\|","|");i=C.ReplaceAll(i,"|","\\|");}b=$append(b,new CJ(["data-title",i]));}}else if("inline-math"===g){b=$append(b,new CJ(["data-subtype","math"]));j=a.TextMarkInlineMathContent;if(a.ParentIs(109,CQ.nil)){j=C.ReplaceAll(j,"|","|");j=C.ReplaceAll(j,"\n","
    ");}j=G.EscapeHTMLStr(j);b=$append(b,new CJ(["data-content",j]));b=$append(b,new CJ(["contenteditable","false"]));b=$append(b,new CJ(["class","render-node"]));}else if("file-annotation-ref"===g){b=$append(b,new CJ(["data-id",a.TextMarkFileAnnotationRefID]));}else if("inline-memo"===g){k=a.TextMarkInlineMemoContent;b=$append(b,new CJ(["data-inline-memo-content",k]));}f++;}return b;};CA.prototype.renderTextMarkAttrs=function(a){return this.$val.renderTextMarkAttrs(a);};CA.ptr.prototype.renderBr=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("
    ");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBr,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};CA.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};CA.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};CA.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderUnderlineCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};CA.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};CA.ptr.prototype.renderKbdOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};CA.ptr.prototype.renderKbdCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKbdCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};CA.ptr.prototype.renderVideo=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderVideo,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};CA.ptr.prototype.renderAudio=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderAudio,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};CA.ptr.prototype.renderIFrame=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderIFrame,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};CA.ptr.prototype.renderWidget=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(10);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderWidget,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};CA.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};CA.ptr.prototype.renderGitConflictContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};CA.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflictOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};CA.ptr.prototype.renderGitConflict=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGitConflict,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};CA.ptr.prototype.renderSuperBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlock,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};CA.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write((new CI($stringToBytes("{{{"))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};CA.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b&&c.BaseRenderer.Options.SuperBlock){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockLayoutMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};CA.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.SuperBlock){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write((new CI($stringToBytes("}}}"))));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=8;continue;}$s=9;continue;case 8:if(c.withoutKramdownBlockIAL(a.Parent)){$s=10;continue;}$s=11;continue;case 10:$r=c.BaseRenderer.WriteByte(10);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSuperBlockCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};CA.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};CA.ptr.prototype.renderLinkRefDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(a.Tokens);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("]: ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(10);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkRefDef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};CA.ptr.prototype.renderTag=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTag,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};CA.ptr.prototype.renderTagOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};CA.ptr.prototype.renderTagCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(35);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTagCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};CA.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownBlockIAL){$s=-1;return 2;}if(!(CM.nil===a.Previous)&&(8===a.Previous.Type)){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.BaseRenderer.Options.KramdownBlockIAL){$s=5;continue;}$s=6;continue;case 5:if(K.IsDocIAL(a.Tokens)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteByte(10);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$r=c.BaseRenderer.Write(a.Tokens);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=3;continue;case 2:if((8===a.Parent.Type)||(7===a.Parent.Type)){$s=11;continue;}$s=12;continue;case 11:if(!a.Parent.ListData.Tight){$s=14;continue;}$s=15;continue;case 14:$r=c.BaseRenderer.Newline();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:$r=c.BaseRenderer.Newline();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CA.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!c.BaseRenderer.Options.KramdownSpanIAL){$s=-1;return 2;}if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CA.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CA.ptr.prototype.renderMark1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};CA.ptr.prototype.renderMark1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("=");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};CA.ptr.prototype.renderMark2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};CA.ptr.prototype.renderMark2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("==");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderMark2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};CA.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CA.ptr.prototype.renderSupOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};CA.ptr.prototype.renderSupCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("^");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSupCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};CA.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CA.ptr.prototype.renderSubOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};CA.ptr.prototype.renderSubCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSubCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};CA.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbedScript,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};CA.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CA.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CA.ptr.prototype.renderBlockRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};CA.ptr.prototype.renderBlockRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};CA.ptr.prototype.renderBlockRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};CA.ptr.prototype.renderBlockRefDynamicText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(39);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(39);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockRefDynamicText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};CA.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CA.ptr.prototype.renderFileAnnotationRefID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};CA.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};CA.ptr.prototype.renderFileAnnotationRefText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=G.EscapeHTML(a.Tokens);d=A.ReplaceAll(d,(new CI($stringToBytes("'"))),(new CI($stringToBytes("'"))));$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFileAnnotationRefText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};CA.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterCloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};CA.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(J.YamlFrontMatterMarker);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatterOpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};CA.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b&&!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteByte(10);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CA.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.HtmlEntityTokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CA.ptr.prototype.renderBackslashContent=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslashContent,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CA.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(92);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CA.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("[toc]\n\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CA.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CA.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};CA.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$r=c.BaseRenderer.WriteString("["+K.BytesToStr(a.Tokens)+"]: ");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=f.String();h=C.Split(g,"\n");i=new A.Buffer.ptr(CI.nil,0,0);j=h;k=0;case 5:if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(0===l){$s=7;continue;}$s=8;continue;case 7:n=i.WriteString(m+"\n");$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=9;continue;case 8:if(""===m){$s=11;continue;}$s=12;continue;case 11:o=i.WriteString("\n");$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=13;continue;case 12:p=i.WriteString(" "+m+"\n");$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;case 13:case 9:k++;$s=5;continue;case 6:s=(q=c.NodeWriterStack,r=c.NodeWriterStack.$length-1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r])).Write(i.Bytes());$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c.BaseRenderer.Writer=(t=c.NodeWriterStack,u=c.NodeWriterStack.$length-1>>0,((u<0||u>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+u]));case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};CA.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CA.ptr.prototype.renderEmojiAlias=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderEmojiAlias,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CA.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CA.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CA.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CA.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=a.TableCellContentMaxWidth-a.TableCellContentWidth>>0;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(124);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.TableCellAlign;if(e===(2)){$s=9;continue;}if(e===(3)){$s=10;continue;}$s=11;continue;case 9:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError("integer divide by zero"))));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 8:case 6:$s=3;continue;case 2:if(!c.BaseRenderer.Options.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:g=a.TableCellAlign;if(g===(2)){$s=17;continue;}if(g===(3)){$s=18;continue;}$s=19;continue;case 17:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),(h=d/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError("integer divide by zero"))));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 18:$s=20;continue;case 19:$r=c.BaseRenderer.Write(A.Repeat(new CI([32]),d));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 16:$r=c.BaseRenderer.WriteByte(32);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};CA.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CA.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("|\n");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CA.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:d=a.FirstChild;e=d.FirstChild;case 3:if(!(!(CM.nil===e))){$s=4;continue;}if(456===e.Type){e=e.Next;$s=3;continue;}f=e.TableCellAlign;g=f;if(g===(0)){$s=6;continue;}if(g===(1)){$s=7;continue;}if(g===(2)){$s=8;continue;}if(g===(3)){$s=9;continue;}$s=10;continue;case 6:$r=c.BaseRenderer.WriteString("| -");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.TableCellContentMaxWidth-1>>0;if(0>0;if(0>0;if(0>0;if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]=$append((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),f));f=f.Next;}g=1;h=a.FirstChild.Next;while(true){if(!(!(CM.nil===h))){break;}d=$append(d,new CN([]));i=h.FirstChild;while(true){if(!(!(CM.nil===i))){break;}((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=$append(((g<0||g>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]),i));i=i.Next;}g=g+(1)>>0;h=h.Next;}j=0;k=0;case 4:if(!(k<(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]).$length)){$s=5;continue;}l=0;case 6:if(!(l=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]).$length)){$s=7;continue;}m=[m];o=(n=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+k])).TokenLen();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}(p=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+k])).TableCellContentWidth=o;if(c[0].BaseRenderer.Options.AutoSpace){$s=9;continue;}$s=10;continue;case 9:m[0]=0;$r=H.Walk((q=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+k])),(function(c,m){return function(r,s){var r,s;if(!s){return 2;}m[0]=m[0]+((c[0].BaseRenderer.Space(r.Tokens).$length-r.Tokens.$length>>0))>>0;return 2;};})(c,m));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(s=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+k])).TableCellContentWidth=(r=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+k])).TableCellContentWidth+(m[0])>>0;case 10:if(j<(t=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=t.$length)?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+k])).TableCellContentWidth){j=(u=((l<0||l>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+l]),((k<0||k>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+k])).TableCellContentWidth;}l=l+(1)>>0;$s=6;continue;case 7:v=0;while(true){if(!(v=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]).$length)){break;}(w=((v<0||v>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+v]),((k<0||k>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+k])).TableCellContentMaxWidth=j;v=v+(1)>>0;}j=0;k=k+(1)>>0;$s=4;continue;case 5:$s=3;continue;case 2:$r=c[0].BaseRenderer.Newline();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c[0].BaseRenderer.isLastNode(c[0].BaseRenderer.Tree.Root,a)){$s=13;continue;}$s=14;continue;case 13:if(c[0].withoutKramdownBlockIAL(a)){$s=15;continue;}$s=16;continue;case 15:$r=c[0].BaseRenderer.WriteByte(10);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 14:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTable,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};CA.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CA.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.TextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.TextAutoSpaceNext(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CA.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(126);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough1CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};CA.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2OpenMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};CA.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString("~~");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderStrikethrough2CloseMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};CA.ptr.prototype.renderLinkTitle=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(34);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.Tokens));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(34);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkTitle,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};CA.ptr.prototype.renderLinkDest=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Tokens;d=c.BaseRenderer.LinkPath(d);$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkDest,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};CA.ptr.prototype.renderLinkSpace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(32);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkSpace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};CA.ptr.prototype.renderLinkText=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLinkText,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};CA.ptr.prototype.renderCloseParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(41);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};CA.ptr.prototype.renderOpenParen=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(40);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenParen,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};CA.ptr.prototype.renderGreater=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(62);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderGreater,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};CA.ptr.prototype.renderLess=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(60);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLess,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};CA.ptr.prototype.renderCloseBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(125);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};CA.ptr.prototype.renderOpenBrace=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(123);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBrace,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};CA.ptr.prototype.renderCloseBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCloseBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};CA.ptr.prototype.renderOpenBracket=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderOpenBracket,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};CA.ptr.prototype.renderBang=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(33);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBang,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};CA.ptr.prototype.renderImage=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CA.ptr.prototype.renderLink=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.LinkTextAutoSpacePrevious(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(3===a.LinkType){$s=5;continue;}$s=6;continue;case 5:d=a.ChildByType(40).Tokens;if(A.Equal(d,a.LinkRefLabel)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("["+K.BytesToStr(d)+"]["+K.BytesToStr(a.LinkRefLabel)+"]");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 1;case 6:if(1===a.LinkType){$s=12;continue;}$s=13;continue;case 12:e=a.ChildByType(41).Tokens;$r=c.BaseRenderer.Write(e);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 13:$s=3;continue;case 2:$r=c.BaseRenderer.LinkTextAutoSpaceNext(a);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderLink,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CA.ptr.prototype.renderHTML=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=a.Tokens;d=c.BaseRenderer.tagSrcPath(d);$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!c.BaseRenderer.isLastNode(c.BaseRenderer.Tree.Root,a)){$s=6;continue;}$s=7;continue;case 6:if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 7:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHTML,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CA.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Write(a.Tokens);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CA.ptr.prototype.renderDocument=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));d=CI.nil;if(c.BaseRenderer.Options.KeepParagraphBeginningSpace){d=A.TrimRight(c.BaseRenderer.Writer.Bytes()," \t\n");d=A.TrimLeft(d,"\n");}else{d=A.Trim(c.BaseRenderer.Writer.Bytes()," \t\n");}c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderDocument,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CA.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(!b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.KeepParagraphBeginningSpace&&!(CM.nil===a.FirstChild)){$s=3;continue;}$s=4;continue;case 3:d=A.TrimSpace(a.FirstChild.Tokens);$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.FirstChild.Tokens=d;case 4:if(a.ParentIs(109,CQ.nil)){$s=6;continue;}$s=7;continue;case 6:if(!(CM.nil===a.Next)&&!((16===a.Next.Type))){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteString("

    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$s=-1;return 2;case 7:if(c.withoutKramdownBlockIAL(a)){$s=11;continue;}$s=12;continue;case 11:$r=c.BaseRenderer.Newline();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:e=false;f=false;g=a.Parent;if(!(CM.nil===g)){if(8===g.Type){h=g;if(!(CM.nil===h.Parent)&&!(CO.nil===h.Parent.ListData)){e=h.Parent.ListData.Tight;i=h.Next;if(CM.nil===i){j=a.Next;f=CM.nil===j;}}else{e=true;}}}if(!e||(f)){$s=14;continue;}$s=15;continue;case 14:if(c.withoutKramdownBlockIAL(a)){$s=16;continue;}$s=17;continue;case 16:$r=c.BaseRenderer.WriteByte(10);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:case 15:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};CA.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CA.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=CI.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}if(c.BaseRenderer.Options.FixTermTypo){$s=3;continue;}$s=4;continue;case 3:e=c.BaseRenderer.FixTermTypo(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:if((CM.nil===a.Previous||(100===a.Previous.Type))&&!(CM.nil===a.Parent.Parent)&&!(CO.nil===a.Parent.Parent.ListData)&&(3===a.Parent.Parent.ListData.Typ)){if(32===c.BaseRenderer.LastOut){d=A.TrimPrefix(d,(new CI($stringToBytes(" "))));if(A.HasPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))))){d=A.TrimPrefix(d,(new CI($stringToBytes("\xE2\x80\xB8 "))));d=$appendSlice(F.CaretTokens,d);}}}$r=c.BaseRenderer.Write(d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderText,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};CA.ptr.prototype.renderCodeSpan=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(c.BaseRenderer.Options.AutoSpace){$s=4;continue;}$s=5;continue;case 4:d=a.PreviousNodeText();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!(""===e)){$s=7;continue;}$s=8;continue;case 7:f=E.DecodeLastRuneInString(e);g=f[0];if(D.IsLetter(g)||D.IsDigit(g)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 5:$s=3;continue;case 2:if(c.BaseRenderer.Options.AutoSpace){$s=12;continue;}$s=13;continue;case 12:h=a.NextNodeText();$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!(""===i)){$s=15;continue;}$s=16;continue;case 15:j=E.DecodeRuneInString(i);k=j[0];if(D.IsLetter(k)||D.IsDigit(k)){$s=17;continue;}$s=18;continue;case 17:$r=c.BaseRenderer.WriteByte(32);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 18:case 16:case 13:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpan,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};CA.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};CA.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(96);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(1"))),CI.nil);}$r=c.BaseRenderer.Write(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderCodeSpanContent,$c:true,$r,a,b,c,d,$s};return $f;};CA.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};CA.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(1>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));g=new A.Buffer.ptr(CI.nil,0,0);h=f.Bytes();i=A.Split(h,new CI([10]));j=i.$length;if(2>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k])))&&I.IsBlank((l=j-2>>0,((l<0||l>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+l])))){i=$subslice(i,0,(j-1>>0));}if(1===c.NodeWriterStack.$length){j=i.$length;if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m])))){i=$subslice(i,0,(j-1>>0));}}j=i.$length;n=i;o=0;case 4:if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);if(0===p.$length){$s=6;continue;}$s=7;continue;case 6:q=g.WriteString(">\n");$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o++;$s=4;continue;case 7:if(62===(0>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+0])){$s=9;continue;}$s=10;continue;case 9:r=g.WriteString(">");$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=11;continue;case 10:s=g.WriteString("> ");$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 11:t=g.Write(p);$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=g.WriteByte(10);$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;o++;$s=4;continue;case 5:v=A.TrimSpace(g.Bytes());$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}h=v;f.Reset();w=f.Write(h);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;z=(x=c.NodeWriterStack,y=c.NodeWriterStack.$length-1>>0,((y<0||y>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+y])).Write(f.Bytes());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;c.BaseRenderer.Writer=(aa=c.NodeWriterStack,ab=c.NodeWriterStack.$length-1>>0,((ab<0||ab>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+ab]));ac=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h=ac;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(h);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=21;continue;}$s=22;continue;case 21:if(c.withoutKramdownBlockIAL(a)){$s=23;continue;}$s=24;continue;case 23:$r=c.BaseRenderer.WriteString("\n\n");$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 22:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderBlockquote,$c:true,$r,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};CA.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};CA.ptr.prototype.renderHeading=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!a.HeadingSetext){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.Write(A.Repeat(new CI([35]),a.HeadingLevel));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(32);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=3;continue;case 2:if(a.HeadingSetext){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=c.BaseRenderer.setextHeadingLen(a);$s=11;case 11:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(1===a.HeadingLevel){$s=12;continue;}if(2===a.HeadingLevel){$s=13;continue;}$s=14;continue;case 12:$r=c.BaseRenderer.WriteString(C.Repeat("=",e));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=14;continue;case 13:$r=c.BaseRenderer.WriteString(C.Repeat("-",e));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:case 9:if(!a.ParentIs(109,CQ.nil)){$s=17;continue;}$s=18;continue;case 17:if(c.withoutKramdownBlockIAL(a)){$s=19;continue;}$s=20;continue;case 19:$r=c.BaseRenderer.Newline();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 18:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,e,$s};return $f;};CA.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CA.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};CA.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};CA.ptr.prototype.renderHeadingID=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteString(" {"+K.BytesToStr(a.Tokens)+"}");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHeadingID,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};CA.ptr.prototype.renderList=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);$s=3;continue;case 2:f=(d=c.NodeWriterStack,e=c.NodeWriterStack.$length-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));i=(g=c.NodeWriterStack,h=c.NodeWriterStack.$length-1>>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h])).Write(f.Bytes());$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;c.BaseRenderer.Writer=(j=c.NodeWriterStack,k=c.NodeWriterStack.$length-1>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));l=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(m);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:if(c.withoutKramdownBlockIAL(a)){$s=9;continue;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("\n\n");$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 8:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderList,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};CA.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CA.ptr.prototype.renderListItem=function(a,b){var{a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Writer=new A.Buffer.ptr(CI.nil,0,0);c.NodeWriterStack=$append(c.NodeWriterStack,c.BaseRenderer.Writer);if(c.BaseRenderer.Options.KramdownBlockIAL&&!(CM.nil===a.Next)&&(455===a.Next.Type)){$s=4;continue;}$s=5;continue;case 4:d=a.Next;$r=c.BaseRenderer.Write(d.Tokens);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(CM.nil===a.FirstChild)&&(7===a.FirstChild.Type)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.Newline();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=3;continue;case 2:g=(e=c.NodeWriterStack,f=c.NodeWriterStack.$length-1>>0,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));c.NodeWriterStack=$subslice(c.NodeWriterStack,0,(c.NodeWriterStack.$length-1>>0));h=a.ListData.Marker.$length+1>>0;if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){h=h+(1)>>0;}i=A.Repeat(new CI([32]),h);j=new A.Buffer.ptr(CI.nil,0,0);k=g.Bytes();l=A.Split(k,new CI([10]));m=l;n=0;case 10:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(0===o.$length){$s=12;continue;}$s=13;continue;case 12:p=j.WriteByte(10);$s=14;case 14:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;n++;$s=10;continue;case 13:q=j.Write(i);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Write(o);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=j.WriteByte(10);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;n++;$s=10;continue;case 11:k=j.Bytes();if(h>0,((z<0||z>=y.$length)?($throwRuntimeError("index out of range"),undefined):y.$array[y.$offset+z])).Write(k);$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;c.BaseRenderer.Writer=(ab=c.NodeWriterStack,ac=c.NodeWriterStack.$length-1>>0,((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]));ad=A.TrimSpace(c.BaseRenderer.Writer.Bytes());$s=26;case 26:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}k=ad;c.BaseRenderer.Writer.Reset();$r=c.BaseRenderer.Write(k);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.ParentIs(109,CQ.nil)){$s=28;continue;}$s=29;continue;case 28:$r=c.BaseRenderer.WriteString("\n");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderListItem,$c:true,$r,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};CA.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CA.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.TaskListItemChecked){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.WriteByte(88);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:$r=c.BaseRenderer.WriteByte(32);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.BaseRenderer.WriteByte(32);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CA.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(a.ParentIs(109,CQ.nil)){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("
    ");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("---");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.withoutKramdownBlockIAL(a)){$s=8;continue;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CA.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(!c.BaseRenderer.Options.SoftBreak2HardBreak){$s=3;continue;}$s=4;continue;case 3:$r=c.BaseRenderer.WriteString("\\\n");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:if(a.ParentIs(109,CQ.nil)){$s=7;continue;}$s=8;continue;case 7:$r=c.BaseRenderer.WriteString("
    ");$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:$r=c.BaseRenderer.WriteByte(10);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CA.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CA.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CA.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CA.ptr.prototype.withoutKramdownBlockIAL=function(a){var a,b;b=this;return!b.BaseRenderer.Options.KramdownBlockIAL||(0===a.KramdownIAL.$length)||CM.nil===a.Next||!((455===a.Next.Type));};CA.prototype.withoutKramdownBlockIAL=function(a){return this.$val.withoutKramdownBlockIAL(a);};CH=function(a,b){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=AR(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new CG.ptr(c);e=0;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(e),{k:e,v:$methodVal(d,"renderDocument")});f=1;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(f),{k:f,v:$methodVal(d,"renderParagraph")});g=16;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(g),{k:g,v:$methodVal(d,"renderText")});h=27;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(h),{k:h,v:$methodVal(d,"renderCodeSpan")});i=11;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(i),{k:i,v:$methodVal(d,"renderCodeBlock")});j=300;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(j),{k:j,v:$methodVal(d,"renderMathBlock")});k=304;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(k),{k:k,v:$methodVal(d,"renderInlineMath")});l=17;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(l),{k:l,v:$methodVal(d,"renderEmphasis")});m=22;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(m),{k:m,v:$methodVal(d,"renderStrong")});n=5;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(n),{k:n,v:$methodVal(d,"renderBlockquote")});o=2;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(o),{k:o,v:$methodVal(d,"renderHeading")});p=7;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(p),{k:p,v:$methodVal(d,"renderList")});q=8;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(q),{k:q,v:$methodVal(d,"renderListItem")});r=4;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(r),{k:r,v:$methodVal(d,"renderThematicBreak")});s=31;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(s),{k:s,v:$methodVal(d,"renderHardBreak")});t=32;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(t),{k:t,v:$methodVal(d,"renderSoftBreak")});u=9;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(u),{k:u,v:$methodVal(d,"renderHTML")});v=10;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(v),{k:v,v:$methodVal(d,"renderInlineHTML")});w=33;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(w),{k:w,v:$methodVal(d,"renderLink")});x=34;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(x),{k:x,v:$methodVal(d,"renderImage")});y=101;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(y),{k:y,v:$methodVal(d,"renderStrikethrough")});z=100;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(z),{k:z,v:$methodVal(d,"renderTaskListItemMarker")});aa=106;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aa),{k:aa,v:$methodVal(d,"renderTable")});ab=107;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ab),{k:ab,v:$methodVal(d,"renderTableHead")});ac=108;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ac),{k:ac,v:$methodVal(d,"renderTableRow")});ad=109;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ad),{k:ad,v:$methodVal(d,"renderTableCell")});ae=200;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ae),{k:ae,v:$methodVal(d,"renderEmoji")});af=201;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(af),{k:af,v:$methodVal(d,"renderEmojiUnicode")});ag=202;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ag),{k:ag,v:$methodVal(d,"renderEmojiImg")});ah=203;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ah),{k:ah,v:$methodVal(d,"renderEmojiAlias")});ai=411;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ai),{k:ai,v:$methodVal(d,"renderFootnotesDef")});aj=412;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aj),{k:aj,v:$methodVal(d,"renderFootnotesRef")});ak=415;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ak),{k:ak,v:$methodVal(d,"renderToC")});al=400;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(al),{k:al,v:$methodVal(d,"renderBackslash")});am=401;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(am),{k:am,v:$methodVal(d,"renderBackslashContent")});an=44;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(an),{k:an,v:$methodVal(d,"renderHtmlEntity")});ao=425;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ao),{k:ao,v:$methodVal(d,"renderYamlFrontMatter")});ap=430;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ap),{k:ap,v:$methodVal(d,"renderBlockRef")});aq=540;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aq),{k:aq,v:$methodVal(d,"renderFileAnnotationRef")});ar=450;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(ar),{k:ar,v:$methodVal(d,"renderMark")});as=485;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(as),{k:as,v:$methodVal(d,"renderSup")});at=490;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(at),{k:at,v:$methodVal(d,"renderSub")});au=455;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(au),{k:au,v:$methodVal(d,"renderKramdownBlockIAL")});av=456;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(av),{k:av,v:$methodVal(d,"renderKramdownSpanIAL")});aw=465;(d.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map")).set(H.NodeType.keyFor(aw),{k:aw,v:$methodVal(d,"renderBlockQueryEmbed")});d.BaseRenderer.DefaultRendererFunc=$methodVal(d,"renderDefault");$s=-1;return d;}return;}var $f={$blk:CH,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};$pkg.NewEChartsJSONRenderer=CH;CG.ptr.prototype.renderKramdownBlockIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(K.IsDocIAL(a.Tokens)){e=c.BaseRenderer.Tree.ID;}$r=c.leaf("Block IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownBlockIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};CG.ptr.prototype.renderKramdownSpanIAL=function(a,b){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CM.nil===a.Previous){$s=-1;return 2;}d=c.BaseRenderer.NodeID(a.Previous);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$r=c.leaf("Span IAL\n{: "+e+"}",a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderKramdownSpanIAL,$c:true,$r,a,b,c,d,e,$s};return $f;};CG.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};CG.ptr.prototype.renderMark=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Mark\nmark",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMark,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};CG.ptr.prototype.renderSup=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sup\nsup",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSup,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};CG.ptr.prototype.renderSub=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Sub\nsub",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSub,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};CG.ptr.prototype.renderBlockQueryEmbed=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockQueryEmbed\n{{script}}",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockQueryEmbed,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};CG.ptr.prototype.renderBlockRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("BlockRef\n((id))",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBlockRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};CG.ptr.prototype.renderFileAnnotationRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("FileAnnotationRef\n<>",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFileAnnotationRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};CG.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};CG.ptr.prototype.renderYamlFrontMatter=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Front Matter\nYAML",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderYamlFrontMatter,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};CG.ptr.prototype.renderHtmlEntity=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Entity\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHtmlEntity,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};CG.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};CG.ptr.prototype.renderBackslash=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Blackslash\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderBackslash,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};CG.ptr.prototype.renderToC=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("ToC\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderToC,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};CG.ptr.prototype.renderFootnotesRef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Footnotes Ref\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesRef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};CG.ptr.prototype.renderFootnotesDef=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Footnotes Def\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderFootnotesDef,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};CG.ptr.prototype.renderInlineMath=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline Math\nspan",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineMath,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};CG.ptr.prototype.renderMathBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Math Block\ndiv",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderMathBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};CG.ptr.prototype.renderEmojiImg=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Img\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiImg,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};CG.ptr.prototype.renderEmojiUnicode=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Emoji Unicode\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderEmojiUnicode,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};CG.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 1;};CG.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};CG.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};CG.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};CG.ptr.prototype.renderTableCell=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Cell\ntd",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableCell,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};CG.ptr.prototype.renderTableRow=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Row\ntr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableRow,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};CG.ptr.prototype.renderTableHead=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Table Head\nthead",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderTableHead,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};CG.ptr.prototype.renderTable=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Table\ntable",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTable,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};CG.ptr.prototype.renderStrikethrough=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Strikethrough\ndel",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderStrikethrough,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};CG.ptr.prototype.renderImage=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Image\nimg",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderImage,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};CG.ptr.prototype.renderLink=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Link\na",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderLink,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};CG.ptr.prototype.renderHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("HTML Block\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};CG.ptr.prototype.renderInlineHTML=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Inline HTML\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderInlineHTML,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};CG.ptr.prototype.renderDocument=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.WriteByte(91);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openObj();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Document",a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteByte(93);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderDocument,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};CG.ptr.prototype.renderParagraph=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("Paragraph\np",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderParagraph,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};CG.ptr.prototype.renderText=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=K.BytesToStr(a.Tokens);e=0;f="";g=d;h=0;while(true){if(!(h>0;f=f+(($encodeRune(j)));if(4>0));$r=c.val("Heading\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderHeading,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};CG.ptr.prototype.renderList=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}$r=c.val("List\n"+d,a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderList,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};CG.ptr.prototype.renderListItem=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val("List Item\nli "+K.BytesToStr(a.ListData.Marker),a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderListItem,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};CG.ptr.prototype.renderTaskListItemMarker=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.openObj();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=" ";if(a.TaskListItemChecked){d="X";}$r=c.val("Task List Item Marker\n["+d+"]",a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.openChildren(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=c.closeChildren(a);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(a);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:CG.ptr.prototype.renderTaskListItemMarker,$c:true,$r,a,b,c,d,$s};return $f;};CG.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};CG.ptr.prototype.renderThematicBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Thematic Break\nhr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderThematicBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};CG.ptr.prototype.renderHardBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Hard Break\nbr",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderHardBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};CG.ptr.prototype.renderSoftBreak=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Soft Break\n",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderSoftBreak,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};CG.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.leaf("Code Block\npre.code",a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return 1;}return;}var $f={$blk:CG.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};CG.ptr.prototype.leaf=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.openObj();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.val(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.closeObj(b);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.leaf,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.leaf=function(a,b){return this.$val.leaf(a,b);};CG.ptr.prototype.val=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;a=C.ReplaceAll(a,"\\","\\\\");a=C.ReplaceAll(a,"\n","\\n");a=C.ReplaceAll(a,"\"","");a=C.ReplaceAll(a,"'","");$r=c.BaseRenderer.WriteString("\"name\":\""+a+"\"");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.val,$c:true,$r,a,b,c,$s};return $f;};CG.prototype.val=function(a,b){return this.$val.val(a,b);};CG.ptr.prototype.openObj=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteByte(123);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openObj,$c:true,$r,a,$s};return $f;};CG.prototype.openObj=function(){return this.$val.openObj();};CG.ptr.prototype.closeObj=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.BaseRenderer.WriteByte(125);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!b.ignore(a.Next)){$s=2;continue;}$s=3;continue;case 2:$r=b.comma();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeObj,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeObj=function(a){return this.$val.closeObj(a);};CG.ptr.prototype.openChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteString(",\"children\":[");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.openChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.openChildren=function(a){return this.$val.openChildren(a);};CG.ptr.prototype.closeChildren=function(a){var{a,b,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!(CM.nil===a.FirstChild)){$s=1;continue;}$s=2;continue;case 1:$r=b.BaseRenderer.WriteByte(93);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.closeChildren,$c:true,$r,a,b,$s};return $f;};CG.prototype.closeChildren=function(a){return this.$val.closeChildren(a);};CG.ptr.prototype.comma=function(){var{a,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.BaseRenderer.WriteString(",");$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:CG.ptr.prototype.comma,$c:true,$r,a,$s};return $f;};CG.prototype.comma=function(){return this.$val.comma();};CG.ptr.prototype.ignore=function(a){var a,b;b=this;return CM.nil===a||(6===a.Type)||(18===a.Type)||(19===a.Type)||(20===a.Type)||(21===a.Type)||(23===a.Type)||(24===a.Type)||(25===a.Type)||(26===a.Type)||(102===a.Type)||(103===a.Type)||(104===a.Type)||(105===a.Type)||(301===a.Type)||(302===a.Type)||(303===a.Type)||(305===a.Type)||(306===a.Type)||(307===a.Type)||(426===a.Type)||(428===a.Type)||(427===a.Type);};CG.prototype.ignore=function(a){return this.$val.ignore(a);};BY.ptr.prototype.renderCodeBlock=function(a,b){var{a,b,c,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;$r=c.BaseRenderer.Newline();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!a.IsFencedCodeBlock){$s=2;continue;}$s=3;continue;case 2:if(b){$s=4;continue;}$s=5;continue;case 4:$r=c.BaseRenderer.WriteString("
    ");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Write(G.EscapeHTML(a.FirstChild.Tokens));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.WriteString("
    ");$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=c.BaseRenderer.Newline();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 1;case 5:$s=-1;return 2;case 6:case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlock,$c:true,$r,a,b,c,$s};return $f;};BY.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};BY.ptr.prototype.renderCodeBlockCode=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d="";if(0=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])));}f=BA(d);if(b){$s=1;continue;}$s=2;continue;case 1:$r=c.BaseRenderer.Newline();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=CL.nil;c.handleKramdownBlockIAL(a);g=$appendSlice(g,a.KramdownIAL);if(!f){$s=5;continue;}$s=6;continue;case 5:$r=c.BaseRenderer.Tag("pre",g,false);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:h=a.Tokens;if(0");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=13;continue;case 12:if(f){$s=18;continue;}$s=19;continue;case 18:$r=c.BaseRenderer.WriteString("
    ");$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=20;continue;case 19:$r=c.BaseRenderer.WriteString("");$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:case 13:h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:$r=c.BaseRenderer.WriteString("");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=G.EscapeHTML(h);$r=c.BaseRenderer.Write(h);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=3;continue;case 2:if(f){$s=26;continue;}$s=27;continue;case 26:$r=c.BaseRenderer.WriteString("
    ");$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=28;continue;case 27:$r=c.BaseRenderer.WriteString("");$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:$r=c.BaseRenderer.Newline();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return 2;}return;}var $f={$blk:BY.ptr.prototype.renderCodeBlockCode,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BY.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};DH.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DI.methods=[{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"inListItem",name:"inListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"popWriteClass",name:"popWriteClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"popWriter",name:"popWriter",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderClass",name:"renderClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String],[],false)},{prop:"domAttrValue",name:"domAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String],[$String],false)},{prop:"domSetAttrValue",name:"domSetAttrValue",pkg:"github.com/88250/lute/render",typ:$funcType([CU,$String,$String],[],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DJ.methods=[{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"tagMatchClose",name:"tagMatchClose",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"tagMatchOpen",name:"tagMatchOpen",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[$Bool],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSpanNode",name:"renderSpanNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderDivNode",name:"renderDivNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)}];DK.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI,CJ],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CK.methods=[{prop:"FixTermTypo",name:"FixTermTypo",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"fixTermTypo0",name:"fixTermTypo0",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[],false)},{prop:"Write",name:"Write",pkg:"",typ:$funcType([CI],[],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[],false)},{prop:"Newline",name:"Newline",pkg:"",typ:$funcType([],[],false)},{prop:"TextAutoSpacePrevious",name:"TextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"TextAutoSpaceNext",name:"TextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpacePrevious",name:"LinkTextAutoSpacePrevious",pkg:"",typ:$funcType([CM],[],false)},{prop:"LinkTextAutoSpaceNext",name:"LinkTextAutoSpaceNext",pkg:"",typ:$funcType([CM],[],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC0",name:"renderToC0",pkg:"github.com/88250/lute/render",typ:$funcType([DB],[],false)},{prop:"Tag",name:"Tag",pkg:"",typ:$funcType([$String,CL,$Bool],[],false)},{prop:"headings",name:"headings",pkg:"github.com/88250/lute/render",typ:$funcType([],[DC],false)},{prop:"setextHeadingLen",name:"setextHeadingLen",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Int],false)},{prop:"renderListStyle",name:"renderListStyle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"tagSrc",name:"tagSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"tagSrcPath",name:"tagSrcPath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[CI],false)},{prop:"isLastNode",name:"isLastNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CM],[$Bool],false)},{prop:"NodeID",name:"NodeID",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"NodeAttrs",name:"NodeAttrs",pkg:"",typ:$funcType([CM],[CL],false)},{prop:"NodeAttrsStr",name:"NodeAttrsStr",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([CM],[$String],false)},{prop:"EncodeLinkSpace",name:"EncodeLinkSpace",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"LinkPath",name:"LinkPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"PrefixPath",name:"PrefixPath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"RelativePath",name:"RelativePath",pkg:"",typ:$funcType([CI],[CI],false)},{prop:"isRelativePath",name:"isRelativePath",pkg:"github.com/88250/lute/render",typ:$funcType([CI],[$Bool],false)}];DO.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"replaceSrc",name:"replaceSrc",pkg:"github.com/88250/lute/render",typ:$funcType([CI,CI,CI],[CI],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"escapeRefText",name:"escapeRefText",pkg:"github.com/88250/lute/render",typ:$funcType([$String],[$String],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"blockNodeAttrs",name:"blockNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeClass",name:"nodeClass",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR,$String],[],false)},{prop:"nodeDataType",name:"nodeDataType",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeID",name:"nodeID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"nodeIndex",name:"nodeIndex",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"spellcheck",name:"spellcheck",pkg:"github.com/88250/lute/render",typ:$funcType([CR],[],false)},{prop:"contenteditable",name:"contenteditable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderIAL",name:"renderIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)}];DP.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)}];DR.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMdMarker",name:"renderMdMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[$String],false)},{prop:"renderMdMarker0",name:"renderMdMarker0",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderMdMarker1",name:"renderMdMarker1",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$String,$Bool],[$String],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DT.methods=[{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"data",name:"data",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)}];DU.methods=[{prop:"renderNode",name:"renderNode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];DV.methods=[{prop:"Render",name:"Render",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"RenderFootnotes",name:"RenderFootnotes",pkg:"",typ:$funcType([],[CI],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"handleKramdownBlockIAL",name:"handleKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"spanNodeAttrs",name:"spanNodeAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM,CR],[],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)}];CX.methods=[{prop:"renderCustomBlock",name:"renderCustomBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAttributeView",name:"renderAttributeView",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMark",name:"renderTextMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTextMarkAttrs",name:"renderTextMarkAttrs",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[CL],false)},{prop:"renderBr",name:"renderBr",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderline",name:"renderUnderline",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineOpenMarker",name:"renderUnderlineOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderUnderlineCloseMarker",name:"renderUnderlineCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbd",name:"renderKbd",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdOpenMarker",name:"renderKbdOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKbdCloseMarker",name:"renderKbdCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderVideo",name:"renderVideo",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderAudio",name:"renderAudio",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderIFrame",name:"renderIFrame",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderWidget",name:"renderWidget",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictCloseMarker",name:"renderGitConflictCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictContent",name:"renderGitConflictContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflictOpenMarker",name:"renderGitConflictOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGitConflict",name:"renderGitConflict",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlock",name:"renderSuperBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockOpenMarker",name:"renderSuperBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockLayoutMarker",name:"renderSuperBlockLayoutMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSuperBlockCloseMarker",name:"renderSuperBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDefBlock",name:"renderLinkRefDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkRefDef",name:"renderLinkRefDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTag",name:"renderTag",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagOpenMarker",name:"renderTagOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTagCloseMarker",name:"renderTagCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1OpenMarker",name:"renderMark1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark1CloseMarker",name:"renderMark1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2OpenMarker",name:"renderMark2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark2CloseMarker",name:"renderMark2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupOpenMarker",name:"renderSupOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSupCloseMarker",name:"renderSupCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubOpenMarker",name:"renderSubOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSubCloseMarker",name:"renderSubCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbedScript",name:"renderBlockQueryEmbedScript",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefID",name:"renderBlockRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefSpace",name:"renderBlockRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefText",name:"renderBlockRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRefDynamicText",name:"renderBlockRefDynamicText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefID",name:"renderFileAnnotationRefID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefSpace",name:"renderFileAnnotationRefSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRefText",name:"renderFileAnnotationRefText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterCloseMarker",name:"renderYamlFrontMatterCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterContent",name:"renderYamlFrontMatterContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatterOpenMarker",name:"renderYamlFrontMatterOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDefBlock",name:"renderFootnotesDefBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1OpenMarker",name:"renderStrikethrough1OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough1CloseMarker",name:"renderStrikethrough1CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2OpenMarker",name:"renderStrikethrough2OpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough2CloseMarker",name:"renderStrikethrough2CloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkTitle",name:"renderLinkTitle",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkDest",name:"renderLinkDest",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkSpace",name:"renderLinkSpace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLinkText",name:"renderLinkText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseParen",name:"renderCloseParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenParen",name:"renderOpenParen",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderGreater",name:"renderGreater",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLess",name:"renderLess",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBrace",name:"renderCloseBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBrace",name:"renderOpenBrace",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCloseBracket",name:"renderCloseBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderOpenBracket",name:"renderOpenBracket",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBang",name:"renderBang",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanOpenMarker",name:"renderCodeSpanOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanContent",name:"renderCodeSpanContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpanCloseMarker",name:"renderCodeSpanCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathOpenMarker",name:"renderInlineMathOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathContent",name:"renderInlineMathContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMathCloseMarker",name:"renderInlineMathCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockCloseMarker",name:"renderMathBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockContent",name:"renderMathBlockContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlockOpenMarker",name:"renderMathBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCloseMarker",name:"renderCodeBlockCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockCode",name:"renderCodeBlockCode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockInfoMarker",name:"renderCodeBlockInfoMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlockOpenMarker",name:"renderCodeBlockOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskOpenMarker",name:"renderEmAsteriskOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmAsteriskCloseMarker",name:"renderEmAsteriskCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreOpenMarker",name:"renderEmUnderscoreOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmUnderscoreCloseMarker",name:"renderEmUnderscoreCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kOpenMarker",name:"renderStrongA6kOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongA6kCloseMarker",name:"renderStrongA6kCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eOpenMarker",name:"renderStrongU8eOpenMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrongU8eCloseMarker",name:"renderStrongU8eCloseMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquoteMarker",name:"renderBlockquoteMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingC8hMarker",name:"renderHeadingC8hMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeadingID",name:"renderHeadingID",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"withoutKramdownBlockIAL",name:"withoutKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];DW.methods=[{prop:"renderKramdownBlockIAL",name:"renderKramdownBlockIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderKramdownSpanIAL",name:"renderKramdownSpanIAL",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMark",name:"renderMark",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSup",name:"renderSup",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSub",name:"renderSub",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockQueryEmbed",name:"renderBlockQueryEmbed",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockRef",name:"renderBlockRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFileAnnotationRef",name:"renderFileAnnotationRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDefault",name:"renderDefault",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderYamlFrontMatter",name:"renderYamlFrontMatter",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHtmlEntity",name:"renderHtmlEntity",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslashContent",name:"renderBackslashContent",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBackslash",name:"renderBackslash",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderToC",name:"renderToC",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesRef",name:"renderFootnotesRef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderFootnotesDef",name:"renderFootnotesDef",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineMath",name:"renderInlineMath",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderMathBlock",name:"renderMathBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiImg",name:"renderEmojiImg",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiUnicode",name:"renderEmojiUnicode",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmojiAlias",name:"renderEmojiAlias",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmoji",name:"renderEmoji",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableCell",name:"renderTableCell",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableRow",name:"renderTableRow",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTableHead",name:"renderTableHead",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTable",name:"renderTable",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrikethrough",name:"renderStrikethrough",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderImage",name:"renderImage",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderLink",name:"renderLink",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHTML",name:"renderHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderInlineHTML",name:"renderInlineHTML",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderDocument",name:"renderDocument",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderParagraph",name:"renderParagraph",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderText",name:"renderText",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeSpan",name:"renderCodeSpan",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderEmphasis",name:"renderEmphasis",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderStrong",name:"renderStrong",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderBlockquote",name:"renderBlockquote",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHeading",name:"renderHeading",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderList",name:"renderList",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderListItem",name:"renderListItem",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderTaskListItemMarker",name:"renderTaskListItemMarker",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderThematicBreak",name:"renderThematicBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderHardBreak",name:"renderHardBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderSoftBreak",name:"renderSoftBreak",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"renderCodeBlock",name:"renderCodeBlock",pkg:"github.com/88250/lute/render",typ:$funcType([CM,$Bool],[H.WalkStatus],false)},{prop:"leaf",name:"leaf",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"val",name:"val",pkg:"github.com/88250/lute/render",typ:$funcType([$String,CM],[],false)},{prop:"openObj",name:"openObj",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"closeObj",name:"closeObj",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"openChildren",name:"openChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"closeChildren",name:"closeChildren",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[],false)},{prop:"comma",name:"comma",pkg:"github.com/88250/lute/render",typ:$funcType([],[],false)},{prop:"ignore",name:"ignore",pkg:"github.com/88250/lute/render",typ:$funcType([CM],[$Bool],false)}];N.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"commentStackDepth",name:"commentStackDepth",embedded:false,exported:false,typ:$Int,tag:""}]);P.init("github.com/88250/lute/render",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"nodeWriterStack",name:"nodeWriterStack",embedded:false,exported:false,typ:CT,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:CI,tag:""}]);R.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);T.init("github.com/88250/lute/render",[{prop:"FormatRenderer",name:"FormatRenderer",embedded:true,exported:true,typ:CX,tag:""},{prop:"linkPrefixes",name:"linkPrefixes",embedded:false,exported:false,typ:CJ,tag:""},{prop:"originalLink",name:"originalLink",embedded:false,exported:false,typ:CJ,tag:""}]);AL.init([CM,$Bool],[H.WalkStatus],false);AM.init([CM,$Bool],[$String,H.WalkStatus],false);AO.init("",[{prop:"SoftBreak2HardBreak",name:"SoftBreak2HardBreak",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"AutoSpace",name:"AutoSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"RenderListStyle",name:"RenderListStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlight",name:"CodeSyntaxHighlight",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightDetectLang",name:"CodeSyntaxHighlightDetectLang",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightInlineStyle",name:"CodeSyntaxHighlightInlineStyle",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightLineNum",name:"CodeSyntaxHighlightLineNum",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"CodeSyntaxHighlightStyleName",name:"CodeSyntaxHighlightStyleName",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorWYSIWYG",name:"VditorWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorIR",name:"VditorIR",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorSV",name:"VditorSV",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleWYSIWYG",name:"ProtyleWYSIWYG",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownBlockIAL",name:"KramdownBlockIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownSpanIAL",name:"KramdownSpanIAL",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"SuperBlock",name:"SuperBlock",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ImageLazyLoading",name:"ImageLazyLoading",embedded:false,exported:true,typ:$String,tag:""},{prop:"ChineseParagraphBeginningSpace",name:"ChineseParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Sanitize",name:"Sanitize",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"FixTermTypo",name:"FixTermTypo",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Terms",name:"Terms",embedded:false,exported:true,typ:DL,tag:""},{prop:"ToC",name:"ToC",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"HeadingID",name:"HeadingID",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KramdownIALIDRenderName",name:"KramdownIALIDRenderName",embedded:false,exported:true,typ:$String,tag:""},{prop:"HeadingAnchor",name:"HeadingAnchor",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"GFMTaskListItemClass",name:"GFMTaskListItemClass",embedded:false,exported:true,typ:$String,tag:""},{prop:"VditorCodeBlockPreview",name:"VditorCodeBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorMathBlockPreview",name:"VditorMathBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"VditorHTMLBlockPreview",name:"VditorHTMLBlockPreview",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"LinkBase",name:"LinkBase",embedded:false,exported:true,typ:$String,tag:""},{prop:"LinkPrefix",name:"LinkPrefix",embedded:false,exported:true,typ:$String,tag:""},{prop:"NodeIndexStart",name:"NodeIndexStart",embedded:false,exported:true,typ:$Int,tag:""},{prop:"ProtyleContenteditable",name:"ProtyleContenteditable",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"KeepParagraphBeginningSpace",name:"KeepParagraphBeginningSpace",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"ProtyleMarkNetImg",name:"ProtyleMarkNetImg",embedded:false,exported:true,typ:$Bool,tag:""},{prop:"Spellcheck",name:"Spellcheck",embedded:false,exported:true,typ:$Bool,tag:""}]);AQ.init("",[{prop:"Options",name:"Options",embedded:false,exported:true,typ:CZ,tag:""},{prop:"RendererFuncs",name:"RendererFuncs",embedded:false,exported:true,typ:DM,tag:""},{prop:"DefaultRendererFunc",name:"DefaultRendererFunc",embedded:false,exported:true,typ:AL,tag:""},{prop:"ExtRendererFuncs",name:"ExtRendererFuncs",embedded:false,exported:true,typ:DN,tag:""},{prop:"Writer",name:"Writer",embedded:false,exported:true,typ:CS,tag:""},{prop:"LastOut",name:"LastOut",embedded:false,exported:true,typ:$Uint8,tag:""},{prop:"Tree",name:"Tree",embedded:false,exported:true,typ:DA,tag:""},{prop:"DisableTags",name:"DisableTags",embedded:false,exported:true,typ:$Int,tag:""},{prop:"FootnotesDefs",name:"FootnotesDefs",embedded:false,exported:true,typ:CN,tag:""},{prop:"RenderingFootnotes",name:"RenderingFootnotes",embedded:false,exported:true,typ:$Bool,tag:""}]);AW.init("github.com/88250/lute/render",[{prop:"ID",name:"ID",embedded:false,exported:true,typ:$String,tag:"json:\"id\""},{prop:"Box",name:"Box",embedded:false,exported:true,typ:$String,tag:"json:\"box\""},{prop:"Path",name:"Path",embedded:false,exported:true,typ:$String,tag:"json:\"path\""},{prop:"HPath",name:"HPath",embedded:false,exported:true,typ:$String,tag:"json:\"hPath\""},{prop:"Content",name:"Content",embedded:false,exported:true,typ:$String,tag:"json:\"content\""},{prop:"Level",name:"Level",embedded:false,exported:true,typ:$Int,tag:"json:\"level\""},{prop:"Children",name:"Children",embedded:false,exported:true,typ:DC,tag:"json:\"children\""},{prop:"parent",name:"parent",embedded:false,exported:false,typ:DB,tag:""}]);BC.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeIndex",name:"NodeIndex",embedded:false,exported:true,typ:$Int,tag:""}]);BE.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BI.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);BS.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BV.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);BY.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);CA.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""},{prop:"NodeWriterStack",name:"NodeWriterStack",embedded:false,exported:true,typ:CT,tag:""}]);CG.init("",[{prop:"BaseRenderer",name:"BaseRenderer",embedded:true,exported:true,typ:CK,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.NewlineSV=(new CI($stringToBytes("
    \n
    ")));X=$makeMap($String.keyFor,[{k:"flutter",v:"Flutter"},{k:"netty",v:"Netty"},{k:"jetty",v:"Jetty"},{k:"tomcat",v:"Tomcat"},{k:"jdbc",v:"JDBC"},{k:"mariadb",v:"MariaDB"},{k:"ipfs",v:"IPFS"},{k:"saas",v:"SaaS"},{k:"paas",v:"PaaS"},{k:"iaas",v:"IaaS"},{k:"ioc",v:"IoC"},{k:"freemarker",v:"FreeMarker"},{k:"ruby",v:"Ruby"},{k:"rails",v:"Rails"},{k:"mina",v:"Mina"},{k:"puppet",v:"Puppet"},{k:"vagrant",v:"Vagrant"},{k:"chef",v:"Chef"},{k:"beego",v:"Beego"},{k:"gin",v:"Gin"},{k:"iris",v:"Iris"},{k:"php",v:"PHP"},{k:"ssh",v:"SSH"},{k:"web",v:"Web"},{k:"websocket",v:"WebSocket"},{k:"api",v:"API"},{k:"css",v:"CSS"},{k:"html",v:"HTML"},{k:"json",v:"JSON"},{k:"jsonp",v:"JSONP"},{k:"xml",v:"XML"},{k:"yaml",v:"YAML"},{k:"csv",v:"CSV"},{k:"soap",v:"SOAP"},{k:"ajax",v:"AJAX"},{k:"messagepack",v:"MessagePack"},{k:"javascript",v:"JavaScript"},{k:"java",v:"Java"},{k:"jsp",v:"JSP"},{k:"restful",v:"RESTFul"},{k:"graphql",v:"GraphQL"},{k:"gorm",v:"GORM"},{k:"orm",v:"ORM"},{k:"oauth",v:"OAuth"},{k:"facebook",v:"Facebook"},{k:"github",v:"GitHub"},{k:"gist",v:"Gist"},{k:"heroku",v:"Heroku"},{k:"twitter",v:"Twitter"},{k:"youtube",v:"YouTube"},{k:"dynamodb",v:"DynamoDB"},{k:"mysql",v:"MySQL"},{k:"postgresql",v:"PostgreSQL"},{k:"sqlite",v:"SQLite"},{k:"memcached",v:"Memcached"},{k:"mongodb",v:"MongoDB"},{k:"redis",v:"Redis"},{k:"elasticsearch",v:"Elasticsearch"},{k:"solr",v:"Solr"},{k:"b3log",v:"B3log"},{k:"hacpai",v:"HacPai"},{k:"sphinx",v:"Sphinx"},{k:"linux",v:"Linux"},{k:"ubuntu",v:"Ubuntu"},{k:"centos",v:"CentOS"},{k:"centos7",v:"CentOS7"},{k:"redhat",v:"RedHat"},{k:"gitlab",v:"GitLab"},{k:"jquery",v:"jQuery"},{k:"angularjs",v:"AngularJS"},{k:"ffmpeg",v:"FFmpeg"},{k:"git",v:"Git"},{k:"svn",v:"SVN"},{k:"vim",v:"VIM"},{k:"emacs",v:"Emacs"},{k:"sublime",v:"Sublime"},{k:"virtualbox",v:"VirtualBox"},{k:"safari",v:"Safari"},{k:"chrome",v:"Chrome"},{k:"ie",v:"IE"},{k:"firefox",v:"Firefox"},{k:"iterm",v:"iTerm"},{k:"iterm2",v:"iTerm2"},{k:"iwork",v:"iWork"},{k:"itunes",v:"iTunes"},{k:"iphoto",v:"iPhoto"},{k:"ibook",v:"iBook"},{k:"imessage",v:"iMessage"},{k:"photoshop",v:"Photoshop"},{k:"excel",v:"Excel"},{k:"powerpoint",v:"PowerPoint"},{k:"ios",v:"iOS"},{k:"iphone",v:"iPhone"},{k:"ipad",v:"iPad"},{k:"android",v:"Android"},{k:"imac",v:"iMac"},{k:"macbook",v:"MacBook"},{k:"vps",v:"VPS"},{k:"vpn",v:"VPN"},{k:"cpu",v:"CPU"},{k:"spring",v:"Spring"},{k:"springboot",v:"SpringBoot"},{k:"springcloud",v:"SpringCloud"},{k:"springmvc",v:"SpringMVC"},{k:"mybatis",v:"MyBatis"},{k:"qq",v:"QQ"},{k:"sql",v:"SQL"},{k:"markdown",v:"Markdown"},{k:"jdk",v:"JDK"},{k:"openjdk",v:"OpenJDK"},{k:"cors",v:"CORS"},{k:"protobuf",v:"Protobuf"},{k:"google",v:"Google"},{k:"ibm",v:"IBM"},{k:"oracle",v:"Oracle"},{k:"typora",v:"Typora"}]);AC=$makeMap($String.keyFor,[{k:"frame",v:$ifaceNil},{k:"frameset",v:$ifaceNil},{k:"noembed",v:$ifaceNil},{k:"noframes",v:$ifaceNil},{k:"noscript",v:$ifaceNil},{k:"nostyle",v:$ifaceNil},{k:"object",v:$ifaceNil},{k:"script",v:$ifaceNil},{k:"style",v:$ifaceNil},{k:"title",v:$ifaceNil}]);AK=$makeMap($String.keyFor,[{k:"onafterprint",v:$ifaceNil},{k:"onbeforeprint",v:$ifaceNil},{k:"onbeforeunload",v:$ifaceNil},{k:"onerror",v:$ifaceNil},{k:"onhashchange",v:$ifaceNil},{k:"onload",v:$ifaceNil},{k:"onmessage",v:$ifaceNil},{k:"onoffline",v:$ifaceNil},{k:"ononline",v:$ifaceNil},{k:"onpagehide",v:$ifaceNil},{k:"onpageshow",v:$ifaceNil},{k:"onpopstate",v:$ifaceNil},{k:"onresize",v:$ifaceNil},{k:"onstorage",v:$ifaceNil},{k:"onunload",v:$ifaceNil},{k:"onblur",v:$ifaceNil},{k:"onchange",v:$ifaceNil},{k:"oncontextmenu",v:$ifaceNil},{k:"onfocus",v:$ifaceNil},{k:"oninput",v:$ifaceNil},{k:"oninvalid",v:$ifaceNil},{k:"onreset",v:$ifaceNil},{k:"onsearch",v:$ifaceNil},{k:"onselect",v:$ifaceNil},{k:"onsubmit",v:$ifaceNil},{k:"onkeydown",v:$ifaceNil},{k:"onkeypress",v:$ifaceNil},{k:"onkeyup",v:$ifaceNil},{k:"onclick",v:$ifaceNil},{k:"ondblclick",v:$ifaceNil},{k:"onmousedown",v:$ifaceNil},{k:"onmousemove",v:$ifaceNil},{k:"onmouseout",v:$ifaceNil},{k:"onmouseover",v:$ifaceNil},{k:"onmouseleave",v:$ifaceNil},{k:"onmouseenter",v:$ifaceNil},{k:"onmouseup",v:$ifaceNil},{k:"onmousewheel",v:$ifaceNil},{k:"onwheel",v:$ifaceNil},{k:"ondrag",v:$ifaceNil},{k:"ondragend",v:$ifaceNil},{k:"ondragenter",v:$ifaceNil},{k:"ondragleave",v:$ifaceNil},{k:"ondragover",v:$ifaceNil},{k:"ondragstart",v:$ifaceNil},{k:"ondrop",v:$ifaceNil},{k:"onscroll",v:$ifaceNil},{k:"oncopy",v:$ifaceNil},{k:"oncut",v:$ifaceNil},{k:"onpaste",v:$ifaceNil},{k:"onabort",v:$ifaceNil},{k:"oncanplay",v:$ifaceNil},{k:"oncanplaythrough",v:$ifaceNil},{k:"oncuechange",v:$ifaceNil},{k:"ondurationchange",v:$ifaceNil},{k:"onemptied",v:$ifaceNil},{k:"onended",v:$ifaceNil},{k:"onloadeddata",v:$ifaceNil},{k:"onloadedmetadata",v:$ifaceNil},{k:"onloadstart",v:$ifaceNil},{k:"onpause",v:$ifaceNil},{k:"onplay",v:$ifaceNil},{k:"onplaying",v:$ifaceNil},{k:"onprogress",v:$ifaceNil},{k:"onratechange",v:$ifaceNil},{k:"onseeked",v:$ifaceNil},{k:"onseeking",v:$ifaceNil},{k:"onstalled",v:$ifaceNil},{k:"onsuspend",v:$ifaceNil},{k:"ontimeupdate",v:$ifaceNil},{k:"onvolumechange",v:$ifaceNil},{k:"onwaiting",v:$ifaceNil},{k:"ontoggle",v:$ifaceNil},{k:"onbegin",v:$ifaceNil},{k:"onend",v:$ifaceNil},{k:"onrepeat",v:$ifaceNil},{k:"http-equiv",v:$ifaceNil},{k:"formaction",v:$ifaceNil}]);AZ=new CJ(["mermaid","echarts","abc","graphviz","mindmap","flowchart","plantuml"]);CF=new CJ(["jpg","png","gif","webp","cr2","tif","bmp","heif","jxr","psd","ico","dwg","mp4","m4v","mkv","webm","mov","avi","wmv","mpg","flv","3gp","mid","mp3","m4a","ogg","flac","wav","amr","aac","epub","zip","tar","rar","gz","bz2","7z","xz","pdf","exe","swf","rtf","iso","eot","ps","sqli","nes","crx","cab","deb","ar","Z","lz","rpm","elf","dcm","doc","docx","xls","xlsx","ppt","pptx","md","txt","woff","woff2","ttf","otf","wasm","exe","html","js","css","go","java","textbundle"]);CD=CF.$length;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); -$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,B,C,N,P,R,Z,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AY,BA,BB,BC,BD,BE,BF,BG,BH,T,W,a,b,Q,S,AA;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];P=$packages["unicode"];R=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AO.nil;this.RenderOptions=AC.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});Z=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(H.Tree);AC=$ptrType(I.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(H.Context);AH=$ptrType(L.Lexer);AI=$ptrType(H.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(H.Options);AP=$sliceType(AE);AQ=$ptrType(AP);AR=$ptrType(F.Attribute);AS=$sliceType(AR);AT=$sliceType(G.Atom);AU=$sliceType($emptyInterface);AV=$ptrType(R);AW=$sliceType(Z);AY=$ptrType(A.Buffer);BA=$mapType($String,$emptyInterface);BB=$sliceType(D.NodeType);BC=$sliceType($Int32);BD=$mapType($String,$String);BE=$ptrType(O.Object);BF=$mapType($String,BE);BG=$mapType($String,BF);BH=$mapType(D.NodeType,I.ExtRendererFunc);R.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};R.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};R.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorDOM=function(c){return this.$val.SpinVditorDOM(c);};R.ptr.prototype.HTML2VditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorDOM2Md=function(c){return this.$val.vditorDOM2Md(c);};R.ptr.prototype.parseHTML=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=C.NewReader(c);g=F.Parse(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=-1;return AE.nil;}if(!("html"===h.FirstChild.Data)){$s=-1;return h;}$s=-1;return h.FirstChild.LastChild;}return;}var $f={$blk:R.ptr.prototype.parseHTML,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.parseHTML=function(c){return this.$val.parseHTML(c);};R.ptr.prototype.adjustVditorDOM=function(c){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.removeEmptyNodes(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.removeHighlightJSSpans(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}d.mergeVditorDOMList0(e);e=e.NextSibling;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}g=c.FirstChild;while(true){if(!(!(AE.nil===g))){break;}d.adjustVditorDOMListList(g);g=g.NextSibling;}h=c.FirstChild;case 3:if(!(!(AE.nil===h))){$s=4;continue;}$r=d.adjustVditorDOMListItemInP(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=3;continue;case 4:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.adjustVditorDOM=function(c){return this.$val.adjustVditorDOM(c);};R.ptr.prototype.adjustVditorDOMListList=function(c){var c,d,e,f,g,h,i;d=this;if(!((42754===c.DataAtom))&&!((79618===c.DataAtom))&&!((45570===c.DataAtom))){return;}if(45570===c.DataAtom){if(!(AE.nil===c.FirstChild)&&(514===c.FirstChild.DataAtom)){c.FirstChild.DataAtom=0;c.FirstChild.Data="\xE2\x80\x8B";e=c.NextSibling;if(!(AE.nil===c.NextSibling)&&(45570===c.NextSibling.DataAtom)){f=e.FirstChild;if(!(AE.nil===f)&&"\xE2\x80\xB8\xE2\x80\x8B"===f.Data){f.Data="\xE2\x80\xB8\n";}}}}else{if(!(AE.nil===c.Parent)&&((42754===c.Parent.DataAtom)||(79618===c.Parent.DataAtom))){g=c.PrevSibling;if(!(AE.nil===g)){c.Unlink();g.AppendChild(c);}}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}i=h.NextSibling;d.adjustVditorDOMListList(h);h=i;}};R.prototype.adjustVditorDOMListList=function(c){return this.$val.adjustVditorDOMListList(c);};R.ptr.prototype.removeHighlightJSSpans=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.hljsSpans(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeHighlightJSSpans,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeHighlightJSSpans=function(c){return this.$val.removeHighlightJSSpans(c);};R.ptr.prototype.hljsSpans=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;if((40708===c.DataAtom)&&C.HasPrefix(J.DomAttrValue(c,"class"),"hljs-")){$s=1;continue;}$s=2;continue;case 1:d.$set($append(d.$get(),c));f=J.DomText(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,g,"",AS.nil));case 2:h=c.FirstChild;case 4:if(!(!(h===AE.nil))){$s=5;continue;}$r=e.hljsSpans(h,d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.hljsSpans,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.hljsSpans=function(c,d){return this.$val.hljsSpans(c,d);};R.ptr.prototype.removeEmptyNodes=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.searchEmptyNodes(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeEmptyNodes=function(c){return this.$val.removeEmptyNodes(c);};R.ptr.prototype.searchEmptyNodes=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=c.DataAtom;if(f===(0)){$s=2;continue;}if(f===(40708)){$s=3;continue;}if((f===(449798))||(f===(257))||(f===(28162))||(f===(1537))||(f===(283139))||(f===(9473))||(f===(53766))||(f===(46596))){$s=4;continue;}if("katex"===J.DomAttrValue(c,"class")){$s=5;continue;}$s=6;continue;case 2:if(e.isInline(c.PrevSibling)||e.isInline(c.NextSibling)||e.isInline(c.Parent)){$s=1;continue;}if(1===c.Type){g=C.TrimLeft(c.Data," ");g=C.TrimRight(g," ");while(true){if(!(C.Contains(g,"\n\n"))){break;}g=C.ReplaceAll(g,"\n\n","");}if(""===g){d.$set($append(d.$get(),c));$s=-1;return;}}h=c.Parent;if(!(AE.nil===h)&&((79618===h.DataAtom)||(42754===h.DataAtom)||(45570===h.DataAtom))){$s=7;continue;}$s=8;continue;case 7:if(AE.nil===c.NextSibling||((1===c.NextSibling.Type)||(42754===c.NextSibling.DataAtom))){i=true;$s=11;continue s;}j=C.TrimSpace(c.Data);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(i){$s=9;continue;}$s=10;continue;case 9:c.Data=C.TrimRight(c.Data,"\n\t ");case 10:case 8:if(!(AE.nil===h)&&((365829===h.DataAtom)||(208901===h.DataAtom)||(9989===h.DataAtom)||(52226===h.DataAtom))){$s=13;continue;}$s=14;continue;case 13:k=C.TrimSpace(c.Data);$s=15;case 15:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}c.Data=k;case 14:if(""===c.Data){d.$set($append(d.$get(),c));}if(4===c.Type){d.$set($append(d.$get(),c));}$s=6;continue;case 3:l=c.LastChild;if(!(AE.nil===l)&&(514===l.DataAtom)){c.InsertAfter(l);}if(J.IsTempMarkSpan(c)){d.$set($append(d.$get(),c));m=AP.nil;n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}m=$append(m,n);n=n.NextSibling;}o=m;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);c.InsertBefore(q);p++;}$s=-1;return;}$s=6;continue;case 4:if(!(AE.nil===c.FirstChild)){if(514===c.FirstChild.DataAtom){d.$set($append(d.$get(),c.FirstChild));c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.FirstChild.Type){r=c.FirstChild.Data;s=e.prefixSpaces(r);if(!(""===s)){c.FirstChild.Data="\xE2\x80\x8B"+c.FirstChild.Data;}}}if(!(AE.nil===c.LastChild)){if(514===c.LastChild.DataAtom){d.$set($append(d.$get(),c.LastChild));c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.LastChild.Type){t=c.LastChild.Data;u=e.suffixSpaces(t);if(!(""===u)){c.FirstChild.Data=c.FirstChild.Data+"\xE2\x80\x8B";}}}$s=6;continue;case 5:d.$set($append(d.$get(),c));case 6:case 1:v=c.FirstChild;case 16:if(!(!(v===AE.nil))){$s=17;continue;}$r=e.searchEmptyNodes(v,d);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=16;continue;case 17:w=c.DataAtom;if((w===(79618))||(w===(42754))){$s=20;continue;}$s=21;continue;case 20:x=J.DomAttrValue(c,"data-type");if("footnotes-defs-ol"===x){$s=-1;return;}if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!((281349===c.FirstChild.FirstChild.DataAtom))){$s=-1;return;}y=J.DomText(c);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(""===z){d.$set($append(d.$get(),c));}case 21:case 19:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.searchEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.searchEmptyNodes=function(c,d){return this.$val.searchEmptyNodes(c,d);};R.ptr.prototype.mergeVditorDOMList0=function(c){var c,d,e,f,g,h;d=this;e=c.DataAtom;if((e===(42754))||(e===(79618))){if(!(AE.nil===c.NextSibling)&&(c.DataAtom===c.NextSibling.DataAtom)&&(1===c.NextSibling.Attr.$length)){f=c.NextSibling.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=f.NextSibling;f.Unlink();c.AppendChild(f);f=g;}c.NextSibling.Unlink();}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}d.mergeVditorDOMList0(h);h=h.NextSibling;}};R.prototype.mergeVditorDOMList0=function(c){return this.$val.mergeVditorDOMList0(c);};R.ptr.prototype.adjustVditorDOMListTight0=function(c){var c,d,e,f;d=this;e=c.DataAtom;if(e===(42754)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}else if(e===(79618)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}f=c.FirstChild;while(true){if(!(!(f===AE.nil))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}};R.prototype.adjustVditorDOMListTight0=function(c){return this.$val.adjustVditorDOMListTight0(c);};R.ptr.prototype.adjustVditorDOMListItemInP=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c.DataAtom;if(e===(45570)){$s=2;continue;}$s=3;continue;case 2:if(!(AE.nil===c.PrevSibling)&&J.DomAttrValue(c.PrevSibling,"data-node-id")===J.DomAttrValue(c,"data-node-id")){$s=4;continue;}$s=5;continue;case 4:f=c;g=D.NewNodeID();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=d.setDOMAttrValue(f,"data-node-id",h);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(AE.nil===c.PrevSibling)&&!(AE.nil===c.FirstChild)){$s=8;continue;}$s=9;continue;case 8:i=J.DomAttrValue(c.FirstChild,"data-node-id");if(!(""===i)&&!(AE.nil===c.PrevSibling.LastChild)&&J.DomAttrValue(c.PrevSibling.LastChild,"data-node-id")===i){$s=10;continue;}$s=11;continue;case 10:j=c.FirstChild;k=D.NewNodeID();$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=d.setDOMAttrValue(j,"data-node-id",l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:m=c.FirstChild;while(true){if(!(!(AE.nil===m))){break;}if(d.listItemEnter(c)){n=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\xE2\x80\xB8","",AS.nil));n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));c.FirstChild.Unlink();c.FirstChild.Unlink();c.AppendChild(n);m=n;m=m.NextSibling;continue;}if(!((3073===m.DataAtom))&&!((100106===m.DataAtom))&&!((42754===m.DataAtom))&&!((79618===m.DataAtom))&&!((92931===m.DataAtom))){o=d.forwardNextBlock(m);p=o[0];q=o[1];r=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);m.InsertBefore(r);s=p;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);u.Unlink();r.AppendChild(u);t++;}m=q;if(AE.nil===m){break;}}m=m.NextSibling;}case 3:case 1:v=c.FirstChild;case 14:if(!(!(v===AE.nil))){$s=15;continue;}$r=d.adjustVditorDOMListItemInP(v);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=14;continue;case 15:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOMListItemInP,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};R.prototype.adjustVditorDOMListItemInP=function(c){return this.$val.adjustVditorDOMListItemInP(c);};R.ptr.prototype.forwardNextBlock=function(c){var c,d,e,f,g,h;d=AP.nil;e=AE.nil;f=this;g=c;while(true){if(!(!(AE.nil===g))){break;}h=g.DataAtom;if((h===(79618))||(h===(42754))||(h===(92931))||(h===(100106))){return[d,e];}d=$append(d,g);g=g.NextSibling;}return[d,e];};R.prototype.forwardNextBlock=function(c){return this.$val.forwardNextBlock(c);};R.ptr.prototype.listItemEnter=function(c){var c,d;d=this;if(AE.nil===c.FirstChild){return false;}if("\xE2\x80\xB8"===c.FirstChild.Data&&"br"===c.LastChild.Data){return true;}return false;};R.prototype.listItemEnter=function(c){return this.$val.listItemEnter(c);};R.ptr.prototype.isTightList=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=0;g=0;h=0;i=0;j=f;k=g;l=h;m=i;n=e.FirstChild;while(true){if(!(!(AE.nil===n))){break;}o=n.DataAtom;if((o===(42754))||(o===(79618))){j=j+(1)>>0;}else if(o===(92931)){k=k+(1)>>0;}else if(o===(100106)){l=l+(1)>>0;}else if(o===(3073)){m=m+(1)>>0;}n=n.NextSibling;}if(1>0)||1<(m+l>>0)||1<(m+j>>0)){return"false";}e=e.NextSibling;}return"true";};R.prototype.isTightList=function(c){return this.$val.isTightList(c);};R.ptr.prototype.genASTByVditorDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-block"===g){$s=8;continue;}if("toc-block"===g){$s=9;continue;}$s=10;continue;case 6:h=c.FirstChild;case 11:if(!(!(h===AE.nil))){$s=12;continue;}$r=e.genASTByVditorDOM(h,d);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=11;continue;case 12:$s=10;continue;case 7:i=J.DomText(c);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(j))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(k);$s=10;continue;case 8:l=c.FirstChild;if(!((79618===l.DataAtom))){$s=15;continue;}$s=16;continue;case 15:$s=17;case 17:return;case 16:m=l.FirstChild;case 18:if(!(!(AE.nil===m))){$s=19;continue;}if("\n"===m.Data){m=m.NextSibling;$s=18;continue;}n=new A.Buffer.ptr(AD.nil,0,0);o=F.Render(n,m);$s=20;case 20:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if($interfaceIsEqual($ifaceNil,p)){$s=21;continue;}$s=22;continue;case 21:q=e.vditorDOM2Md("
      "+n.String()+"
    ");$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=J.DomAttrValue(m,"data-marker");r=$substring(r,3);t=C.Split(r,"\n");r="";u=t;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if(0=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))-48<<24>>>24)>>0));al=J.DomAttrValue(c,"data-marker");am=J.DomAttrValue(c,"data-id");if(!(""===am)){c.LastChild.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," {"+am+"}","",AS.nil));}ac.HeadingSetext="="===al||"-"===al;if(!ac.HeadingSetext){an=new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");an.Tokens=(new AD($stringToBytes(C.Repeat("#",ac.HeadingLevel))));ac.AppendChild(an);}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 30:ac.Type=4;d.Context.Tip.AppendChild(ac);$s=56;continue;case 31:ao=J.DomText(c);$s=69;case 69:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=C.TrimSpace(ao);$s=70;case 70:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(""===aq||">"===aq||"\xE2\x80\xB8"===aq){$s=71;continue;}$s=72;continue;case 71:$s=73;case 73:return;case 72:ac.Type=5;ac.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(">"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 32:if(AE.nil===c.FirstChild){$s=74;continue;}$s=75;continue;case 74:$s=76;case 76:return;case 75:ac.Type=7;ac.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ac.ListData.Typ=1;}ar=J.DomAttrValue(c,"data-tight");if("true"===ar||""===ar){ac.ListData.Tight=true;}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 33:ac.Type=8;as=J.DomAttrValue(c,"data-marker");at=0;if(""===as){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){au=J.DomAttrValue(c.Parent.FirstChild,"data-marker");av=J.DomAttrValue(c.Parent,"start");if(""===av){as="1";}else{as=av;}if(!(""===au)){as=as+($substring(au,(au.length-1>>0)));}else{as=as+(".");}}else{as=J.DomAttrValue(c.Parent,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===as||"-"===as||"+"===as){as="1.";}if(!("1."===as)&&!("1)"===as)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){as="1.";}if(!("1."===as)&&!("1)"===as)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){as="1.";}}else{if(!("*"===as)&&!("-"===as)&&!("+"===as)){as="*";}at=as.charCodeAt(0);}}else{as=J.DomAttrValue(c,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}ac.ListData=new D.ListData.ptr(0,false,at,0,0,0,0,false,(new AD($stringToBytes(as))),0);if(0===at){aw=B.Atoi(($encodeRune(as.charCodeAt(0))));ac.ListData.Num=aw[0];ac.ListData.Delimiter=as.charCodeAt((as.length-1>>0));}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 34:if(378116===c.FirstChild.DataAtom){ax=J.DomAttrValue(c.Parent,"data-marker");if(""===ax){ax="```";}ay=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){ay=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}az=J.DomAttrValue(c.Parent,"data-type");ba=az;if(ba===("math-block")){ac.Type=300;ac.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("yaml-front-matter")){ac.Type=425;ac.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("html-block")){ac.Type=9;ac.Tokens=ay;d.Context.Tip.AppendChild(ac);}else{ac.Type=11;ac.IsFencedCodeBlock=true;ac.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bb=J.DomAttrValue(c.FirstChild,"class");if(C.Contains(bb,"language-")){bc=$substring(bb,9);ac.LastChild.CodeBlockInfo=(new AD($stringToBytes(bc)));}bd=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ac.AppendChild(bd);ac.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}}$s=77;case 77:return;case 35:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}be=J.DomText(c);$s=81;case 81:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=C.TrimSpace(be);$s=82;case 82:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=e.isEmptyText(c);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}if(bh){$s=83;continue;}$s=84;continue;case 83:$s=86;case 86:return;case 84:if("\xE2\x80\xB8"===bg){$s=87;continue;}$s=88;continue;case 87:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=89;case 89:return;case 88:ac.Type=17;bi=J.DomAttrValue(c,"data-marker");if(""===bi){bi="*";}if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=90;continue;}$s=91;continue;case 90:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=92;case 92:return;case 91:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 36:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bj=J.DomText(c);$s=96;case 96:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=C.TrimSpace(bj);$s=97;case 97:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=bk;bm=e.isEmptyText(c);$s=100;case 100:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=98;continue;}$s=99;continue;case 98:$s=101;case 101:return;case 99:if("\xE2\x80\xB8"===bl){$s=102;continue;}$s=103;continue;case 102:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=104;case 104:return;case 103:ac.Type=22;bn=J.DomAttrValue(c,"data-marker");if(""===bn){bn="**";}if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=105;continue;}$s=106;continue;case 105:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=107;case 107:return;case 106:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 37:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=108;continue;}$s=109;continue;case 108:$s=110;case 110:return;case 109:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=111;case 111:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=112;case 112:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=115;case 115:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=113;continue;}$s=114;continue;case 113:$s=116;case 116:return;case 114:if("\xE2\x80\xB8"===bq){$s=117;continue;}$s=118;continue;case 117:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=119;case 119:return;case 118:ac.Type=101;bs=J.DomAttrValue(c,"data-marker");if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=120;continue;}$s=121;continue;case 120:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=122;case 122:return;case 121:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 38:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=123;continue;}$s=124;continue;case 123:$s=125;case 125:return;case 124:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bt=J.DomText(c);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=C.TrimSpace(bt);$s=127;case 127:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;bw=e.isEmptyText(c);$s=130;case 130:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}if(bw){$s=128;continue;}$s=129;continue;case 128:$s=131;case 131:return;case 129:if("\xE2\x80\xB8"===bv){$s=132;continue;}$s=133;continue;case 132:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=134;case 134:return;case 133:ac.Type=450;bx=J.DomAttrValue(c,"data-marker");if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=135;continue;}$s=136;continue;case 135:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=137;case 137:return;case 136:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 39:if(AE.nil===c.FirstChild){$s=138;continue;}$s=139;continue;case 138:$s=140;case 140:return;case 139:by=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===by){$s=141;continue;}$s=142;continue;case 141:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=143;case 143:return;case 142:if(""===by){$s=144;continue;}$s=145;continue;case 144:$s=146;case 146:return;case 145:bz=(new AD($stringToBytes(by)));if("html-inline"===g){$s=147;continue;}$s=148;continue;case 147:ac.Type=10;ac.Tokens=bz;d.Context.Tip.AppendChild(ac);$s=149;case 149:return;case 148:ca=J.DomAttrValue(c,"data-marker");if(""===ca){ca="`";}if(A.HasPrefix(bz,(new AD($stringToBytes("`"))))){bz=$appendSlice((new AD($stringToBytes(" "))),bz);bz=$append(bz,32);}ac.Type=27;ac.CodeMarkerLen=ca.length;ac.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bz,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=150;case 150:return;case 40:if(!(AE.nil===c.Parent)){$s=151;continue;}$s=152;continue;case 151:if(e.parentIs(c,new AT([37378,87554]))){$s=153;continue;}$s=154;continue;case 153:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=155;continue;}$s=156;continue;case 155:$s=157;case 157:return;case 156:if(AE.nil===c.NextSibling){$s=158;continue;}$s=159;continue;case 158:$s=160;case 160:return;case 159:ac.Type=10;ac.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ac);$s=161;case 161:return;case 154:if(3073===c.Parent.DataAtom){$s=162;continue;}$s=163;continue;case 162:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=164;continue;}$s=165;continue;case 164:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=166;case 166:return;case 165:if(!(AE.nil===c.Parent.Parent)&&!(AE.nil===c.Parent.Parent.NextSibling)&&(45570===c.Parent.Parent.NextSibling.DataAtom)){$s=167;continue;}$s=168;continue;case 167:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=169;case 169:return;case 168:case 163:case 152:ac.Type=31;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 41:if(c.FirstChild===AE.nil||(c.FirstChild.Type===1)){$s=170;continue;}$s=171;continue;case 170:cb=J.DomText(c);$s=172;case 172:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if(""===cc||"\xE2\x80\x8B"===cc){$s=173;continue;}$s=174;continue;case 173:$s=175;case 175:return;case 174:case 171:ac.Type=33;ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 42:cd=aa;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=176;continue;}$s=177;continue;case 176:ac.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(cf);$s=178;continue;case 177:if("link-ref"===g){$s=179;continue;}$s=180;continue;case 179:ac.Type=16;cg="!["+J.DomAttrValue(c,"alt")+"]["+J.DomAttrValue(c,"data-link-label")+"]";ac.Tokens=(new AD($stringToBytes(cg)));d.Context.Tip.AppendChild(ac);$s=181;case 181:return;case 180:ac.Type=34;ac.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===ce)){ac.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ce))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ch=J.DomAttrValue(c,"src");if(!(""===e.RenderOptions.LinkBase)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ch))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomAttrValue(c,"title");if(!(""===ci)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ci))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 178:d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 43:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=185;continue;}$s=186;continue;case 185:cj=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=187;case 187:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cj;$s=26;continue;case 186:ac.Type=100;ac.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ac);if(!(AF.nil===ac.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.ListData)){ac.Parent.Parent.ListData.Typ=3;}if(!(AF.nil===ac.Parent.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.Parent.ListData)){ac.Parent.Parent.Parent.ListData.Typ=3;}$s=56;continue;case 44:ac.Type=106;ck=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=188;continue;}$s=189;continue;case 188:$s=190;case 190:return;case 189:cl=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===cl))){break;}cm=J.DomAttrValue(cl,"align");cn=cm;if(cn===("left")){ck=$append(ck,1);}else if(cn===("center")){ck=$append(ck,2);}else if(cn===("right")){ck=$append(ck,3);}else{ck=$append(ck,0);}cl=cl.NextSibling;}ac.TableAligns=ck;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 45:ac.Type=107;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 46:$s=56;continue;case 47:ac.Type=108;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 48:ac.Type=109;co=J.DomAttrValue(c,"align");cp=0;cq=co;if(cq===("left")){cp=1;}else if(cq===("center")){cp=2;}else if(cq===("right")){cp=3;}else{cp=0;}ac.TableCellAlign=cp;ac.Tokens=AD.nil;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 49:if(AE.nil===c.FirstChild){$s=26;continue;}if("footnotes-ref"===g){ac.Type=16;ac.Tokens=(new AD($stringToBytes("["+J.DomAttrValue(c,"data-footnotes-label")+"]")));if(C.Contains(c.FirstChild.Data,"\xE2\x80\xB8")){ac.Tokens=$appendSlice(ac.Tokens,E.CaretTokens);}d.Context.Tip.AppendChild(ac);}$s=191;case 191:return;case 50:if(AE.nil===c.FirstChild){$s=26;continue;}if(C.Contains(aa,"vditor-comment")){$s=192;continue;}$s=193;continue;case 192:ac.Type=10;cr=new A.Buffer.ptr(AD.nil,0,0);cs=cr.WriteString("=ct.$length)?($throwRuntimeError("index out of range"),undefined):ct.$array[ct.$offset+cu]);cx=cr.WriteString(cw.Key);$s=197;case 197:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}cx;if(!(""===cw.Val)){$s=198;continue;}$s=199;continue;case 198:cy=cr.WriteString("=\"");$s=200;case 200:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=cr.WriteString(cw.Val);$s=201;case 201:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;da=cr.WriteString("\"");$s=202;case 202:if($c){$c=false;da=da.$blk();}if(da&&da.$blk!==undefined){break s;}da;case 199:if(cv<(c.Attr.$length-1>>0)){$s=203;continue;}$s=204;continue;case 203:db=cr.WriteString(" ");$s=205;case 205:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}db;case 204:cu++;$s=195;continue;case 196:dc=cr.WriteString(">");$s=206;case 206:if($c){$c=false;dc=dc.$blk();}if(dc&&dc.$blk!==undefined){break s;}dc;ac.Tokens=cr.Bytes();d.Context.Tip.AppendChild(ac);$s=26;continue;case 193:if("link-ref"===g){$s=207;continue;}$s=208;continue;case 207:ac.Type=16;dd="["+c.FirstChild.Data+"]["+J.DomAttrValue(c,"data-link-label")+"]";if(!(AE.nil===c.NextSibling)&&"2"===J.DomAttrValue(c.NextSibling,"data-render")){dd="!"+dd;}ac.Tokens=(new AD($stringToBytes(dd)));d.Context.Tip.AppendChild(ac);$s=209;case 209:return;case 208:de=AD.nil;if("\xE2\x80\x8B"===c.FirstChild.Data&&""===J.DomAttrValue(c,"style")&&!(AE.nil===c.FirstChild.NextSibling)){de=(new AD($stringToBytes(c.FirstChild.NextSibling.FirstChild.Data)));}else if(378116===c.FirstChild.DataAtom){de=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));if("\xE2\x80\x8B"===($bytesToString(de))){$s=26;continue;}}if("math-inline"===g){$s=210;continue;}if("html-inline"===g){$s=211;continue;}if("code-inline"===g){$s=212;continue;}if("html-entity"===g){$s=213;continue;}$s=214;continue;case 210:ac.Type=304;ac.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,de,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=215;case 215:return;case 211:ac.Type=10;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=216;case 216:return;case 212:ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=217;case 217:return;case 213:ac.Type=16;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=218;case 218:return;case 214:$s=26;continue;$s=56;continue;case 51:ac.Type=16;df=J.DomText(c);$s=219;case 219:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}ac.Tokens=(new AD($stringToBytes(df)));d.Context.Tip.AppendChild(ac);$s=220;case 220:return;case 52:ac.Type=9;dg=J.DomHTML(c);$s=221;case 221:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}ac.Tokens=dg;ac.Tokens=(dh=A.SplitAfter(ac.Tokens,(new AD($stringToBytes("")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ac);$s=56;continue;case 53:ac.Type=10;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ac.Tokens=di;d.Context.Tip.AppendChild(ac);$s=223;case 223:return;case 54:$s=224;case 224:return;case 55:ac.Type=9;dj=J.DomHTML(c);$s=225;case 225:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}ac.Tokens=dj;d.Context.Tip.AppendChild(ac);$s=226;case 226:return;case 56:case 26:dk=c.FirstChild;case 227:if(!(!(dk===AE.nil))){$s=228;continue;}$r=e.genASTByVditorDOM(dk,d);$s=229;case 229:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dk=dk.NextSibling;$s=227;continue;case 228:dl=c.DataAtom;if(dl===(40708)){if(C.Contains(aa,"vditor-comment")){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",10,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(28162))||(dl===(1537))){dm=J.DomAttrValue(c,"data-marker");if(""===dm){dm="*";}if("_"===dm){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(449798))||(dl===(257))){dn=J.DomAttrValue(c,"data-marker");if(""===dn){dn="**";}if("__"===dn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(1)){ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dp=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dp))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dq=J.DomAttrValue(c,"title");if(!(""===dq)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dq))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dl===(283139))||(dl===(9473))||(dl===(53766))){dr=J.DomAttrValue(c,"data-marker");if("~"===dr){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(46596)){ds=J.DomAttrValue(c,"data-marker");if("="===ds){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorDOM=function(c,d){return this.$val.genASTByVditorDOM(c,d);};R.ptr.prototype.hasAttr=function(c,d){var c,d,e,f,g,h;e=this;f=c.Attr;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key===d){return true;}g++;}return false;};R.prototype.hasAttr=function(c,d){return this.$val.hasAttr(c,d);};R.ptr.prototype.domChild=function(c,d){var c,d,e,f,g;e=this;if(AE.nil===c){return AE.nil;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild=function(c,d){return this.$val.domChild(c,d);};R.ptr.prototype.domChild0=function(c,d){var c,d,e,f,g;e=this;if(c.DataAtom===d){return c;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild0=function(c,d){return this.$val.domChild0(c,d);};R.ptr.prototype.setDOMAttrValue=function(c,d,e){var c,d,e,f,g,h,i;f=this;if(AE.nil===c){return;}g=c.Attr;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i.Key===d){i.Val=e;return;}h++;}c.Attr=$append(c.Attr,new F.Attribute.ptr("",d,e));};R.prototype.setDOMAttrValue=function(c,d,e){return this.$val.setDOMAttrValue(c,d,e);};R.ptr.prototype.parentIs=function(c,d){var c,d,e,f,g,h,i;e=this;f=c.Parent;while(true){if(!(!(AE.nil===f))){break;}g=d;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i===f.DataAtom){return true;}h++;}f=f.Parent;}return false;};R.prototype.parentIs=function(c,d){return this.$val.parentIs(c,d);};R.ptr.prototype.isCaret=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=false;e=false;f=this;g=J.DomText(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=C.TrimSpace(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(1>j.length&&1>0;while(true){if(!(f>=0)){break;}if((32===c.charCodeAt(f))||(160===c.charCodeAt(f))){d=d+(" ");}else{return d;}f=f-(1)>>0;}return d;};R.prototype.suffixSpaces=function(c){return this.$val.suffixSpaces(c);};R.ptr.prototype.SpinVditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=C.TrimSpace(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if("\xE2\x80\xB8"===f){$s=1;continue;}$s=2;continue;case 1:d=""+($bytesToString(I.NewlineSV));$s=-1;return d;case 2:g=H.Parse("",(new AD($stringToBytes(c))),e.ParseOptions);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewVditorSVRenderer(h,e.RenderOptions);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=C.ReplaceAll(($bytesToString(l)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.SpinVditorSVDOM=function(c){return this.$val.SpinVditorSVDOM(c);};R.ptr.prototype.HTML2VditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorSVRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorSVDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2VditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.Md2VditorSVDOM=function(c){return this.$val.Md2VditorSVDOM(c);};R.ptr.prototype.SpinVditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorIRDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorIRRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorIRDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorIRDOM=function(c){return this.$val.SpinVditorIRDOM(c);};R.ptr.prototype.HTML2VditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorIRRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorIRDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorIRDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorIRDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorIRDOM2Md=function(c){return this.$val.vditorIRDOM2Md(c);};R.ptr.prototype.genASTByVditorIRDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-def"===g){$s=8;continue;}if("footnotes-block"===g){$s=9;continue;}if("toc-block"===g){$s=10;continue;}$s=11;continue;case 6:if(("code-block"===g||"math-block"===g)&&!C.Contains(J.DomAttrValue(c.FirstChild,"data-type"),"-block-open-marker")){$s=13;continue;}$s=14;continue;case 13:h=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=J.DomText(c.FirstChild);$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(i))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(j);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$s=16;case 16:return;case 14:k=c.FirstChild;case 17:if(!(!(k===AE.nil))){$s=18;continue;}$r=e.genASTByVditorIRDOM(k,d);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=17;continue;case 18:$s=12;continue;case 7:l=J.DomText(c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(m))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(n);$s=12;continue;case 8:o=c.FirstChild;case 21:if(!(!(o===AE.nil))){$s=22;continue;}$r=e.genASTByVditorIRDOM(o,d);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o.NextSibling;$s=21;continue;case 22:$s=12;continue;case 9:p=c.FirstChild;case 24:if(!(!(AE.nil===p))){$s=25;continue;}q=new A.Buffer.ptr(AD.nil,0,0);r=F.Render(q,p);$s=26;case 26:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if($interfaceIsEqual($ifaceNil,s)){$s=27;continue;}$s=28;continue;case 27:t=e.vditorIRDOM2Md(q.String());$s=29;case 29:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=C.Split(u,"\n");u="";w=v;x=0;while(true){if(!(x=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]);if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 38:if(AE.nil===c.FirstChild){$s=94;continue;}$s=95;continue;case 94:$s=96;case 96:return;case 95:ag.Type=7;ag.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ag.ListData.Typ=1;}ba=J.DomAttrValue(c,"data-tight");if("true"===ba||""===ba){ag.ListData.Tight=true;}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 39:bb=c.FirstChild;if(!(AE.nil===bb)&&(3073===bb.DataAtom)&&!(AE.nil===bb.NextSibling)&&(3073===bb.NextSibling.DataAtom)){d.Context.Tip.ListData.Tight=false;}ag.Type=8;bc=J.DomAttrValue(c,"data-marker");bd=0;if(""===bc){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){be=J.DomAttrValue(c.Parent.FirstChild,"data-marker");bf=J.DomAttrValue(c.Parent,"start");if(""===bf){bc="1";}else{bc=bf;}if(!(""===be)){bc=bc+($substring(be,(be.length-1>>0)));}else{bc=bc+(".");}}else{bc=J.DomAttrValue(c.Parent,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===bc||"-"===bc||"+"===bc){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){bc="1.";}}else{if(!("*"===bc)&&!("-"===bc)&&!("+"===bc)){bc="*";}bd=bc.charCodeAt(0);}}else{bc=J.DomAttrValue(c,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}ag.ListData=new D.ListData.ptr(0,false,bd,0,0,0,0,false,(new AD($stringToBytes(bc))),0);if(0===bd){bg=B.Atoi($substring(bc,0,(bc.length-1>>0)));ag.ListData.Num=bg[0];ag.ListData.Delimiter=bc.charCodeAt((bc.length-1>>0));}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 40:if(378116===c.FirstChild.DataAtom){bh=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){bh=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}bi=J.DomAttrValue(c.Parent,"data-type");bj=bi;if(bj===("math-block")){ag.Type=302;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("html-block")){ag.Type=9;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("yaml-front-matter")){ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bh,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);}else{ag.Type=15;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}}$s=97;case 97:return;case 41:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=98;continue;}$s=99;continue;case 98:$s=100;case 100:return;case 99:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bk=J.DomText(c);$s=101;case 101:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=C.TrimSpace(bk);$s=102;case 102:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;bn=e.isEmptyText(c);$s=105;case 105:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(bn){$s=103;continue;}$s=104;continue;case 103:$s=106;case 106:return;case 104:if("\xE2\x80\xB8"===bm){$s=107;continue;}$s=108;continue;case 107:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=109;case 109:return;case 108:ag.Type=17;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 42:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=110;continue;}$s=111;continue;case 110:$s=112;case 112:return;case 111:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=114;case 114:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=117;case 117:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=115;continue;}$s=116;continue;case 115:$s=118;case 118:return;case 116:if("\xE2\x80\xB8"===bq){$s=119;continue;}$s=120;continue;case 119:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=121;case 121:return;case 120:ag.Type=22;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 43:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=122;continue;}$s=123;continue;case 122:$s=124;case 124:return;case 123:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bs=J.DomText(c);$s=125;case 125:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=C.TrimSpace(bs);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=e.isEmptyText(c);$s=129;case 129:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=127;continue;}$s=128;continue;case 127:$s=130;case 130:return;case 128:if("\xE2\x80\xB8"===bu){$s=131;continue;}$s=132;continue;case 131:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=133;case 133:return;case 132:ag.Type=101;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 44:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=134;continue;}$s=135;continue;case 134:$s=136;case 136:return;case 135:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bw=J.DomText(c);$s=137;case 137:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=C.TrimSpace(bw);$s=138;case 138:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=bx;bz=e.isEmptyText(c);$s=141;case 141:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(bz){$s=139;continue;}$s=140;continue;case 139:$s=142;case 142:return;case 140:if("\xE2\x80\xB8"===by){$s=143;continue;}$s=144;continue;case 143:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=145;case 145:return;case 144:ag.Type=450;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 45:if(AE.nil===c.FirstChild){$s=146;continue;}$s=147;continue;case 146:$s=148;case 148:return;case 147:ca=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===ca){$s=149;continue;}$s=150;continue;case 149:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=151;case 151:return;case 150:if(""===ca){$s=152;continue;}$s=153;continue;case 152:$s=154;case 154:return;case 153:cb=(new AD($stringToBytes(ca)));cc=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cb,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ag.Type=27;ag.AppendChild(cc);d.Context.Tip.AppendChild(ag);$s=155;case 155:return;case 46:if(!(AE.nil===c.Parent)){$s=156;continue;}$s=157;continue;case 156:if(e.parentIs(c,new AT([37378,87554]))){$s=158;continue;}$s=159;continue;case 158:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=160;continue;}$s=161;continue;case 160:$s=162;case 162:return;case 161:if(AE.nil===c.NextSibling){$s=163;continue;}$s=164;continue;case 163:$s=165;case 165:return;case 164:ag.Type=10;ag.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ag);$s=166;case 166:return;case 159:if(3073===c.Parent.DataAtom){$s=167;continue;}$s=168;continue;case 167:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=169;continue;}$s=170;continue;case 169:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=171;case 171:return;case 170:case 168:case 157:ag.Type=31;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 47:ag.Type=33;ag.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 48:cd=ae;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=172;continue;}$s=173;continue;case 172:ag.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(cf);d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=174;continue;case 173:$s=175;case 175:return;case 174:$s=62;continue;case 49:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=176;continue;}$s=177;continue;case 176:$s=178;case 178:return;case 177:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=179;continue;}$s=180;continue;case 179:cg=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=181;case 181:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cg;$s=32;continue;case 180:ag.Type=100;ag.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ag);if(!(AF.nil===ag.Parent.Parent.Parent)&&!(AL.nil===ag.Parent.Parent.Parent.ListData)){ag.Parent.Parent.Parent.ListData.Typ=3;}$s=62;continue;case 50:ag.Type=106;ch=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:ci=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ci))){break;}cj=J.DomAttrValue(ci,"align");ck=cj;if(ck===("left")){ch=$append(ch,1);}else if(ck===("center")){ch=$append(ch,2);}else if(ck===("right")){ch=$append(ch,3);}else{ch=$append(ch,0);}ci=ci.NextSibling;}ag.TableAligns=ch;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 51:ag.Type=107;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 52:$s=62;continue;case 53:ag.Type=108;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 54:ag.Type=109;cl=J.DomAttrValue(c,"align");cm=0;cn=cl;if(cn===("left")){cm=1;}else if(cn===("center")){cm=2;}else if(cn===("right")){cm=3;}else{cm=0;}ag.TableCellAlign=cm;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 55:if(AE.nil===c.FirstChild){$s=32;continue;}if("footnotes-ref"===g){$s=185;continue;}$s=186;continue;case 185:ag.Type=16;co=J.DomText(c);$s=187;case 187:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(co)));d.Context.Tip.AppendChild(ag);case 186:$s=188;case 188:return;case 56:cp=g;if(cp===("inline-node")||cp===("em")||cp===("strong")||cp===("s")||cp===("a")||cp===("link-ref")||cp===("img")||cp===("code")||cp===("heading-id")||cp===("html-inline")||cp===("inline-math")||cp===("html-entity")){$s=190;continue;}if(cp===("math-block-close-marker")){$s=191;continue;}if(cp===("math-block-open-marker")){$s=192;continue;}if(cp===("yaml-front-matter-close-marker")){$s=193;continue;}if(cp===("yaml-front-matter-open-marker")){$s=194;continue;}if(cp===("code-block-open-marker")){$s=195;continue;}if(cp===("code-block-info")){$s=196;continue;}if(cp===("code-block-close-marker")){$s=197;continue;}if(cp===("heading-marker")){$s=198;continue;}$s=199;continue;case 190:ag.Type=16;cq=J.DomText(c);$s=200;case 200:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(cq)));d.Context.Tip.AppendChild(ag);$s=201;case 201:return;case 191:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=202;case 202:return;case 192:ag.Type=300;ag.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=203;case 203:return;case 193:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=204;case 204:return;case 194:ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=205;case 205:return;case 195:if(290819===c.NextSibling.DataAtom){c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,40708,"","",new AS([new F.Attribute.ptr("","data-type","code-block-info")])));}cr=J.DomText(c);$s=206;case 206:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=(new AD($stringToBytes(cr)));ct=A.LastIndex(cs,(new AD($stringToBytes("`"))))+1>>0;if(0>0;if(0")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ag);$s=62;continue;case 59:$s=62;continue;case 60:$s=221;case 221:return;case 61:ag.Type=9;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ag.Tokens=di;d.Context.Tip.AppendChild(ag);$s=223;case 223:return;case 62:case 32:dj=c.FirstChild;case 224:if(!(!(dj===AE.nil))){$s=225;continue;}$r=e.genASTByVditorIRDOM(dj,d);$s=226;case 226:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj=dj.NextSibling;$s=224;continue;case 225:dk=c.DataAtom;if(dk===(1)){ag.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dl=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkPrefix,"");}ag.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dm=J.DomAttrValue(c,"title");if(!(""===dm)){ag.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ag.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dk===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorIRDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorIRDOM=function(c,d){return this.$val.genASTByVditorIRDOM(c,d);};R.ptr.prototype.SpinBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.blockDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g=C.ReplaceAll(g,"\xE2\x80\x8B","");h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=i.Root.FirstChild;k=i.Root.LastChild.Previous;if((1===j.Type)&&""===j.ID&&!(AF.nil===k)&&!(j===k.Previous)&&(455===k.Type)){l=k.Previous.ID;m="";j.ID=l;k.Previous.ID=m;n=k.Previous.KramdownIAL;o=AN.nil;j.KramdownIAL=n;k.Previous.KramdownIAL=o;j.InsertAfter(k);}if((455===j.Type)&&!(AF.nil===j.Next)&&(455===j.Next.Type)&&J.IsDocIAL(j.Next.Tokens)){p=H.Tokens2IAL(j.Tokens);q=H.IAL2Map(p);s=new D.Node.ptr((r=$mapIndex(q,$String.keyFor("id")),r!==undefined?r.v:""),"","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,p,false,"","","","","","","","","","","",0,"");j.InsertBefore(s);}$r=H.NestedInlines2FlattedSpansHybrid(i,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=e.Tree2BlockDOM(i,e.RenderOptions);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.SpinBlockDOM=function(c){return this.$val.SpinBlockDOM(c);};R.ptr.prototype.HTML2BlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewProtyleRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2BlockDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);o.Unlink();n++;}p=d[0];q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);j.Root.AppendChild(r);q++;}s=I.NewProtyleRenderer(j,f.RenderOptions);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t.BaseRenderer.Render();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;e=J.BytesToStr(v);w=C.TrimSpace(e);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}e=w;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2InlineBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};R.prototype.BlockDOM2InlineBlockDOM=function(c){return this.$val.BlockDOM2InlineBlockDOM(c);};R.ptr.prototype.Md2BlockDOM=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;h=f.Md2BlockDOMTree(c,d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Md2BlockDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.Md2BlockDOM=function(c,d){return this.$val.Md2BlockDOM(c,d);};R.ptr.prototype.Md2BlockDOMTree=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=AB.nil;g=this;h=H.Parse("",(new AD($stringToBytes(c))),g.ParseOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;$r=H.NestedInlines2FlattedSpansHybrid(f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d){$s=3;continue;}$s=4;continue;case 3:$r=D.Walk(f.Root,(function(i,j){var i,j,k;if(!j){return 2;}if(i.IsEmptyBlockIAL()){k=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=H.Tokens2IAL(i.Tokens);k.ID=k.IALAttr("id");i.InsertBefore(k);return 2;}return 2;}));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:i=I.NewProtyleRenderer(f,g.RenderOptions);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=g.Md2BlockDOMRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l");$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Tree2BlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Tree2BlockDOM=function(c,d){return this.$val.Tree2BlockDOM(c,d);};R.ptr.prototype.RenderNodeBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;f=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");g=new H.Tree.ptr(f,new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h=I.NewProtyleRenderer(g,e.RenderOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d[0]=h;i=e.Md2BlockDOMRendererFuncs;j=0;k=i?i.keys():undefined;l=i?i.size:0;while(true){if(!(j\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"`","`");c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=0;g=0;h=f;i=g;j=c;k=0;while(true){if(!(k>0;}else{break;}k+=l[1];}n=c.length-1>>0;while(true){if(!(n>=0)){break;}if(32===c.charCodeAt(n)){i=i+(1)>>0;}else{break;}n=n-(1)>>0;}o=C.TrimSpace(c);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}c=o;c=C.Repeat(" ",h)+c+C.Repeat(" ",i);c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");p=d[0].parseHTML(c);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(AE.nil===q){$s=-1;return e;}$r=d[0].adjustVditorDOM(q);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,d[0].ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tip=e.Root;r=q.FirstChild;case 4:if(!(!(AE.nil===r))){$s=5;continue;}$r=d[0].genASTByBlockDOM(r,e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=r.NextSibling;$s=4;continue;case 5:$r=D.Walk(e.Root,(function(d){return function $b(s,t){var{s,t,u,$s,$r,$c}=$restore(this,{s,t});$s=$s||0;s:while(true){switch($s){case 0:if(t){$s=1;continue;}$s=2;continue;case 1:u=s.Type;if((u===(10))||(u===(9))||(u===(29))||(u===(15))||(u===(306))||(u===(302))||(u===(27))||(u===(304))){$s=4;continue;}if((u===(22))||(u===(17))||(u===(101))||(u===(520))){$s=5;continue;}if(u===(530)){$s=6;continue;}if(u===(16)){$s=7;continue;}$s=8;continue;case 4:if(!(AF.nil===s.Next)&&(27===s.Next.Type)&&(s.CodeMarkerLen===s.Next.CodeMarkerLen)&&!(AF.nil===s.FirstChild)&&!(AF.nil===s.FirstChild.Next)){s.FirstChild.Next.Tokens=$appendSlice(s.FirstChild.Next.Tokens,s.Next.FirstChild.Next.Tokens);s.Next.Unlink();}$s=8;continue;case 5:d[0].MergeSameSpan(s);$s=8;continue;case 6:$r=d[0].MergeSameTextMark(s);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:s.Tokens=A.ReplaceAll(s.Tokens,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 8:case 3:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,s,t,u,$s};return $f;};})(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2Tree,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.BlockDOM2Tree=function(c){return this.$val.BlockDOM2Tree(c);};R.ptr.prototype.MergeSameTextMark=function(c){var{aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(AF.nil===c.Previous){$s=-1;return;}e=false;f=false;if(456===c.Previous.Type){$s=1;continue;}$s=2;continue;case 1:if(AF.nil===c.Next||!((456===c.Next.Type))||AF.nil===c.Previous.Previous){$s=-1;return;}if(!A.Equal(c.Previous.Tokens,c.Next.Tokens)){$s=-1;return;}g=c.IsSameTextMarkType(c.Previous.Previous);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:e=true;$s=3;continue;case 2:if(!((16===c.Previous.Type)&&!C.Contains(c.Previous.TokensStr()," ")&&!C.Contains(c.Previous.TokensStr(),"\n"))){i=false;$s=11;continue s;}j=C.TrimSpace(C.ReplaceAll(c.Previous.TokensStr(),"\xE2\x80\x8B",""));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(!(i&&!(AF.nil===c.Previous.Previous))){h=false;$s=10;continue s;}k=c.IsSameTextMarkType(c.Previous.Previous);$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;case 10:if(h){$s=7;continue;}$s=8;continue;case 7:f=true;$s=9;continue;case 8:if(!((c.Type===c.Previous.Type))){l=true;$s=16;continue s;}m=c.IsSameTextMarkType(c.Previous);$s=17;case 17:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=!m;case 16:if(l){$s=14;continue;}$s=15;continue;case 14:$s=-1;return;case 15:case 9:case 3:n=C.Split(c.TextMarkType," ");o=$makeMap($String.keyFor,[]);p=n;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);s=r;(o||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(s),{k:s,v:true});q++;}t=AJ.nil;u=o;v=0;w=u?u.keys():undefined;x=u?u.size:0;while(true){if(!(v=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);$mapDelete(o,$String.keyFor(ae));ad++;}if(0<(o?o.size:0)){$s=-1;return;}if(e||f){c.TextMarkTextContent=c.Previous.Previous.TextMarkTextContent+c.TextMarkTextContent;c.Previous.Previous.Unlink();}else{c.TextMarkTextContent=c.Previous.TextMarkTextContent+c.TextMarkTextContent;}c.Previous.Unlink();$r=c.SortTextMarkDataTypes();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.MergeSameTextMark,$c:true,$r,aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.MergeSameTextMark=function(c){return this.$val.MergeSameTextMark(c);};R.ptr.prototype.MergeSameSpan=function(c){var c,d,e,f,g,h,i;d=this;if(AF.nil===c.Next||!((c.Type===c.Next.Type))){return;}if(!(AF.nil===c.Next.Next)&&(456===c.Next.Next.Type)){return;}e=AK.nil;c.Next.FirstChild.Unlink();c.Next.LastChild.Unlink();f=c.Next.FirstChild;while(true){if(!(!(AF.nil===f))){break;}e=$append(e,f);f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);c.LastChild.InsertBefore(i);h++;}c.Next.Unlink();};R.prototype.MergeSameSpan=function(c){return this.$val.MergeSameSpan(c);};R.ptr.prototype.CancelSuperBlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((475===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}i=$append(i,j);j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);g.Root.AppendChild(m);l++;}h.Unlink();n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelSuperBlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.CancelSuperBlock=function(c){return this.$val.CancelSuperBlock(c);};R.ptr.prototype.CancelList=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((7===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}n=m.FirstChild;while(true){if(!(!(AF.nil===n))){break;}if(!((100===n.Type))){k=$append(k,n);}n=n.Next;}l=$append(l,m);m=m.Next;}o=k;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);g.Root.AppendChild(q);p++;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}h.Unlink();u=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}d=u;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelList,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};R.prototype.CancelList=function(c){return this.$val.CancelList(c);};R.ptr.prototype.CancelBlockquote=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((5===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}if(!((6===m.Type))){k=$append(k,m);}l=$append(l,m);m=m.Next;}n=k;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);g.Root.AppendChild(p);o++;}h.Unlink();q=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}d=q;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelBlockquote,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};R.prototype.CancelBlockquote=function(c){return this.$val.CancelBlockquote(c);};R.ptr.prototype.Blocks2Ps=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h;while(true){if(!(!(AF.nil===m))){break;}n=m.Type;if(n===(2)){m.Type=1;}else if(n===(5)){o=m.FirstChild;while(true){if(!(!(AF.nil===o))){break;}if(6===o.Type){l=$append(l,o);o=o.Next;continue;}k=$append(k,o);o=o.Next;}l=$append(l,m);}else if(n===(7)){p=m.FirstChild;while(true){if(!(!(AF.nil===p))){break;}q=p.FirstChild;while(true){if(!(!(AF.nil===q))){break;}if(!((100===q.Type))){k=$append(k,q);}q=q.Next;}l=$append(l,p);p=p.Next;}l=$append(l,m);}m=m.Next;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}u=k;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);g.Root.AppendChild(w);v++;}x=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}d=x;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Blocks2Ps,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};R.prototype.Blocks2Ps=function(c){return this.$val.Blocks2Ps(c);};R.ptr.prototype.Blocks2Hs=function(c,d){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;g=f.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.Root.FirstChild;j=i;while(true){if(!(!(AF.nil===j))){break;}if((1===j.Type)||(2===j.Type)){j.Type=2;k=B.Atoi(d);j.HeadingLevel=k[0];}j=j.Next;}l=f.Tree2BlockDOM(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}e=l;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Blocks2Hs,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.Blocks2Hs=function(c,d){return this.$val.Blocks2Hs(c,d);};R.ptr.prototype.OL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.OL2TL=function(c){return this.$val.OL2TL(c);};R.ptr.prototype.UL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.UL2TL=function(c){return this.$val.UL2TL(c);};R.ptr.prototype.TL2OL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=AK.nil;k=h.FirstChild;while(true){if(!(!(AF.nil===k))){break;}if(455===k.Type){k=k.Next;continue;}j=$append(j,k.FirstChild);k.ListData.Typ=1;k.ListData.Num=i;i=i+(1)>>0;k=k.Next;}l=j;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n.Unlink();m++;}o=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}d=o;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.TL2OL=function(c){return this.$val.TL2OL(c);};R.ptr.prototype.TL2UL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}i=$append(i,j.FirstChild);j.ListData.Typ=0;j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);m.Unlink();l++;}n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2UL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.TL2UL=function(c){return this.$val.TL2UL(c);};R.ptr.prototype.OL2UL=function(c){var{c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=h.FirstChild;while(true){if(!(!(AF.nil===i))){break;}if(455===i.Type){i=i.Next;continue;}i.ListData.Typ=0;i=i.Next;}j=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2UL,$c:true,$r,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.OL2UL=function(c){return this.$val.OL2UL(c);};R.ptr.prototype.UL2OL=function(c){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}j.ListData.Typ=1;j.ListData.Num=i;i=i+(1)>>0;j=j.Next;}k=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.UL2OL=function(c){return this.$val.UL2OL(c);};R.ptr.prototype.blockDOM2Md=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=I.NewOptions();h.AutoSpace=false;h.FixTermTypo=false;h.KramdownBlockIAL=true;h.KramdownSpanIAL=true;h.KeepParagraphBeginningSpace=true;h.ProtyleWYSIWYG=true;h.SuperBlock=true;i=I.NewFormatRenderer(g,h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=($bytesToString(l));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.blockDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.blockDOM2Md=function(c){return this.$val.blockDOM2Md(c);};R.ptr.prototype.genASTByBlockDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"class");if("protyle-attr"===f||C.Contains(f,"__copy")||C.Contains(f,"protyle-linenumber__rows")){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if("1"===J.DomAttrValue(c,"spin")){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:if(C.Contains(f,"protyle-action")){$s=7;continue;}$s=8;continue;case 7:if(11===d.Context.Tip.Type){$s=9;continue;}if(8===d.Context.Tip.Type){$s=10;continue;}$s=11;continue;case 9:g=c.FirstChild;h="";if(!(AE.nil===g.FirstChild)){h=g.FirstChild.Data;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(h),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i=J.DomText(c.NextSibling);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasSuffix(j,"\n\n\xE2\x80\xB8")){j=C.TrimSuffix(j,"\n\n\xE2\x80\xB8");j=j+("\n\xE2\x80\xB8\n");}k=C.Split(j,"\n");l=new A.Buffer.ptr(AD.nil,0,0);m=k;n=0;case 13:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(C.Contains(p,"```")){p=C.ReplaceAll(p,"```","\xE2\x80\x8D```");}else{p=C.ReplaceAll(p,"\xE2\x80\x8D","");}q=l.WriteString(p);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o<(k.$length-1>>0)){$s=16;continue;}$s=17;continue;case 16:r=l.WriteByte(10);$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 17:n++;$s=13;continue;case 14:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,l.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=11;continue;case 10:if(3===d.Context.Tip.ListData.Typ){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,C.Contains(J.DomAttrValue(c.Parent,"class"),"protyle-task--done"),AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 11:$s=19;case 19:return;case 8:if("true"===J.DomAttrValue(c,"contenteditable")){$s=20;continue;}$s=21;continue;case 20:$r=e.genASTContenteditable(c,d);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;case 23:return;case 21:s=D.Str2NodeType(J.DomAttrValue(c,"data-type"));$s=24;case 24:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=J.DomAttrValue(c,"data-node-id");v=new D.Node.ptr(u,"","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");if(!(""===v.ID)&&!e.parentIs(c,new AT([365829]))){$s=25;continue;}$s=26;continue;case 25:v.KramdownIAL=new AN([new AJ(["id",v.ID])]);w=e.setBlockIAL(c,v);$s=27;case 27:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=new D.Node.ptr("","","","",455,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,x,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");$deferred.push([$methodVal(d.Context,"TipAppendChild"),[y]]);case 26:z=t;if(z===(465)){$s=29;continue;}if(z===(106)){$s=30;continue;}if(z===(1)){$s=31;continue;}if(z===(2)){$s=32;continue;}if(z===(5)){$s=33;continue;}if(z===(7)){$s=34;continue;}if(z===(8)){$s=35;continue;}if(z===(495)){$s=36;continue;}if(z===(475)){$s=37;continue;}if(z===(300)){$s=38;continue;}if(z===(11)){$s=39;continue;}if(z===(9)){$s=40;continue;}if(z===(425)){$s=41;continue;}if(z===(4)){$s=42;continue;}if(z===(500)){$s=43;continue;}if(z===(535)){$s=44;continue;}if(z===(510)){$s=45;continue;}if(z===(505)){$s=46;continue;}if(z===(550)){$s=47;continue;}if(z===(560)){$s=48;continue;}$s=49;continue;case 29:v.Type=465;v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));aa=J.DomAttrValue(c,"data-content");aa=C.ReplaceAll(aa,"\n","_esc_newline_");v.AppendChild(new D.Node.ptr("","","","",468,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aa),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=51;case 51:return;case 30:v.Type=106;ab=AM.nil;if(AE.nil===c.FirstChild){$s=52;continue;}$s=53;continue;case 52:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=54;case 54:return;case 53:if(e.parentIs(c,new AT([365829]))){$s=55;continue;}$s=56;continue;case 55:ac=J.DomText(c);$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=C.TrimSpace(ad);$s=58;case 58:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(ae)));d.Context.Tip.AppendChild(v);$s=59;case 59:return;case 56:af=c.FirstChild;ag=e.domChild(af,365829);if(AE.nil===ag){$s=60;continue;}$s=61;continue;case 60:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=62;case 62:return;case 61:ah=e.domChild(ag,208901);if(AE.nil===ah||AE.nil===ah.FirstChild||AE.nil===ah.FirstChild.FirstChild){$s=63;continue;}$s=64;continue;case 63:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=65;case 65:return;case 64:ai=ah.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}aj=J.DomAttrValue(ai,"align");ak=aj;if(ak===("left")){ab=$append(ab,1);}else if(ak===("center")){ab=$append(ab,2);}else if(ak===("right")){ab=$append(ab,3);}else{ab=$append(ab,0);}ai=ai.NextSibling;}v.TableAligns=ab;v.Tokens=AD.nil;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$r=e.genASTContenteditable(ag,d);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=67;case 67:return;case 31:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 32:al=J.DomText(c);$s=68;case 68:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(e.parentIs(c,new AT([365829]))){$s=69;continue;}$s=70;continue;case 69:an=C.TrimSpace(am);$s=71;case 71:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(an)));while(true){if(!(A.HasPrefix(v.Tokens,(new AD($stringToBytes("#")))))){break;}v.Tokens=A.TrimPrefix(v.Tokens,(new AD($stringToBytes("#"))));}d.Context.Tip.AppendChild(v);$s=72;case 72:return;case 70:ao=$substring(J.DomAttrValue(c,"data-subtype"),1);ap=C.TrimPrefix(am," ");if(C.HasPrefix(ap,"#")){$s=73;continue;}$s=74;continue;case 73:aq=C.Index(ap," \xE2\x80\xB8");if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 34:v.Type=7;ax=J.DomAttrValue(c,"data-marker");v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);ay=J.DomAttrValue(c,"data-subtype");if("u"===ay){v.ListData.Typ=0;}else if("o"===ay){v.ListData.Typ=1;}else if("t"===ay){v.ListData.Typ=3;}v.ListData.Marker=(new AD($stringToBytes(ax)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 35:az=J.DomAttrValue(c,"data-marker");if(!((7===d.Context.Tip.Type))){ba=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ba.Type=7;ba.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bb=J.DomAttrValue(c,"data-subtype");if("u"===bb){ba.ListData.Typ=0;ba.ListData.BulletChar=42;}else if("o"===bb){ba.ListData.Typ=1;bc=B.Atoi($substring(az,0,(az.length-1>>0)));ba.ListData.Num=bc[0];ba.ListData.Delimiter=46;}else if("t"===bb){ba.ListData.Typ=3;ba.ListData.BulletChar=42;}d.Context.Tip.AppendChild(ba);d.Context.Tip=ba;}v.Type=8;v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bd=J.DomAttrValue(c,"data-subtype");if("u"===bd){v.ListData.Typ=0;v.ListData.BulletChar=42;}else if("o"===bd){v.ListData.Typ=1;be=B.Atoi($substring(az,0,(az.length-1>>0)));v.ListData.Num=be[0];v.ListData.Delimiter=46;}else if("t"===bd){v.ListData.Typ=3;v.ListData.BulletChar=42;}v.ListData.Marker=(new AD($stringToBytes(az)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 36:v.Type=495;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 37:v.Type=475;d.Context.Tip.AppendChild(v);v.AppendChild(new D.Node.ptr("","","","",476,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=J.DomAttrValue(c,"data-sb-layout");v.AppendChild(new D.Node.ptr("","","","",477,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bf))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 38:v.Type=300;v.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"data-content");bg=F.UnescapeHTMLStr(bg);v.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=80;case 80:return;case 39:v.Type=11;v.IsFencedCodeBlock=true;v.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(c,"data-subtype");if(!(""===bh)){$s=81;continue;}$s=82;continue;case 81:v.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(bh),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(c,"data-content");v.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=83;case 83:return;case 82:d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 40:v.Type=9;bj=J.DomAttrValue(c.FirstChild.NextSibling.FirstChild,"data-content");bj=F.UnescapeHTMLStr(bj);v.Tokens=J.StrToBytes(bj);d.Context.Tip.AppendChild(v);$s=84;case 84:return;case 41:v.Type=425;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 42:v.Type=4;d.Context.Tip.AppendChild(v);$s=85;case 85:return;case 43:v.Type=500;c=e.domChild(c.FirstChild,195590);bk=J.DomHTML(c);$s=86;case 86:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}v.Tokens=bk;d.Context.Tip.AppendChild(v);$s=87;case 87:return;case 44:v.Type=535;c=e.domChild(c.FirstChild,195590);bl=J.DomHTML(c);$s=88;case 88:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}v.Tokens=bl;d.Context.Tip.AppendChild(v);$s=89;case 89:return;case 45:v.Type=510;c=e.domChild(c.FirstChild,192773);bm=J.DomHTML(c);$s=90;case 90:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}v.Tokens=bm;d.Context.Tip.AppendChild(v);$s=91;case 91:return;case 46:v.Type=505;c=e.domChild(c.FirstChild,70917);bn=J.DomHTML(c);$s=92;case 92:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}v.Tokens=bn;d.Context.Tip.AppendChild(v);$s=93;case 93:return;case 47:v.Type=550;v.AttributeViewID=J.DomAttrValue(c,"data-av-id");if(""===v.AttributeViewID){$s=94;continue;}$s=95;continue;case 94:bo=D.NewNodeID();$s=96;case 96:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}v.AttributeViewID=bo;case 95:v.AttributeViewType=J.DomAttrValue(c,"data-av-type");d.Context.Tip.AppendChild(v);$s=97;case 97:return;case 48:v.Type=560;v.CustomBlockInfo=J.DomAttrValue(c,"data-info");v.Tokens=(new AD($stringToBytes(F.UnescapeHTMLStr(J.DomAttrValue(c,"data-content")))));d.Context.Tip.AppendChild(v);$s=98;case 98:return;case 49:bp=c.DataAtom;if(bp===(0)){$s=100;continue;}if((bp===(2817))||(bp===(378116))||(bp===(449798))||(bp===(28162))||(bp===(47363))||(bp===(46596))||(bp===(9473))||(bp===(421123))||(bp===(461571))||(bp===(40708))){$s=101;continue;}$s=102;continue;case 100:v.Type=16;v.Tokens=J.StrToBytes(c.Data);if(0===d.Context.Tip.Type){bq=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bq);d.Context.Tip=bq;}$r=e.genASTContenteditable(c,d);$s=103;case 103:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=104;case 104:return;case 101:if(0===d.Context.Tip.Type){br=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(br);d.Context.Tip=br;}$r=e.genASTContenteditable(c,d);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=106;case 106:return;case 102:case 99:if((8===d.Context.Tip.Type)&&(281349===c.DataAtom)){$s=107;continue;}$s=108;continue;case 107:v.Type=100;v.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(v);$s=109;case 109:return;case 108:v.Type=10;bs=J.DomHTML(c);$s=110;case 110:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}v.Tokens=bs;d.Context.Tip.AppendChild(v);$s=111;case 111:return;case 50:case 28:bt=c.FirstChild;case 112:if(!(!(bt===AE.nil))){$s=113;continue;}$r=e.genASTByBlockDOM(bt,d);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bt=bt.NextSibling;$s=112;continue;case 113:bu=t;if(bu===(475)){v.AppendChild(new D.Node.ptr("","","","",478,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(bu===(11)){v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByBlockDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByBlockDOM=function(c,d){return this.$val.genASTByBlockDOM(c,d);};R.ptr.prototype.genASTContenteditable=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;if((11===d.Context.Tip.Type)||(560===d.Context.Tip.Type)){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(109320===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:f=J.DomAttrValue(c,"class");if("svg"===f){$s=7;continue;}$s=8;continue;case 7:$s=9;case 9:return;case 8:g=c.Data;h=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(g),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=c.DataAtom;if(i===(0)){$s=11;continue;}if(i===(208901)){$s=12;continue;}if(i===(9989)){$s=13;continue;}if(i===(52226)){$s=14;continue;}if((i===(87554))||(i===(37378))){$s=15;continue;}if(i===(378116)){$s=16;continue;}if(i===(40708)){$s=17;continue;}if(i===(421123)){$s=18;continue;}if(i===(461571)){$s=19;continue;}if(i===(2817)){$s=20;continue;}if(i===(47363)){$s=21;continue;}if(i===(514)){$s=22;continue;}if((i===(28162))||(i===(1537))){$s=23;continue;}if((i===(449798))||(i===(257))){$s=24;continue;}if((i===(283139))||(i===(9473))||(i===(53766))){$s=25;continue;}if(i===(46596)){$s=26;continue;}if(i===(198403)){$s=27;continue;}$s=28;continue;case 11:if(""===g){$s=29;continue;}$s=30;continue;case 29:$s=31;case 31:return;case 30:if(33===d.Context.Tip.Type){h.Type=40;}else if(2===d.Context.Tip.Type){g=C.ReplaceAll(g,"\n","");h.Tokens=J.StrToBytes(g);}else if(22===d.Context.Tip.Type){g=C.ReplaceAll(g,"**","");g=C.ReplaceAll(g,"*\xE2\x80\xB8","\xE2\x80\xB8");g=C.ReplaceAll(g,"\xE2\x80\xB8*","\xE2\x80\xB8");h.Tokens=J.StrToBytes(g);}if(e.parentIs(c,new AT([365829]))){$s=32;continue;}$s=33;continue;case 32:g=C.TrimSuffix(g,"\n");if((AE.nil===c.NextSibling&&!C.Contains(g,"\n"))||(!(AE.nil===c.NextSibling)&&(514===c.NextSibling.DataAtom)&&C.HasPrefix(g,"\n"))){g=C.ReplaceAll(g,"\n","");}if(C.Contains(g,"\\")){$s=34;continue;}$s=35;continue;case 34:j=C.ReplaceAll(g,"\\","");k=C.TrimSpace(j);$s=36;case 36:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;if(""===j){g=C.ReplaceAll(g,"\\","\\\\");}case 35:h.Tokens=J.StrToBytes(C.ReplaceAll(g,"\n","
    "));l=L.SplitWithoutBackslashEscape(h.Tokens,124);h.Tokens=AD.nil;m=l;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);h.Tokens=$appendSlice(h.Tokens,p);if(o<(l.$length-1>>0)){h.Tokens=$appendSlice(h.Tokens,(new AD($stringToBytes("\\|"))));}n++;}case 33:if((27===d.Context.Tip.Type)||(304===d.Context.Tip.Type)){$s=37;continue;}$s=38;continue;case 37:if(!(AF.nil===d.Context.Tip.Previous)&&(d.Context.Tip.Type===d.Context.Tip.Previous.Type)){d.Context.Tip.FirstChild.Next.Tokens=J.StrToBytes(g);}else{if(!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();}d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));}$s=39;case 39:return;case 38:if(530===d.Context.Tip.Type){$s=40;continue;}$s=41;continue;case 40:if("code"===d.Context.Tip.TokensStr()){$s=42;continue;}$s=43;continue;case 42:if(!(AF.nil===d.Context.Tip.FirstChild)&&!(AF.nil===d.Context.Tip.FirstChild.Next)&&!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){$s=44;continue;}$s=45;continue;case 44:g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));$s=46;case 46:return;case 45:case 43:case 41:if(515===d.Context.Tip.Type){h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\\\"))),(new AD($stringToBytes("\\"))));h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));if(A.Equal(h.Tokens,E.CaretTokens)){q=d.Context.Tip.Parent;d.Context.Tip.Unlink();d.Context.Tip=q;}}d.Context.Tip.AppendChild(h);$s=28;continue;case 12:if(e.parentIs(c.Parent.Parent,new AT([365829]))){$s=47;continue;}$s=48;continue;case 47:r=J.DomText(c.Parent.Parent);$s=49;case 49:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;s=C.ReplaceAll(s,"\xE2\x80\xB8","");t=C.TrimSpace(s);$s=50;case 50:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(t)));d.Context.Tip.AppendChild(h);$s=51;case 51:return;case 48:h.Type=107;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 13:$s=28;continue;case 14:h.Type=108;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 15:h.Type=109;u=J.DomAttrValue(c,"align");v=0;w=u;if(w===("left")){v=1;}else if(w===("center")){v=2;}else if(w===("right")){v=3;}else{v=0;}h.TableCellAlign=v;d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(h,c);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 16:y=e.isCaret(c);$s=53;case 53:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];if(z){$s=54;continue;}$s=55;continue;case 54:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=56;case 56:return;case 55:if(aa){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:if(e.ParseOptions.TextMark){$s=60;continue;}$s=61;continue;case 60:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;case 63:return;case 61:h.Type=27;h.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 17:ab=J.DomAttrValue(c,"data-type");if(""===ab){ab="text";}if(C.Contains(ab,"span")){$s=64;continue;}$s=65;continue;case 64:h.Type=16;ac=J.DomText(c);$s=66;case 66:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=J.StrToBytes(ac);$s=67;case 67:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h.Tokens=ad;d.Context.Tip.AppendChild(h);$s=68;case 68:return;case 65:if(C.Contains(ab,"img")){ab="img";}if(!(AF.nil===d.Context.Tip)&&!(AF.nil===d.Context.Tip.LastChild)){$s=69;continue;}$s=70;continue;case 69:ae=d.Context.Tip.LastChild.Text();$s=71;case 71:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=C.HasSuffix(af,"\\\xE2\x80\xB8");if(ag){af=C.TrimSuffix(af,"\xE2\x80\xB8");}if(C.HasSuffix(af,"\\")){ah=0;ai=af.length-1>>0;while(true){if(!(ai>=0)){break;}if(92===af.charCodeAt(ai)){ah=ah+(1)>>0;}else{break;}ai=ai-(1)>>0;}if(!((0===(aj=ah%2,aj===aj?aj:$throwRuntimeError("integer divide by zero"))))){if(ag){d.Context.Tip.LastChild.Tokens=A.TrimSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));}else{d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));}}}case 70:if("tag"===ab){$s=72;continue;}if("inline-math"===ab){$s=73;continue;}if("inline-memo"===ab){$s=74;continue;}if("a"===ab){$s=75;continue;}if("block-ref"===ab){$s=76;continue;}if("file-annotation-ref"===ab){$s=77;continue;}if("img"===ab){$s=78;continue;}if("backslash"===ab){$s=79;continue;}$s=80;continue;case 72:al=e.isCaret(c);$s=82;case 82:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];if(am){$s=83;continue;}$s=84;continue;case 83:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=85;case 85:return;case 84:if(an){$s=86;continue;}$s=87;continue;case 86:$s=88;case 88:return;case 87:if(e.ParseOptions.TextMark){$s=89;continue;}$s=90;continue;case 89:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=91;case 91:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=92;case 92:return;case 90:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");h.Type=460;h.AppendChild(new D.Node.ptr("","","","",461,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));Q(c,h);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 73:ao=J.GetTextMarkInlineMathData(c);if(""===ao){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.ParseOptions.TextMark){$s=96;continue;}$s=97;continue;case 96:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=99;case 99:return;case 97:h.Type=304;h.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ao),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=100;case 100:return;case 74:aq=e.isCaret(c);$s=101;case 101:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(ar){$s=102;continue;}$s=103;continue;case 102:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=104;case 104:return;case 103:if(as){$s=105;continue;}$s=106;continue;case 105:$s=107;case 107:return;case 106:if(e.ParseOptions.TextMark){$s=108;continue;}$s=109;continue;case 108:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=111;case 111:return;case 109:h.Type=16;at=J.DomText(c);$s=112;case 112:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=J.StrToBytes(at);$s=113;case 113:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}h.Tokens=au;d.Context.Tip.AppendChild(h);$s=114;case 114:return;case 75:if(AE.nil===c.FirstChild){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(33===d.Context.Tip.Type){$s=10;continue;}if(e.ParseOptions.TextMark){$s=118;continue;}$s=119;continue;case 118:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=120;case 120:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=121;case 121:return;case 119:h.Type=33;h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 76:av=J.DomText(c);$s=122;case 122:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;ax=C.TrimSpace(aw);$s=123;case 123:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;if(""===aw){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(aw==="\xE2\x80\xB8"){$s=127;continue;}$s=128;continue;case 127:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=129;case 129:return;case 128:if(e.ParseOptions.TextMark){$s=130;continue;}$s=131;continue;case 130:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=132;case 132:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=133;case 133:return;case 131:h.Type=430;h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ay=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",431,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ay),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",432,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));az=AF.nil;ba=J.DomAttrValue(c,"data-subtype");if("s"===ba||""===ba){az=new D.Node.ptr("","","","",433,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}else{az=new D.Node.ptr("","","","",434,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}if(e.parentIs(c,new AT([365829]))){az.Tokens=A.ReplaceAll(az.Tokens,(new AD($stringToBytes("|"))),(new AD($stringToBytes("|"))));}h.AppendChild(az);h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=134;case 134:return;case 77:bb=J.DomText(c);$s=135;case 135:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=C.TrimSpace(bc);$s=136;case 136:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;if(""===bc){$s=137;continue;}$s=138;continue;case 137:$s=139;case 139:return;case 138:if(bc==="\xE2\x80\xB8"){$s=140;continue;}$s=141;continue;case 140:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=142;case 142:return;case 141:if(e.ParseOptions.TextMark){$s=143;continue;}$s=144;continue;case 143:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=146;case 146:return;case 144:h.Type=540;h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));be=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",541,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",542,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=new D.Node.ptr("","","","",543,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bc),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(bf);h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=147;case 147:return;case 78:bg=e.domChild(c,198403);if(AE.nil===bg){$s=148;continue;}$s=149;continue;case 148:$s=150;case 150:return;case 149:h.Type=34;h.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(bg,"alt");h.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bh),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(bg,"data-src");h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bj=J.DomAttrValue(bg,"title");if(!(""===bj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(d.Context.Tip.LastChild,bg);$s=151;case 151:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=152;case 152:return;case 79:h.Type=400;if(AE.nil===c.FirstChild){$s=153;continue;}$s=154;continue;case 153:$s=155;case 155:return;case 154:if(c.FirstChild===c.LastChild&&!(AE.nil===c.FirstChild.FirstChild)){$s=156;continue;}$s=157;continue;case 156:$s=158;case 158:return;case 157:if(AE.nil===c.FirstChild.NextSibling&&(1===c.FirstChild.Type)){$s=159;continue;}$s=160;continue;case 159:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(c.FirstChild.Data),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=161;case 161:return;case 160:if(!(AE.nil===c.FirstChild.NextSibling)){bk=c.FirstChild.NextSibling.Data;bk=C.ReplaceAll(bk,"\\\\","\\");h.AppendChild(new D.Node.ptr("","","","",401,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bk),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);$s=162;case 162:return;case 80:bm=e.isCaret(c);$s=163;case 163:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;bn=bl[0];bo=bl[1];if(bn){$s=164;continue;}$s=165;continue;case 164:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=166;case 166:return;case 165:if(bo){$s=167;continue;}$s=168;continue;case 167:$s=169;case 169:return;case 168:bp=e.removeTempMark(ab);$s=170;case 170:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}ab=bp;bq=C.ReplaceAll(ab,"backslash","");br=C.TrimSpace(bq);$s=171;case 171:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bq=br;d.Context.Tip.AppendChild(h);if(""===bq){$s=172;continue;}$s=173;continue;case 172:h.Type=16;bs=J.DomText(c);$s=174;case 174:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(bs)));$s=175;case 175:return;case 173:e.setDOMAttrValue(c,"data-type",ab);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=177;case 177:return;case 81:$s=28;continue;case 18:bu=e.isCaret(c);$s=178;case 178:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;bv=bt[0];bw=bt[1];if(bv){$s=179;continue;}$s=180;continue;case 179:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=181;case 181:return;case 180:if(bw){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(e.ParseOptions.TextMark){$s=185;continue;}$s=186;continue;case 185:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=187;case 187:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=188;case 188:return;case 186:h.Type=490;h.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 19:by=e.isCaret(c);$s=189;case 189:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(bz){$s=190;continue;}$s=191;continue;case 190:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=192;case 192:return;case 191:if(ca){$s=193;continue;}$s=194;continue;case 193:$s=195;case 195:return;case 194:if(e.ParseOptions.TextMark){$s=196;continue;}$s=197;continue;case 196:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=198;case 198:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=199;case 199:return;case 197:h.Type=485;h.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 20:cc=e.isCaret(c);$s=200;case 200:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(cd){$s=201;continue;}$s=202;continue;case 201:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=203;case 203:return;case 202:if(ce){$s=204;continue;}$s=205;continue;case 204:$s=206;case 206:return;case 205:if(e.ParseOptions.TextMark){$s=207;continue;}$s=208;continue;case 207:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=209;case 209:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=210;case 210:return;case 208:h.Type=520;h.AppendChild(new D.Node.ptr("","","","",521,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 21:cg=e.isCaret(c);$s=211;case 211:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;ch=cf[0];ci=cf[1];if(ch){$s=212;continue;}$s=213;continue;case 212:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=214;case 214:return;case 213:if(ci){$s=215;continue;}$s=216;continue;case 215:$s=217;case 217:return;case 216:if(e.ParseOptions.TextMark){$s=218;continue;}$s=219;continue;case 218:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=220;case 220:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=221;case 221:return;case 219:h.Type=515;h.AppendChild(new D.Node.ptr("","","","",516,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 22:if(2===d.Context.Tip.Type){$s=222;continue;}$s=223;continue;case 222:$s=224;case 224:return;case 223:if(!(AE.nil===c.PrevSibling)&&"\n"===c.PrevSibling.Data&&e.parentIs(c,new AT([365829]))){$s=225;continue;}$s=226;continue;case 225:$s=227;case 227:return;case 226:h.Type=525;d.Context.Tip.AppendChild(h);$s=228;case 228:return;case 23:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=229;continue;}$s=230;continue;case 229:$s=231;case 231:return;case 230:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ck=e.isCaret(c);$s=232;case 232:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cj=ck;cl=cj[0];cm=cj[1];if(cl){$s=233;continue;}$s=234;continue;case 233:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=235;case 235:return;case 234:if(cm){$s=236;continue;}$s=237;continue;case 236:$s=238;case 238:return;case 237:if(e.ParseOptions.TextMark){$s=239;continue;}$s=240;continue;case 239:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=241;case 241:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=242;case 242:return;case 240:h.Type=17;cn=J.DomAttrValue(c,"data-marker");if(""===cn){cn="*";}if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=243;continue;}$s=244;continue;case 243:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=245;case 245:return;case 244:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");Q(c,h);e.removeInnerMarker(c,"__");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 24:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=246;continue;}$s=247;continue;case 246:$s=248;case 248:return;case 247:if(!(AF.nil===d.Context.Tip.LastChild)){if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))),(new AD($stringToBytes("\\\\\xE2\x80\xB8"))));}if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));}}if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cp=e.isCaret(c);$s=249;case 249:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}co=cp;cq=co[0];cr=co[1];if(cq){$s=250;continue;}$s=251;continue;case 250:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=252;case 252:return;case 251:if(cr){$s=253;continue;}$s=254;continue;case 253:$s=255;case 255:return;case 254:if(e.ParseOptions.TextMark){$s=256;continue;}$s=257;continue;case 256:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=258;case 258:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=259;case 259:return;case 257:h.Type=22;cs=J.DomAttrValue(c,"data-marker");if(""===cs){cs="**";}if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=260;continue;}$s=261;continue;case 260:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=262;case 262:return;case 261:Q(c,h);e.removeInnerMarker(c,"**");$r=H.SetSpanIAL(h,c);$s=263;case 263:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 25:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=264;continue;}$s=265;continue;case 264:$s=266;case 266:return;case 265:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cu=e.isCaret(c);$s=267;case 267:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}ct=cu;cv=ct[0];cw=ct[1];if(cv){$s=268;continue;}$s=269;continue;case 268:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=270;case 270:return;case 269:if(cw){$s=271;continue;}$s=272;continue;case 271:$s=273;case 273:return;case 272:if(e.ParseOptions.TextMark){$s=274;continue;}$s=275;continue;case 274:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=276;case 276:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=277;case 277:return;case 275:h.Type=101;cx=J.DomAttrValue(c,"data-marker");if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=278;continue;}$s=279;continue;case 278:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=280;case 280:return;case 279:Q(c,h);e.removeInnerMarker(c,"~~");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 26:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=281;continue;}$s=282;continue;case 281:$s=283;case 283:return;case 282:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cz=e.isCaret(c);$s=284;case 284:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(da){$s=285;continue;}$s=286;continue;case 285:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=287;case 287:return;case 286:if(db){$s=288;continue;}$s=289;continue;case 288:$s=290;case 290:return;case 289:if(e.ParseOptions.TextMark){$s=291;continue;}$s=292;continue;case 291:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=293;case 293:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=294;case 294:return;case 292:h.Type=450;dc=J.DomAttrValue(c,"data-marker");if("="===dc){h.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=295;continue;}$s=296;continue;case 295:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===dc){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=297;case 297:return;case 296:Q(c,h);e.removeInnerMarker(c,"==");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 27:if("emoji"===f){$s=298;continue;}$s=299;continue;case 298:dd=J.DomAttrValue(c,"alt");h.Type=200;de=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(dd,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");de.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+dd+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(de);d.Context.Tip.AppendChild(h);$s=300;case 300:return;case 299:case 28:case 10:df=c.FirstChild;case 301:if(!(!(df===AE.nil))){$s=302;continue;}$r=e.genASTContenteditable(df,d);$s=303;case 303:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}df=df.NextSibling;$s=301;continue;case 302:if(e.ParseOptions.TextMark){$s=304;continue;}$s=305;continue;case 304:$s=306;case 306:return;case 305:dg=c.DataAtom;if(dg===(378116)){h.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(40708)){dh=J.DomAttrValue(c,"data-type");if("tag"===dh){h.AppendChild(new D.Node.ptr("","","","",462,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if("a"===dh){h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));di=J.DomAttrValue(c,"data-href");if(!(""===e.RenderOptions.LinkBase)){di=C.ReplaceAll(di,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){di=C.ReplaceAll(di,e.RenderOptions.LinkPrefix,"");}h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(di))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dj=J.DomAttrValue(c,"data-title");if(!(""===dj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dj))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(421123)){h.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(461571)){h.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(2817)){h.AppendChild(new D.Node.ptr("","","","",522,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(47363)){h.AppendChild(new D.Node.ptr("","","","",517,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dg===(28162))||(dg===(1537))){dk=J.DomAttrValue(c,"data-marker");if(""===dk){dk="*";}if("_"===dk){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(449798))||(dg===(257))){dl=J.DomAttrValue(c,"data-marker");if(""===dl){dl="**";}if("__"===dl){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(283139))||(dg===(9473))||(dg===(53766))){dm=J.DomAttrValue(c,"data-marker");if("~"===dm){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(46596)){dn=J.DomAttrValue(c,"data-marker");if("="===dn){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTContenteditable,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTContenteditable=function(c,d){return this.$val.genASTContenteditable(c,d);};R.ptr.prototype.setBlockIAL=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;d.SetIALAttr("id",d.ID);g=J.DomAttrValue(c,"refcount");if(!(""===g)){d.SetIALAttr("refcount",g);e=$appendSlice(e,(new AD($stringToBytes(" refcount=\""+g+"\""))));}h=J.DomAttrValue(c,"bookmark");if(!(""===h)){h=F.UnescapeHTMLStr(h);d.SetIALAttr("bookmark",h);e=$appendSlice(e,(new AD($stringToBytes(" bookmark=\""+h+"\""))));}i=J.DomAttrValue(c,"style");if(!(""===i)){$s=1;continue;}$s=2;continue;case 1:i=F.UnescapeHTMLStr(i);j=H.StyleValue(i);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;d.SetIALAttr("style",i);e=$appendSlice(e,(new AD($stringToBytes(" style=\""+i+"\""))));case 2:k=J.DomAttrValue(c,"name");if(!(""===k)){k=F.UnescapeHTMLStr(k);d.SetIALAttr("name",k);e=$appendSlice(e,(new AD($stringToBytes(" name=\""+k+"\""))));}l=J.DomAttrValue(c,"memo");if(!(""===l)){l=F.UnescapeHTMLStr(l);d.SetIALAttr("memo",l);e=$appendSlice(e,(new AD($stringToBytes(" memo=\""+l+"\""))));}m=J.DomAttrValue(c,"alias");if(!(""===m)){m=F.UnescapeHTMLStr(m);d.SetIALAttr("alias",m);e=$appendSlice(e,(new AD($stringToBytes(" alias=\""+m+"\""))));}n=J.DomAttrValue(c,"fold");if(!(""===n)){d.SetIALAttr("fold",n);e=$appendSlice(e,(new AD($stringToBytes(" fold=\""+n+"\""))));}o=J.DomAttrValue(c,"heading-fold");if(!(""===o)){d.SetIALAttr("heading-fold",o);e=$appendSlice(e,(new AD($stringToBytes(" heading-fold=\""+o+"\""))));}p=J.DomAttrValue(c,"parent-fold");if(!(""===p)){d.SetIALAttr("parent-fold",p);e=$appendSlice(e,(new AD($stringToBytes(" parent-fold=\""+p+"\""))));}q=J.DomAttrValue(c,"updated");if(!(""===q)){d.SetIALAttr("updated",q);e=$appendSlice(e,(new AD($stringToBytes(" updated=\""+q+"\""))));}r=J.DomAttrValue(c,"linewrap");if(!(""===r)){d.SetIALAttr("linewrap",r);e=$appendSlice(e,(new AD($stringToBytes(" linewrap=\""+r+"\""))));}s=J.DomAttrValue(c,"ligatures");if(!(""===s)){d.SetIALAttr("ligatures",s);e=$appendSlice(e,(new AD($stringToBytes(" ligatures=\""+s+"\""))));}t=J.DomAttrValue(c,"linenumber");if(!(""===t)){d.SetIALAttr("linenumber",t);e=$appendSlice(e,(new AD($stringToBytes(" linenumber=\""+t+"\""))));}u=J.DomAttrValue(c,"breadcrumb");if(!(""===u)){d.SetIALAttr("breadcrumb",u);e=$appendSlice(e,(new AD($stringToBytes(" breadcrumb=\""+u+"\""))));}v=J.DomAttrValue(c,"data-export-md");if(!(""===v)){v=F.UnescapeHTMLStr(v);d.SetIALAttr("data-export-md",v);e=$appendSlice(e,(new AD($stringToBytes(" data-export-md=\""+v+"\""))));}w=J.DomAttrValue(c,"data-export-html");if(!(""===w)){w=F.UnescapeHTMLStr(w);d.SetIALAttr("data-export-html",w);e=$appendSlice(e,(new AD($stringToBytes(" data-export-html=\""+w+"\""))));}x=J.DomCustomAttrs(c);if(!(false===x)){y=x;z=0;aa=y?y.keys():undefined;ab=y?y.size:0;while(true){if(!(z=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=1;continue;case 2:d.HTML2MdRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2HTMLRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d=d;$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,c,d,e,f,g,$s};return $f;};$pkg.New=S;R.ptr.prototype.Markdown=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;g=H.Parse(c,d,f.ParseOptions);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewHtmlRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f.Md2HTMLRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));f=J.BytesToStr(H.EmojiSitePlaceholder);g=d.ParseOptions.AliasEmoji;h=0;i=g?g.keys():undefined;j=g?g.size:0;while(true){if(!(h=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]),$String),(($assertType((1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]),$Float64)>>0))];};})(j,k)});t++;$s=3;continue;case 4:g++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SetJSRenderers,$c:true,$r,aa,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.SetJSRenderers=function(c){return this.$val.SetJSRenderers(c);};R.ptr.prototype.HTML2Markdown=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=$ifaceNil;f=this;g=f.HTML2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=AD.nil;j=I.NewFormatRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=f.HTML2MdRendererFuncs;m=0;n=l?l.keys():undefined;o=l?l.size:0;while(true){if(!(mL.TrimWhitespace(i.Tokens).$length){$s=60;continue;}$s=61;continue;case 60:$s=62;case 62:return;case 61:if(!(AE.nil===c.Parent)&&(40708===c.Parent.DataAtom)&&(!(""===J.DomAttrValue(c.Parent,"class")))){m=d.Context.Tip.LastChild;if(AF.nil===m||((16===m.Type)&&!A.HasSuffix(m.Tokens,(new AD($stringToBytes("**")))))){i.Tokens=(new AD($stringToBytes("**"+J.BytesToStr(i.Tokens)+"**")));}}d.Context.Tip.AppendChild(i);$s=53;continue;case 21:if(e.parentIs(c,new AT([365829]))||(33===d.Context.Tip.Type)){$s=19;continue;}if(92931===c.DataAtom){$s=63;continue;}$s=64;continue;case 63:n=J.DomAttrValue(c,"class");o="";if(C.Contains(n,"-source-")){o=$substring(n,(C.LastIndex(n,"-source-")+8>>0));}else if(C.Contains(n,"-text-html-basic")){o="html";}if(!(""===o)){$s=65;continue;}$s=66;continue;case 65:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));p=new A.Buffer.ptr(AD.nil,0,0);i.LastChild.CodeBlockInfo=(new AD($stringToBytes(o)));q=J.DomText(c);$s=67;case 67:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=p.WriteString(q);$s=68;case 68:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,p.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(s);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);$s=69;case 69:return;case 66:case 64:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 22:if(33===d.Context.Tip.Type){$s=19;continue;}i.Type=2;i.HeadingLevel=((((t=i.Tokens,(1>=t.$length?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+1]))-48<<24>>>24)>>0));i.AppendChild(new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(C.Repeat("#",i.HeadingLevel)),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 23:i.Type=4;d.Context.Tip.AppendChild(i);$s=53;continue;case 24:i.Type=5;i.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(">"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 25:i.Type=7;i.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){i.ListData.Typ=1;}i.ListData.Tight=true;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 26:i.Type=8;u=J.DomAttrValue(c,"data-marker");v=0;if(""===u){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){w=J.DomAttrValue(c.Parent,"start");if(""===w){u="1.";}else{u=w+".";}}else{u="*";v=u.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)&&!("1."===u)&&(79618===c.Parent.DataAtom)&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){u="1.";}}i.ListData=new D.ListData.ptr(0,false,v,0,0,0,0,false,(new AD($stringToBytes(u))),0);d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 27:x=c.FirstChild;if(!(AE.nil===x)){$s=70;continue;}$s=71;continue;case 70:if((92931===x.DataAtom)&&!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){x=x.NextSibling;c.FirstChild.Unlink();}if((1===x.Type)||(40708===x.DataAtom)||(378116===x.DataAtom)||(354311===x.DataAtom)||(290819===x.DataAtom)){$s=72;continue;}$s=73;continue;case 72:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if((378116===x.DataAtom)||(40708===x.DataAtom)){y=J.DomAttrValue(x,"class");if(!C.Contains(y,"language-")){y=J.DomAttrValue(c,"class");}if(C.Contains(y,"language-")){z=$substring(y,(C.Index(y,"language-")+9>>0));z=(aa=C.Split(z," "),(0>=aa.$length?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+0]));i.LastChild.CodeBlockInfo=(new AD($stringToBytes(z)));}}if(378116===x.DataAtom){if(!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){ab=x.NextSibling;while(true){if(!(!(AE.nil===ab))){break;}ab.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ab=ab.NextSibling;}}if(!(AE.nil===x.FirstChild)&&(79618===x.FirstChild.DataAtom)){ac=x.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ac))){break;}if(!(ac===x.FirstChild.FirstChild)){ac.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));}ac=ac.NextSibling;}}if(!(AE.nil===c.LastChild)&&(42754===c.LastChild.DataAtom)){c.LastChild.Unlink();}}if((290819===x.DataAtom)&&!(AE.nil===x.FirstChild)){ad=x.FirstChild.NextSibling;while(true){if(!(!(AE.nil===ad))){break;}ad.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ad=ad.NextSibling;}}ae=new A.Buffer.ptr(AD.nil,0,0);af=J.DomText(c);$s=75;case 75:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=ae.WriteString(af);$s=76;case 76:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;ah=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ae.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(ah);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(d.Context.Tip.ParentIs(106,BB.nil)){ai=A.Split(ah.Tokens,(new AD($stringToBytes("\n"))));aj=ai;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);if(0>0)){if(d.Context.ParseOption.ProtyleWYSIWYG){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}}ak++;}}else{d.Context.Tip.AppendChild(i);}$s=74;continue;case 73:i.Type=9;ao=J.DomHTML(c);$s=77;case 77:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}i.Tokens=ao;d.Context.Tip.AppendChild(i);case 74:case 71:$s=78;case 78:return;case 28:ap=J.DomText(c);$s=79;case 79:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=C.TrimSpace(aq);$s=82;case 82:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(""===ar){$s=80;continue;}$s=81;continue;case 80:$s=19;continue;case 81:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=17;as="*";i.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(as),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 29:at=J.DomText(c);$s=83;case 83:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=C.TrimSpace(au);$s=86;case 86:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(""===av){$s=84;continue;}$s=85;continue;case 84:$s=19;continue;case 85:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=22;aw="**";i.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 30:if(AE.nil===c.FirstChild){$s=87;continue;}$s=88;continue;case 87:$s=89;case 89:return;case 88:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ax=J.DomHTML(c);$s=90;case 90:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;if(A.Contains(ay,(new AD($stringToBytes(">"))))){ay=$subslice(ay,(A.Index(ay,(new AD($stringToBytes(">"))))+1>>0));}ay=A.TrimSuffix(ay,(new AD($stringToBytes("
    "))));az=F.UnescapeString(($bytesToString(ay)));ay=(new AD($stringToBytes(az)));ba=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.Type=27;i.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(ba);i.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=91;case 91:return;case 31:if(33===d.Context.Tip.Type){$s=19;continue;}if(d.Context.ParseOption.ProtyleWYSIWYG&&e.parentIs(c,new AT([365829]))){i.Type=525;}else{i.Type=31;i.Tokens=J.StrToBytes("\n");}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 32:i.Type=33;bb=J.DomText(c);$s=92;case 92:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;if(""===bc&&!(AE.nil===c.Parent)&&((89090===c.Parent.DataAtom)||(187906===c.Parent.DataAtom)||(199938===c.Parent.DataAtom)||(214274===c.Parent.DataAtom)||(216834===c.Parent.DataAtom)||(412930===c.Parent.DataAtom))){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(""===bc&&AE.nil===c.FirstChild){$s=96;continue;}$s=97;continue;case 96:$s=98;case 98:return;case 97:i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 33:bd=J.DomAttrValue(c,"class");be=J.DomAttrValue(c,"alt");if("emoji"===bd){$s=99;continue;}$s=100;continue;case 99:i.Type=200;bf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(be,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");bf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(":"+be+":"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(bf);$s=101;continue;case 100:i.Type=34;i.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===be)){i.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"src");if(C.HasPrefix(bg,"data:image")){bh=J.DomAttrValue(c,"data-src");if(!(""===bh)){bg=bh;}}if(""===bg){$s=102;continue;}$s=103;continue;case 102:bi=J.DomAttrValue(c,"srcset");if(!(""===bi)){$s=104;continue;}$s=105;continue;case 104:if(C.Contains(bi,",")){$s=106;continue;}$s=107;continue;case 106:bg=(bj=C.Split(bi,","),bk=C.Split(bi,",").$length-1>>0,((bk<0||bk>=bj.$length)?($throwRuntimeError("index out of range"),undefined):bj.$array[bj.$offset+bk]));bl=C.TrimSpace(bg);$s=109;case 109:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bg=bl;if(C.Contains(bg," ")){$s=110;continue;}$s=111;continue;case 110:bn=C.TrimSpace((bm=C.Split(bg," "),(0>=bm.$length?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+0])));$s=112;case 112:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bg=bn;case 111:$s=108;continue;case 107:bo=C.TrimSpace(bg);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bg=bo;if(C.Contains(bg," ")){$s=114;continue;}$s=115;continue;case 114:bq=C.TrimSpace((bp=C.Split(bi," "),(0>=bp.$length?($throwRuntimeError("index out of range"),undefined):bp.$array[bp.$offset+0])));$s=116;case 116:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bg=bq;case 115:case 108:case 105:case 103:i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));br=J.DomAttrValue(c,"title");if(!(""===br)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(br))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 101:if(0===d.Context.Tip.Type){bs=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bs);d.Context.Tip=bs;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 34:i.Type=100;i.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(i);if(!(AF.nil===i.Parent.Parent)){if(AL.nil===i.Parent.Parent.ListData){i.Parent.Parent.ListData=new D.ListData.ptr(3,false,0,0,0,0,0,false,AD.nil,0);}else{i.Parent.Parent.ListData.Typ=3;}}$s=53;continue;case 35:i.Type=101;bt="~";i.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bt),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 36:i.Type=450;bu="==";i.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bu),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 37:i.Type=485;i.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 38:i.Type=490;i.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 39:i.Type=106;bv=AM.nil;if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild.FirstChild)){bw=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===bw))){break;}bx=J.DomAttrValue(bw,"align");by=bx;if(by===("left")){bv=$append(bv,1);}else if(by===("center")){bv=$append(bv,2);}else if(by===("right")){bv=$append(bv,3);}else{bv=$append(bv,0);}bw=bw.NextSibling;}}i.TableAligns=bv;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 40:if(AE.nil===c.FirstChild){$s=19;continue;}i.Type=107;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 41:$s=53;continue;case 42:if(AE.nil===c.FirstChild){$s=19;continue;}bz=c.Parent.Parent;i.Type=108;if(AF.nil===d.Context.Tip.ChildByType(107)&&AE.nil===J.DomChildByType(bz,208901)){ca=new D.Node.ptr("","","","",107,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(ca);d.Context.Tip=ca;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 43:i.Type=109;cb=J.DomAttrValue(c,"align");cc=0;cd=cb;if(cd===("left")){cc=1;}else if(cd===("center")){cc=2;}else if(cd===("right")){cc=3;}else{cc=0;}i.TableCellAlign=cc;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 44:$s=117;case 117:return;case 45:if(AE.nil===c.FirstChild){$s=118;continue;}$s=119;continue;case 118:$s=120;case 120:return;case 119:$s=53;continue;case 46:i.Type=16;ce=J.DomText(c);$s=121;case 121:if($c){$c=false;ce=ce.$blk();}if(ce&&ce.$blk!==undefined){break s;}i.Tokens=(new AD($stringToBytes(ce)));i.Tokens=A.ReplaceAll(i.Tokens,(new AD($stringToBytes("\n"))),AD.nil);d.Context.Tip.AppendChild(i);$s=122;case 122:return;case 47:i.Type=9;cf=J.DomHTML(c);$s=123;case 123:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}i.Tokens=cf;i.Tokens=(cg=A.SplitAfter(i.Tokens,(new AD($stringToBytes("")))),(0>=cg.$length?($throwRuntimeError("index out of range"),undefined):cg.$array[cg.$offset+0]));d.Context.Tip.AppendChild(i);$s=53;continue;case 48:$s=124;case 124:return;case 49:i.Type=9;ch=J.DomHTML(c);$s=125;case 125:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}i.Tokens=ch;d.Context.Tip.AppendChild(i);$s=126;case 126:return;case 50:$s=127;case 127:return;case 51:i.Type=1;i.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomText(c);$s=128;case 128:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}cj=J.StrToBytes(ci);$s=129;case 129:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}$r=i.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cj,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=130;case 130:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip.AppendChild(i);$s=131;case 131:return;case 52:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);case 53:case 19:ck=c.FirstChild;case 132:if(!(!(ck===AE.nil))){$s=133;continue;}$r=e.genASTByDOM(ck,d);$s=134;case 134:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ck=ck.NextSibling;$s=132;continue;case 133:cl=c.DataAtom;if((cl===(28162))||(cl===(1537))){$s=136;continue;}if((cl===(449798))||(cl===(257))){$s=137;continue;}if(cl===(1)){$s=138;continue;}if((cl===(283139))||(cl===(9473))||(cl===(53766))){$s=139;continue;}if(cl===(46596)){$s=140;continue;}if(cl===(461571)){$s=141;continue;}if(cl===(421123)){$s=142;continue;}if(cl===(29191)){$s=143;continue;}$s=144;continue;case 136:cm="*";i.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cm),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 137:cn="**";i.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cn),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=146;case 146:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 138:i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(J.DomAttrValue(c,"href")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));co=J.DomAttrValue(c,"title");if(!(""===co)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(co),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=144;continue;case 139:cp="~";i.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cp),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=147;case 147:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 140:cq="==";i.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cq),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=148;case 148:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 141:i.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=149;case 149:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 142:i.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=150;case 150:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 143:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 144:case 135:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByDOM=function(c,d){return this.$val.genASTByDOM(c,d);};AA=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!(AE.nil===c.NextSibling)){$s=1;continue;}$s=2;continue;case 1:f=J.DomText(c.NextSibling);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!(""===g)){$s=4;continue;}$s=5;continue;case 4:h=(new BC($stringToRunes(g)));if(!P.IsSpace((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){$s=6;continue;}$s=7;continue;case 6:if(P.IsPunct((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))||P.IsSymbol((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){d.Context.Tip.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=-1;return;}i=J.DomText(c);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(""===j)){$s=9;continue;}$s=10;continue;case 9:h=(new BC($stringToRunes(j)));l=(k=h.$length-1>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]));if(P.IsPunct(l)||P.IsSymbol(l)){m=d.Context.Tip.ChildByType(16);if(!(AF.nil===m)){m.Tokens=$appendSlice((new AD($stringToBytes("\xE2\x80\x8B"))),m.Tokens);m.Tokens=$appendSlice(m.Tokens,(new AD($stringToBytes("\xE2\x80\x8B"))));}$s=-1;return;}n=e.prefixSpaces(j);if(!(""===n)){o=d.Context.Tip.Previous;if(!(AF.nil===o)){if(16===o.Type){o.Tokens=$appendSlice(o.Tokens,J.StrToBytes(n));}else{o.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}p=d.Context.Tip.ChildByType(16);p.Tokens=A.TrimLeft(p.Tokens," \xC5\xA0");}n=e.suffixSpaces(j);if(!(""===n)){$s=11;continue;}$s=12;continue;case 11:q=d.Context.Tip.ChildrenByType(16);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(0>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));t.Tokens=A.TrimRight(t.Tokens," \xC5\xA0");if(1>t.Tokens.$length){t.Unlink();}}if(!(AE.nil===c.NextSibling)){if(1===c.NextSibling.Type){c.NextSibling.Data=n+c.NextSibling.Data;}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 12:case 10:case 7:case 5:case 2:$s=-1;return;}return;}var $f={$blk:AA,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};AV.methods=[{prop:"Md2HTML",name:"Md2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorDOM",name:"SpinVditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorDOM",name:"HTML2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2HTML",name:"VditorDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorDOM",name:"Md2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2Md",name:"VditorDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderEChartsJSON",name:"RenderEChartsJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderKityMinderJSON",name:"RenderKityMinderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2Md",name:"HTML2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorDOM2Md",name:"vditorDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"parseHTML",name:"parseHTML",pkg:"github.com/88250/lute",typ:$funcType([$String],[AE],false)},{prop:"adjustVditorDOM",name:"adjustVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListList",name:"adjustVditorDOMListList",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeHighlightJSSpans",name:"removeHighlightJSSpans",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"hljsSpans",name:"hljsSpans",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"removeEmptyNodes",name:"removeEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"searchEmptyNodes",name:"searchEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"mergeVditorDOMList0",name:"mergeVditorDOMList0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListTight0",name:"adjustVditorDOMListTight0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListItemInP",name:"adjustVditorDOMListItemInP",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"forwardNextBlock",name:"forwardNextBlock",pkg:"github.com/88250/lute",typ:$funcType([AE],[AP,AE],false)},{prop:"listItemEnter",name:"listItemEnter",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isTightList",name:"isTightList",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"genASTByVditorDOM",name:"genASTByVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"hasAttr",name:"hasAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[$Bool],false)},{prop:"domChild",name:"domChild",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"domChild0",name:"domChild0",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"setDOMAttrValue",name:"setDOMAttrValue",pkg:"github.com/88250/lute",typ:$funcType([AE,$String,$String],[],false)},{prop:"removeDOMAttr",name:"removeDOMAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"domCode",name:"domCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"domCode0",name:"domCode0",pkg:"github.com/88250/lute",typ:$funcType([AE,AY],[],false)},{prop:"parentIs",name:"parentIs",pkg:"github.com/88250/lute",typ:$funcType([AE,AT],[$Bool],true)},{prop:"getParent",name:"getParent",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"isCaret",name:"isCaret",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool,$Bool],false)},{prop:"isEmptyText",name:"isEmptyText",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"startsWithNewline",name:"startsWithNewline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isInline",name:"isInline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"prefixSpaces",name:"prefixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"suffixSpaces",name:"suffixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorSVDOM",name:"SpinVditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorSVDOM",name:"HTML2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorSVDOM",name:"Md2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorIRDOM",name:"SpinVditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorIRDOM",name:"HTML2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2HTML",name:"VditorIRDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorIRDOM",name:"Md2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2Md",name:"VditorIRDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorIRDOM2Md",name:"vditorIRDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByVditorIRDOM",name:"genASTByVditorIRDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"SpinBlockDOM",name:"SpinBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2BlockDOM",name:"HTML2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2HTML",name:"BlockDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2InlineBlockDOM",name:"BlockDOM2InlineBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2BlockDOM",name:"Md2BlockDOM",pkg:"",typ:$funcType([$String,$Bool],[$String],false)},{prop:"Md2BlockDOMTree",name:"Md2BlockDOMTree",pkg:"",typ:$funcType([$String,$Bool],[$String,AB],false)},{prop:"InlineMd2BlockDOM",name:"InlineMd2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Md",name:"BlockDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2StdMd",name:"BlockDOM2StdMd",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Text",name:"BlockDOM2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2TextLen",name:"BlockDOM2TextLen",pkg:"",typ:$funcType([$String],[$Int],false)},{prop:"BlockDOM2Content",name:"BlockDOM2Content",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2EscapeMarkerContent",name:"BlockDOM2EscapeMarkerContent",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Tree2BlockDOM",name:"Tree2BlockDOM",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"RenderNodeBlockDOM",name:"RenderNodeBlockDOM",pkg:"",typ:$funcType([AF],[$String],false)},{prop:"BlockDOM2Tree",name:"BlockDOM2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"MergeSameTextMark",name:"MergeSameTextMark",pkg:"",typ:$funcType([AF],[],false)},{prop:"MergeSameSpan",name:"MergeSameSpan",pkg:"",typ:$funcType([AF],[],false)},{prop:"CancelSuperBlock",name:"CancelSuperBlock",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelList",name:"CancelList",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelBlockquote",name:"CancelBlockquote",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Ps",name:"Blocks2Ps",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Hs",name:"Blocks2Hs",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"OL2TL",name:"OL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2TL",name:"UL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2OL",name:"TL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2UL",name:"TL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"OL2UL",name:"OL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2OL",name:"UL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"blockDOM2Md",name:"blockDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByBlockDOM",name:"genASTByBlockDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"genASTContenteditable",name:"genASTContenteditable",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"setBlockIAL",name:"setBlockIAL",pkg:"github.com/88250/lute",typ:$funcType([AE,AF],[AD],false)},{prop:"removeInnerMarker",name:"removeInnerMarker",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeInnerMarker0",name:"removeInnerMarker0",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeTempMark",name:"removeTempMark",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"Markdown",name:"Markdown",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"MarkdownStr",name:"MarkdownStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"FormatStr",name:"FormatStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"TextBundle",name:"TextBundle",pkg:"",typ:$funcType([$String,AD,AJ],[AD,AJ],false)},{prop:"TextBundleStr",name:"TextBundleStr",pkg:"",typ:$funcType([$String,$String,AJ],[$String,AJ],false)},{prop:"HTML2Text",name:"HTML2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderJSON",name:"RenderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"IsValidLinkDest",name:"IsValidLinkDest",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"GetEmojis",name:"GetEmojis",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutEmojis",name:"PutEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"RemoveEmoji",name:"RemoveEmoji",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetTerms",name:"GetTerms",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutTerms",name:"PutTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"ProtylePreview",name:"ProtylePreview",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"Tree2HTML",name:"Tree2HTML",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"SetGFMTable",name:"SetGFMTable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItem",name:"SetGFMTaskListItem",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItemClass",name:"SetGFMTaskListItemClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetGFMStrikethrough",name:"SetGFMStrikethrough",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMAutoLink",name:"SetGFMAutoLink",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSoftBreak2HardBreak",name:"SetSoftBreak2HardBreak",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlight",name:"SetCodeSyntaxHighlight",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightDetectLang",name:"SetCodeSyntaxHighlightDetectLang",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightInlineStyle",name:"SetCodeSyntaxHighlightInlineStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightLineNum",name:"SetCodeSyntaxHighlightLineNum",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightStyleName",name:"SetCodeSyntaxHighlightStyleName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetFootnotes",name:"SetFootnotes",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetToC",name:"SetToC",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHeadingID",name:"SetHeadingID",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetAutoSpace",name:"SetAutoSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFixTermTypo",name:"SetFixTermTypo",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmoji",name:"SetEmoji",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmojis",name:"SetEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetEmojiSite",name:"SetEmojiSite",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetHeadingAnchor",name:"SetHeadingAnchor",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTerms",name:"SetTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetVditorWYSIWYG",name:"SetVditorWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleWYSIWYG",name:"SetProtyleWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorIR",name:"SetVditorIR",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorSV",name:"SetVditorSV",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMathAllowDigitAfterOpenMarker",name:"SetInlineMathAllowDigitAfterOpenMarker",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkPrefix",name:"SetLinkPrefix",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLinkBase",name:"SetLinkBase",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetLinkBase",name:"GetLinkBase",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetVditorCodeBlockPreview",name:"SetVditorCodeBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorMathBlockPreview",name:"SetVditorMathBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorHTMLBlockPreview",name:"SetVditorHTMLBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetRenderListStyle",name:"SetRenderListStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSanitize",name:"SetSanitize",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImageLazyLoading",name:"SetImageLazyLoading",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetChineseParagraphBeginningSpace",name:"SetChineseParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetYamlFrontMatter",name:"SetYamlFrontMatter",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSetext",name:"SetSetext",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetBlockRef",name:"SetBlockRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFileAnnotationRef",name:"SetFileAnnotationRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetMark",name:"SetMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIAL",name:"SetKramdownIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownBlockIAL",name:"SetKramdownBlockIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownSpanIAL",name:"SetKramdownSpanIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIALIDRenderName",name:"SetKramdownIALIDRenderName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTag",name:"SetTag",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImgPathAllowSpace",name:"SetImgPathAllowSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSuperBlock",name:"SetSuperBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSup",name:"SetSup",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSub",name:"SetSub",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGitConflict",name:"SetGitConflict",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkRef",name:"SetLinkRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetIndentCodeBlock",name:"SetIndentCodeBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetDataImage",name:"SetDataImage",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTextMark",name:"SetTextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpin",name:"SetSpin",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHTMLTag2TextMark",name:"SetHTMLTag2TextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetParagraphBeginningSpace",name:"SetParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleMarkNetImg",name:"SetProtyleMarkNetImg",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpellcheck",name:"SetSpellcheck",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetJSRenderers",name:"SetJSRenderers",pkg:"",typ:$funcType([BG],[],false)},{prop:"HTML2Markdown",name:"HTML2Markdown",pkg:"",typ:$funcType([$String],[$String,$error],false)},{prop:"HTML2Tree",name:"HTML2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"genASTByDOM",name:"genASTByDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)}];R.init("",[{prop:"ParseOptions",name:"ParseOptions",embedded:false,exported:true,typ:AO,tag:""},{prop:"RenderOptions",name:"RenderOptions",embedded:false,exported:true,typ:AC,tag:""},{prop:"HTML2MdRendererFuncs",name:"HTML2MdRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorDOMRendererFuncs",name:"HTML2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorIRDOMRendererFuncs",name:"HTML2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2BlockDOMRendererFuncs",name:"HTML2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorSVDOMRendererFuncs",name:"HTML2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2HTMLRendererFuncs",name:"Md2HTMLRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorDOMRendererFuncs",name:"Md2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorIRDOMRendererFuncs",name:"Md2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2BlockDOMRendererFuncs",name:"Md2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorSVDOMRendererFuncs",name:"Md2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""}]);Z.init([AV],[],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=I.NewFormatRenderer(AB.nil,AC.nil);$s=17;case 17:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}T=a;b=I.NewProtyleExportMdRenderer(AB.nil,AC.nil);$s=18;case 18:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}W=b;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); +$packages["github.com/88250/lute"]=(function(){var $pkg={},$init,A,M,K,D,E,F,G,L,H,I,J,O,B,C,N,P,R,Z,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AY,BA,BB,BC,BD,BE,BF,BG,BH,T,W,a,b,Q,S,AA;A=$packages["bytes"];M=$packages["errors"];K=$packages["fmt"];D=$packages["github.com/88250/lute/ast"];E=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];L=$packages["github.com/88250/lute/lex"];H=$packages["github.com/88250/lute/parse"];I=$packages["github.com/88250/lute/render"];J=$packages["github.com/88250/lute/util"];O=$packages["github.com/gopherjs/gopherjs/js"];B=$packages["strconv"];C=$packages["strings"];N=$packages["sync"];P=$packages["unicode"];R=$pkg.Lute=$newType(0,$kindStruct,"lute.Lute",true,"github.com/88250/lute",true,function(ParseOptions_,RenderOptions_,HTML2MdRendererFuncs_,HTML2VditorDOMRendererFuncs_,HTML2VditorIRDOMRendererFuncs_,HTML2BlockDOMRendererFuncs_,HTML2VditorSVDOMRendererFuncs_,Md2HTMLRendererFuncs_,Md2VditorDOMRendererFuncs_,Md2VditorIRDOMRendererFuncs_,Md2BlockDOMRendererFuncs_,Md2VditorSVDOMRendererFuncs_){this.$val=this;if(arguments.length===0){this.ParseOptions=AO.nil;this.RenderOptions=AC.nil;this.HTML2MdRendererFuncs=false;this.HTML2VditorDOMRendererFuncs=false;this.HTML2VditorIRDOMRendererFuncs=false;this.HTML2BlockDOMRendererFuncs=false;this.HTML2VditorSVDOMRendererFuncs=false;this.Md2HTMLRendererFuncs=false;this.Md2VditorDOMRendererFuncs=false;this.Md2VditorIRDOMRendererFuncs=false;this.Md2BlockDOMRendererFuncs=false;this.Md2VditorSVDOMRendererFuncs=false;return;}this.ParseOptions=ParseOptions_;this.RenderOptions=RenderOptions_;this.HTML2MdRendererFuncs=HTML2MdRendererFuncs_;this.HTML2VditorDOMRendererFuncs=HTML2VditorDOMRendererFuncs_;this.HTML2VditorIRDOMRendererFuncs=HTML2VditorIRDOMRendererFuncs_;this.HTML2BlockDOMRendererFuncs=HTML2BlockDOMRendererFuncs_;this.HTML2VditorSVDOMRendererFuncs=HTML2VditorSVDOMRendererFuncs_;this.Md2HTMLRendererFuncs=Md2HTMLRendererFuncs_;this.Md2VditorDOMRendererFuncs=Md2VditorDOMRendererFuncs_;this.Md2VditorIRDOMRendererFuncs=Md2VditorIRDOMRendererFuncs_;this.Md2BlockDOMRendererFuncs=Md2BlockDOMRendererFuncs_;this.Md2VditorSVDOMRendererFuncs=Md2VditorSVDOMRendererFuncs_;});Z=$pkg.ParseOption=$newType(4,$kindFunc,"lute.ParseOption",true,"github.com/88250/lute",true,null);AB=$ptrType(H.Tree);AC=$ptrType(I.Options);AD=$sliceType($Uint8);AE=$ptrType(F.Node);AF=$ptrType(D.Node);AG=$ptrType(H.Context);AH=$ptrType(L.Lexer);AI=$ptrType(H.InlineContext);AJ=$sliceType($String);AK=$sliceType(AF);AL=$ptrType(D.ListData);AM=$sliceType($Int);AN=$sliceType(AJ);AO=$ptrType(H.Options);AP=$sliceType(AE);AQ=$ptrType(AP);AR=$ptrType(F.Attribute);AS=$sliceType(AR);AT=$sliceType(G.Atom);AU=$sliceType($emptyInterface);AV=$ptrType(R);AW=$sliceType(Z);AY=$ptrType(A.Buffer);BA=$mapType($String,$emptyInterface);BB=$sliceType(D.NodeType);BC=$sliceType($Int32);BD=$mapType($String,$String);BE=$ptrType(O.Object);BF=$mapType($String,BE);BG=$mapType($String,BF);BH=$mapType(D.NodeType,I.ExtRendererFunc);R.ptr.prototype.Md2HTML=function(c){var{c,d,e,f,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.MarkdownStr("",c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2HTML,$c:true,$r,c,d,e,f,$s};return $f;};R.prototype.Md2HTML=function(c){return this.$val.Md2HTML(c);};R.ptr.prototype.SpinVditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorDOM=function(c){return this.$val.SpinVditorDOM(c);};R.ptr.prototype.HTML2VditorDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorDOM2Md=function(c){return this.$val.vditorDOM2Md(c);};R.ptr.prototype.parseHTML=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=C.NewReader(c);g=F.Parse(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=-1;return AE.nil;}if(!("html"===h.FirstChild.Data)){$s=-1;return h;}$s=-1;return h.FirstChild.LastChild;}return;}var $f={$blk:R.ptr.prototype.parseHTML,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.parseHTML=function(c){return this.$val.parseHTML(c);};R.ptr.prototype.adjustVditorDOM=function(c){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;$r=d.removeEmptyNodes(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=d.removeHighlightJSSpans(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}d.mergeVditorDOMList0(e);e=e.NextSibling;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}g=c.FirstChild;while(true){if(!(!(AE.nil===g))){break;}d.adjustVditorDOMListList(g);g=g.NextSibling;}h=c.FirstChild;case 3:if(!(!(AE.nil===h))){$s=4;continue;}$r=d.adjustVditorDOMListItemInP(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=3;continue;case 4:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.adjustVditorDOM=function(c){return this.$val.adjustVditorDOM(c);};R.ptr.prototype.adjustVditorDOMListList=function(c){var c,d,e,f,g,h,i;d=this;if(!((42754===c.DataAtom))&&!((79618===c.DataAtom))&&!((45570===c.DataAtom))){return;}if(45570===c.DataAtom){if(!(AE.nil===c.FirstChild)&&(514===c.FirstChild.DataAtom)){c.FirstChild.DataAtom=0;c.FirstChild.Data="\xE2\x80\x8B";e=c.NextSibling;if(!(AE.nil===c.NextSibling)&&(45570===c.NextSibling.DataAtom)){f=e.FirstChild;if(!(AE.nil===f)&&"\xE2\x80\xB8\xE2\x80\x8B"===f.Data){f.Data="\xE2\x80\xB8\n";}}}}else{if(!(AE.nil===c.Parent)&&((42754===c.Parent.DataAtom)||(79618===c.Parent.DataAtom))){g=c.PrevSibling;if(!(AE.nil===g)){c.Unlink();g.AppendChild(c);}}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}i=h.NextSibling;d.adjustVditorDOMListList(h);h=i;}};R.prototype.adjustVditorDOMListList=function(c){return this.$val.adjustVditorDOMListList(c);};R.ptr.prototype.removeHighlightJSSpans=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.hljsSpans(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeHighlightJSSpans,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeHighlightJSSpans=function(c){return this.$val.removeHighlightJSSpans(c);};R.ptr.prototype.hljsSpans=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;if((40708===c.DataAtom)&&C.HasPrefix(J.DomAttrValue(c,"class"),"hljs-")){$s=1;continue;}$s=2;continue;case 1:d.$set($append(d.$get(),c));f=J.DomText(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,g,"",AS.nil));case 2:h=c.FirstChild;case 4:if(!(!(h===AE.nil))){$s=5;continue;}$r=e.hljsSpans(h,d);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=4;continue;case 5:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.hljsSpans,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.hljsSpans=function(c,d){return this.$val.hljsSpans(c,d);};R.ptr.prototype.removeEmptyNodes=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;d[0]=AP.nil;f=c;case 1:if(!(!(AE.nil===f))){$s=2;continue;}$r=e.searchEmptyNodes(f,(d.$ptr||(d.$ptr=new AQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},d))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f.NextSibling;$s=1;continue;case 2:g=d[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.removeEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.removeEmptyNodes=function(c){return this.$val.removeEmptyNodes(c);};R.ptr.prototype.searchEmptyNodes=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=this;f=c.DataAtom;if(f===(0)){$s=2;continue;}if(f===(40708)){$s=3;continue;}if((f===(449798))||(f===(257))||(f===(28162))||(f===(1537))||(f===(283139))||(f===(9473))||(f===(53766))||(f===(46596))){$s=4;continue;}if("katex"===J.DomAttrValue(c,"class")){$s=5;continue;}$s=6;continue;case 2:if(e.isInline(c.PrevSibling)||e.isInline(c.NextSibling)||e.isInline(c.Parent)){$s=1;continue;}if(1===c.Type){g=C.TrimLeft(c.Data," ");g=C.TrimRight(g," ");while(true){if(!(C.Contains(g,"\n\n"))){break;}g=C.ReplaceAll(g,"\n\n","");}if(""===g){d.$set($append(d.$get(),c));$s=-1;return;}}h=c.Parent;if(!(AE.nil===h)&&((79618===h.DataAtom)||(42754===h.DataAtom)||(45570===h.DataAtom))){$s=7;continue;}$s=8;continue;case 7:if(AE.nil===c.NextSibling||((1===c.NextSibling.Type)||(42754===c.NextSibling.DataAtom))){i=true;$s=11;continue s;}j=C.TrimSpace(c.Data);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(i){$s=9;continue;}$s=10;continue;case 9:c.Data=C.TrimRight(c.Data,"\n\t ");case 10:case 8:if(!(AE.nil===h)&&((365829===h.DataAtom)||(208901===h.DataAtom)||(9989===h.DataAtom)||(52226===h.DataAtom))){$s=13;continue;}$s=14;continue;case 13:k=C.TrimSpace(c.Data);$s=15;case 15:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}c.Data=k;case 14:if(""===c.Data){d.$set($append(d.$get(),c));}if(4===c.Type){d.$set($append(d.$get(),c));}$s=6;continue;case 3:l=c.LastChild;if(!(AE.nil===l)&&(514===l.DataAtom)){c.InsertAfter(l);}if(J.IsTempMarkSpan(c)){d.$set($append(d.$get(),c));m=AP.nil;n=c.FirstChild;while(true){if(!(!(n===AE.nil))){break;}m=$append(m,n);n=n.NextSibling;}o=m;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);c.InsertBefore(q);p++;}$s=-1;return;}$s=6;continue;case 4:if(!(AE.nil===c.FirstChild)){if(514===c.FirstChild.DataAtom){d.$set($append(d.$get(),c.FirstChild));c.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.FirstChild.Type){r=c.FirstChild.Data;s=e.prefixSpaces(r);if(!(""===s)){c.FirstChild.Data="\xE2\x80\x8B"+c.FirstChild.Data;}}}if(!(AE.nil===c.LastChild)){if(514===c.LastChild.DataAtom){d.$set($append(d.$get(),c.LastChild));c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));}if(1===c.LastChild.Type){t=c.LastChild.Data;u=e.suffixSpaces(t);if(!(""===u)){c.FirstChild.Data=c.FirstChild.Data+"\xE2\x80\x8B";}}}$s=6;continue;case 5:d.$set($append(d.$get(),c));case 6:case 1:v=c.FirstChild;case 16:if(!(!(v===AE.nil))){$s=17;continue;}$r=e.searchEmptyNodes(v,d);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=16;continue;case 17:w=c.DataAtom;if((w===(79618))||(w===(42754))){$s=20;continue;}$s=21;continue;case 20:x=J.DomAttrValue(c,"data-type");if("footnotes-defs-ol"===x){$s=-1;return;}if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!((281349===c.FirstChild.FirstChild.DataAtom))){$s=-1;return;}y=J.DomText(c);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(""===z){d.$set($append(d.$get(),c));}case 21:case 19:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.searchEmptyNodes,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.searchEmptyNodes=function(c,d){return this.$val.searchEmptyNodes(c,d);};R.ptr.prototype.mergeVditorDOMList0=function(c){var c,d,e,f,g,h;d=this;e=c.DataAtom;if((e===(42754))||(e===(79618))){if(!(AE.nil===c.NextSibling)&&(c.DataAtom===c.NextSibling.DataAtom)&&(1===c.NextSibling.Attr.$length)){f=c.NextSibling.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=f.NextSibling;f.Unlink();c.AppendChild(f);f=g;}c.NextSibling.Unlink();}}h=c.FirstChild;while(true){if(!(!(h===AE.nil))){break;}d.mergeVditorDOMList0(h);h=h.NextSibling;}};R.prototype.mergeVditorDOMList0=function(c){return this.$val.mergeVditorDOMList0(c);};R.ptr.prototype.adjustVditorDOMListTight0=function(c){var c,d,e,f;d=this;e=c.DataAtom;if(e===(42754)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}else if(e===(79618)){if(!d.parentIs(c,new AT([290819]))){d.setDOMAttrValue(c,"data-tight",d.isTightList(c));}}f=c.FirstChild;while(true){if(!(!(f===AE.nil))){break;}d.adjustVditorDOMListTight0(f);f=f.NextSibling;}};R.prototype.adjustVditorDOMListTight0=function(c){return this.$val.adjustVditorDOMListTight0(c);};R.ptr.prototype.adjustVditorDOMListItemInP=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=c.DataAtom;if(e===(45570)){$s=2;continue;}$s=3;continue;case 2:if(!(AE.nil===c.PrevSibling)&&J.DomAttrValue(c.PrevSibling,"data-node-id")===J.DomAttrValue(c,"data-node-id")){$s=4;continue;}$s=5;continue;case 4:f=c;g=D.NewNodeID();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=d.setDOMAttrValue(f,"data-node-id",h);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(AE.nil===c.PrevSibling)&&!(AE.nil===c.FirstChild)){$s=8;continue;}$s=9;continue;case 8:i=J.DomAttrValue(c.FirstChild,"data-node-id");if(!(""===i)&&!(AE.nil===c.PrevSibling.LastChild)&&J.DomAttrValue(c.PrevSibling.LastChild,"data-node-id")===i){$s=10;continue;}$s=11;continue;case 10:j=c.FirstChild;k=D.NewNodeID();$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=d.setDOMAttrValue(j,"data-node-id",l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 9:m=c.FirstChild;while(true){if(!(!(AE.nil===m))){break;}if(d.listItemEnter(c)){n=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\xE2\x80\xB8","",AS.nil));n.AppendChild(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,514,"br","",AS.nil));c.FirstChild.Unlink();c.FirstChild.Unlink();c.AppendChild(n);m=n;m=m.NextSibling;continue;}if(!((3073===m.DataAtom))&&!((100106===m.DataAtom))&&!((42754===m.DataAtom))&&!((79618===m.DataAtom))&&!((92931===m.DataAtom))){o=d.forwardNextBlock(m);p=o[0];q=o[1];r=new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,3,3073,"p","",AS.nil);m.InsertBefore(r);s=p;t=0;while(true){if(!(t=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]);u.Unlink();r.AppendChild(u);t++;}m=q;if(AE.nil===m){break;}}m=m.NextSibling;}case 3:case 1:v=c.FirstChild;case 14:if(!(!(v===AE.nil))){$s=15;continue;}$r=d.adjustVditorDOMListItemInP(v);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=v.NextSibling;$s=14;continue;case 15:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.adjustVditorDOMListItemInP,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};R.prototype.adjustVditorDOMListItemInP=function(c){return this.$val.adjustVditorDOMListItemInP(c);};R.ptr.prototype.forwardNextBlock=function(c){var c,d,e,f,g,h;d=AP.nil;e=AE.nil;f=this;g=c;while(true){if(!(!(AE.nil===g))){break;}h=g.DataAtom;if((h===(79618))||(h===(42754))||(h===(92931))||(h===(100106))){return[d,e];}d=$append(d,g);g=g.NextSibling;}return[d,e];};R.prototype.forwardNextBlock=function(c){return this.$val.forwardNextBlock(c);};R.ptr.prototype.listItemEnter=function(c){var c,d;d=this;if(AE.nil===c.FirstChild){return false;}if("\xE2\x80\xB8"===c.FirstChild.Data&&"br"===c.LastChild.Data){return true;}return false;};R.prototype.listItemEnter=function(c){return this.$val.listItemEnter(c);};R.ptr.prototype.isTightList=function(c){var c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;e=c.FirstChild;while(true){if(!(!(AE.nil===e))){break;}f=0;g=0;h=0;i=0;j=f;k=g;l=h;m=i;n=e.FirstChild;while(true){if(!(!(AE.nil===n))){break;}o=n.DataAtom;if((o===(42754))||(o===(79618))){j=j+(1)>>0;}else if(o===(92931)){k=k+(1)>>0;}else if(o===(100106)){l=l+(1)>>0;}else if(o===(3073)){m=m+(1)>>0;}n=n.NextSibling;}if(1>0)||1<(m+l>>0)||1<(m+j>>0)){return"false";}e=e.NextSibling;}return"true";};R.prototype.isTightList=function(c){return this.$val.isTightList(c);};R.ptr.prototype.genASTByVditorDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-block"===g){$s=8;continue;}if("toc-block"===g){$s=9;continue;}$s=10;continue;case 6:h=c.FirstChild;case 11:if(!(!(h===AE.nil))){$s=12;continue;}$r=e.genASTByVditorDOM(h,d);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h.NextSibling;$s=11;continue;case 12:$s=10;continue;case 7:i=J.DomText(c);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(j))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(k);$s=10;continue;case 8:l=c.FirstChild;if(!((79618===l.DataAtom))){$s=15;continue;}$s=16;continue;case 15:$s=17;case 17:return;case 16:m=l.FirstChild;case 18:if(!(!(AE.nil===m))){$s=19;continue;}if("\n"===m.Data){m=m.NextSibling;$s=18;continue;}n=new A.Buffer.ptr(AD.nil,0,0);o=F.Render(n,m);$s=20;case 20:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if($interfaceIsEqual($ifaceNil,p)){$s=21;continue;}$s=22;continue;case 21:q=e.vditorDOM2Md("
      "+n.String()+"
    ");$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=J.DomAttrValue(m,"data-marker");r=$substring(r,3);t=C.Split(r,"\n");r="";u=t;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);if(0=ak.$length?($throwRuntimeError("index out of range"),undefined):ak.$array[ak.$offset+1]))-48<<24>>>24)>>0));al=J.DomAttrValue(c,"data-marker");am=J.DomAttrValue(c,"data-id");if(!(""===am)){c.LastChild.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," {"+am+"}","",AS.nil));}ac.HeadingSetext="="===al||"-"===al;if(!ac.HeadingSetext){an=new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");an.Tokens=(new AD($stringToBytes(C.Repeat("#",ac.HeadingLevel))));ac.AppendChild(an);}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 30:ac.Type=4;d.Context.Tip.AppendChild(ac);$s=56;continue;case 31:ao=J.DomText(c);$s=69;case 69:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=C.TrimSpace(ao);$s=70;case 70:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(""===aq||">"===aq||"\xE2\x80\xB8"===aq){$s=71;continue;}$s=72;continue;case 71:$s=73;case 73:return;case 72:ac.Type=5;ac.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(">"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 32:if(AE.nil===c.FirstChild){$s=74;continue;}$s=75;continue;case 74:$s=76;case 76:return;case 75:ac.Type=7;ac.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ac.ListData.Typ=1;}ar=J.DomAttrValue(c,"data-tight");if("true"===ar||""===ar){ac.ListData.Tight=true;}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 33:ac.Type=8;as=J.DomAttrValue(c,"data-marker");at=0;if(""===as){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){au=J.DomAttrValue(c.Parent.FirstChild,"data-marker");av=J.DomAttrValue(c.Parent,"start");if(""===av){as="1";}else{as=av;}if(!(""===au)){as=as+($substring(au,(au.length-1>>0)));}else{as=as+(".");}}else{as=J.DomAttrValue(c.Parent,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===as||"-"===as||"+"===as){as="1.";}if(!("1."===as)&&!("1)"===as)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){as="1.";}if(!("1."===as)&&!("1)"===as)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){as="1.";}}else{if(!("*"===as)&&!("-"===as)&&!("+"===as)){as="*";}at=as.charCodeAt(0);}}else{as=J.DomAttrValue(c,"data-marker");if(""===as){as="*";}at=as.charCodeAt(0);}}ac.ListData=new D.ListData.ptr(0,false,at,0,0,0,0,false,(new AD($stringToBytes(as))),0);if(0===at){aw=B.Atoi(($encodeRune(as.charCodeAt(0))));ac.ListData.Num=aw[0];ac.ListData.Delimiter=as.charCodeAt((as.length-1>>0));}d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 34:if(378116===c.FirstChild.DataAtom){ax=J.DomAttrValue(c.Parent,"data-marker");if(""===ax){ax="```";}ay=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){ay=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}az=J.DomAttrValue(c.Parent,"data-type");ba=az;if(ba===("math-block")){ac.Type=300;ac.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("yaml-front-matter")){ac.Type=425;ac.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}else if(ba===("html-block")){ac.Type=9;ac.Tokens=ay;d.Context.Tip.AppendChild(ac);}else{ac.Type=11;ac.IsFencedCodeBlock=true;ac.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bb=J.DomAttrValue(c.FirstChild,"class");if(C.Contains(bb,"language-")){bc=$substring(bb,9);ac.LastChild.CodeBlockInfo=(new AD($stringToBytes(bc)));}bd=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ac.AppendChild(bd);ac.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ax))),"","",false,false,false,0,false,0,ax.length,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);}}$s=77;case 77:return;case 35:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=78;continue;}$s=79;continue;case 78:$s=80;case 80:return;case 79:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}be=J.DomText(c);$s=81;case 81:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=C.TrimSpace(be);$s=82;case 82:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=e.isEmptyText(c);$s=85;case 85:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}if(bh){$s=83;continue;}$s=84;continue;case 83:$s=86;case 86:return;case 84:if("\xE2\x80\xB8"===bg){$s=87;continue;}$s=88;continue;case 87:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=89;case 89:return;case 88:ac.Type=17;bi=J.DomAttrValue(c,"data-marker");if(""===bi){bi="*";}if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=90;continue;}$s=91;continue;case 90:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===bi){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bi))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=92;case 92:return;case 91:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 36:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bj=J.DomText(c);$s=96;case 96:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=C.TrimSpace(bj);$s=97;case 97:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=bk;bm=e.isEmptyText(c);$s=100;case 100:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=98;continue;}$s=99;continue;case 98:$s=101;case 101:return;case 99:if("\xE2\x80\xB8"===bl){$s=102;continue;}$s=103;continue;case 102:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=104;case 104:return;case 103:ac.Type=22;bn=J.DomAttrValue(c,"data-marker");if(""===bn){bn="**";}if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=105;continue;}$s=106;continue;case 105:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===bn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=107;case 107:return;case 106:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 37:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=108;continue;}$s=109;continue;case 108:$s=110;case 110:return;case 109:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=111;case 111:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=112;case 112:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=115;case 115:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=113;continue;}$s=114;continue;case 113:$s=116;case 116:return;case 114:if("\xE2\x80\xB8"===bq){$s=117;continue;}$s=118;continue;case 117:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=119;case 119:return;case 118:ac.Type=101;bs=J.DomAttrValue(c,"data-marker");if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=120;continue;}$s=121;continue;case 120:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===bs){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=122;case 122:return;case 121:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 38:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=123;continue;}$s=124;continue;case 123:$s=125;case 125:return;case 124:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bt=J.DomText(c);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=C.TrimSpace(bt);$s=127;case 127:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=bu;bw=e.isEmptyText(c);$s=130;case 130:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}if(bw){$s=128;continue;}$s=129;continue;case 128:$s=131;case 131:return;case 129:if("\xE2\x80\xB8"===bv){$s=132;continue;}$s=133;continue;case 132:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=134;case 134:return;case 133:ac.Type=450;bx=J.DomAttrValue(c,"data-marker");if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(ac);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=135;continue;}$s=136;continue;case 135:ac.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===bx){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=137;case 137:return;case 136:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if(C.HasPrefix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.PrevSibling){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data," ");ac.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}if(C.HasSuffix(c.FirstChild.Data," ")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data," ");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0," ","",AS.nil));}if(C.HasSuffix(c.FirstChild.Data,"\n")&&AE.nil===c.FirstChild.NextSibling){c.FirstChild.Data=C.TrimRight(c.FirstChild.Data,"\n");c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,1,0,"\n","",AS.nil));}d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 39:if(AE.nil===c.FirstChild){$s=138;continue;}$s=139;continue;case 138:$s=140;case 140:return;case 139:by=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===by){$s=141;continue;}$s=142;continue;case 141:ac.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ac);$s=143;case 143:return;case 142:if(""===by){$s=144;continue;}$s=145;continue;case 144:$s=146;case 146:return;case 145:bz=(new AD($stringToBytes(by)));if("html-inline"===g){$s=147;continue;}$s=148;continue;case 147:ac.Type=10;ac.Tokens=bz;d.Context.Tip.AppendChild(ac);$s=149;case 149:return;case 148:ca=J.DomAttrValue(c,"data-marker");if(""===ca){ca="`";}if(A.HasPrefix(bz,(new AD($stringToBytes("`"))))){bz=$appendSlice((new AD($stringToBytes(" "))),bz);bz=$append(bz,32);}ac.Type=27;ac.CodeMarkerLen=ca.length;ac.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bz,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=150;case 150:return;case 40:if(!(AE.nil===c.Parent)){$s=151;continue;}$s=152;continue;case 151:if(e.parentIs(c,new AT([37378,87554]))){$s=153;continue;}$s=154;continue;case 153:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=155;continue;}$s=156;continue;case 155:$s=157;case 157:return;case 156:if(AE.nil===c.NextSibling){$s=158;continue;}$s=159;continue;case 158:$s=160;case 160:return;case 159:ac.Type=10;ac.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ac);$s=161;case 161:return;case 154:if(3073===c.Parent.DataAtom){$s=162;continue;}$s=163;continue;case 162:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=164;continue;}$s=165;continue;case 164:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=166;case 166:return;case 165:if(!(AE.nil===c.Parent.Parent)&&!(AE.nil===c.Parent.Parent.NextSibling)&&(45570===c.Parent.Parent.NextSibling.DataAtom)){$s=167;continue;}$s=168;continue;case 167:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=169;case 169:return;case 168:case 163:case 152:ac.Type=31;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 41:if(c.FirstChild===AE.nil||(c.FirstChild.Type===1)){$s=170;continue;}$s=171;continue;case 170:cb=J.DomText(c);$s=172;case 172:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if(""===cc||"\xE2\x80\x8B"===cc){$s=173;continue;}$s=174;continue;case 173:$s=175;case 175:return;case 174:case 171:ac.Type=33;ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 42:cd=aa;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=176;continue;}$s=177;continue;case 176:ac.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(cf);$s=178;continue;case 177:if("link-ref"===g){$s=179;continue;}$s=180;continue;case 179:ac.Type=16;cg="!["+J.DomAttrValue(c,"alt")+"]["+J.DomAttrValue(c,"data-link-label")+"]";ac.Tokens=(new AD($stringToBytes(cg)));d.Context.Tip.AppendChild(ac);$s=181;case 181:return;case 180:ac.Type=34;ac.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===ce)){ac.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ce))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ch=J.DomAttrValue(c,"src");if(!(""===e.RenderOptions.LinkBase)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){ch=C.ReplaceAll(ch,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ch))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomAttrValue(c,"title");if(!(""===ci)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ci))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 178:d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 43:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=185;continue;}$s=186;continue;case 185:cj=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=187;case 187:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cj;$s=26;continue;case 186:ac.Type=100;ac.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ac);if(!(AF.nil===ac.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.ListData)){ac.Parent.Parent.ListData.Typ=3;}if(!(AF.nil===ac.Parent.Parent.Parent)&&!(AL.nil===ac.Parent.Parent.Parent.ListData)){ac.Parent.Parent.Parent.ListData.Typ=3;}$s=56;continue;case 44:ac.Type=106;ck=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=188;continue;}$s=189;continue;case 188:$s=190;case 190:return;case 189:cl=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===cl))){break;}cm=J.DomAttrValue(cl,"align");cn=cm;if(cn===("left")){ck=$append(ck,1);}else if(cn===("center")){ck=$append(ck,2);}else if(cn===("right")){ck=$append(ck,3);}else{ck=$append(ck,0);}cl=cl.NextSibling;}ac.TableAligns=ck;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 45:ac.Type=107;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 46:$s=56;continue;case 47:ac.Type=108;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 48:ac.Type=109;co=J.DomAttrValue(c,"align");cp=0;cq=co;if(cq===("left")){cp=1;}else if(cq===("center")){cp=2;}else if(cq===("right")){cp=3;}else{cp=0;}ac.TableCellAlign=cp;ac.Tokens=AD.nil;d.Context.Tip.AppendChild(ac);d.Context.Tip=ac;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=56;continue;case 49:if(AE.nil===c.FirstChild){$s=26;continue;}if("footnotes-ref"===g){ac.Type=16;ac.Tokens=(new AD($stringToBytes("["+J.DomAttrValue(c,"data-footnotes-label")+"]")));if(C.Contains(c.FirstChild.Data,"\xE2\x80\xB8")){ac.Tokens=$appendSlice(ac.Tokens,E.CaretTokens);}d.Context.Tip.AppendChild(ac);}$s=191;case 191:return;case 50:if(AE.nil===c.FirstChild){$s=26;continue;}if(C.Contains(aa,"vditor-comment")){$s=192;continue;}$s=193;continue;case 192:ac.Type=10;cr=new A.Buffer.ptr(AD.nil,0,0);cs=cr.WriteString("=ct.$length)?($throwRuntimeError("index out of range"),undefined):ct.$array[ct.$offset+cu]);cx=cr.WriteString(cw.Key);$s=197;case 197:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}cx;if(!(""===cw.Val)){$s=198;continue;}$s=199;continue;case 198:cy=cr.WriteString("=\"");$s=200;case 200:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=cr.WriteString(cw.Val);$s=201;case 201:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;da=cr.WriteString("\"");$s=202;case 202:if($c){$c=false;da=da.$blk();}if(da&&da.$blk!==undefined){break s;}da;case 199:if(cv<(c.Attr.$length-1>>0)){$s=203;continue;}$s=204;continue;case 203:db=cr.WriteString(" ");$s=205;case 205:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}db;case 204:cu++;$s=195;continue;case 196:dc=cr.WriteString(">");$s=206;case 206:if($c){$c=false;dc=dc.$blk();}if(dc&&dc.$blk!==undefined){break s;}dc;ac.Tokens=cr.Bytes();d.Context.Tip.AppendChild(ac);$s=26;continue;case 193:if("link-ref"===g){$s=207;continue;}$s=208;continue;case 207:ac.Type=16;dd="["+c.FirstChild.Data+"]["+J.DomAttrValue(c,"data-link-label")+"]";if(!(AE.nil===c.NextSibling)&&"2"===J.DomAttrValue(c.NextSibling,"data-render")){dd="!"+dd;}ac.Tokens=(new AD($stringToBytes(dd)));d.Context.Tip.AppendChild(ac);$s=209;case 209:return;case 208:de=AD.nil;if("\xE2\x80\x8B"===c.FirstChild.Data&&""===J.DomAttrValue(c,"style")&&!(AE.nil===c.FirstChild.NextSibling)){de=(new AD($stringToBytes(c.FirstChild.NextSibling.FirstChild.Data)));}else if(378116===c.FirstChild.DataAtom){de=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));if("\xE2\x80\x8B"===($bytesToString(de))){$s=26;continue;}}if("math-inline"===g){$s=210;continue;}if("html-inline"===g){$s=211;continue;}if("code-inline"===g){$s=212;continue;}if("html-entity"===g){$s=213;continue;}$s=214;continue;case 210:ac.Type=304;ac.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,de,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ac);$s=215;case 215:return;case 211:ac.Type=10;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=216;case 216:return;case 212:ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=217;case 217:return;case 213:ac.Type=16;ac.Tokens=de;d.Context.Tip.AppendChild(ac);$s=218;case 218:return;case 214:$s=26;continue;$s=56;continue;case 51:ac.Type=16;df=J.DomText(c);$s=219;case 219:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}ac.Tokens=(new AD($stringToBytes(df)));d.Context.Tip.AppendChild(ac);$s=220;case 220:return;case 52:ac.Type=9;dg=J.DomHTML(c);$s=221;case 221:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}ac.Tokens=dg;ac.Tokens=(dh=A.SplitAfter(ac.Tokens,(new AD($stringToBytes("")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ac);$s=56;continue;case 53:ac.Type=10;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ac.Tokens=di;d.Context.Tip.AppendChild(ac);$s=223;case 223:return;case 54:$s=224;case 224:return;case 55:ac.Type=9;dj=J.DomHTML(c);$s=225;case 225:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}ac.Tokens=dj;d.Context.Tip.AppendChild(ac);$s=226;case 226:return;case 56:case 26:dk=c.FirstChild;case 227:if(!(!(dk===AE.nil))){$s=228;continue;}$r=e.genASTByVditorDOM(dk,d);$s=229;case 229:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dk=dk.NextSibling;$s=227;continue;case 228:dl=c.DataAtom;if(dl===(40708)){if(C.Contains(aa,"vditor-comment")){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",10,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(28162))||(dl===(1537))){dm=J.DomAttrValue(c,"data-marker");if(""===dm){dm="*";}if("_"===dm){ac.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dl===(449798))||(dl===(257))){dn=J.DomAttrValue(c,"data-marker");if(""===dn){dn="**";}if("__"===dn){ac.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(1)){ac.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dp=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dp=C.ReplaceAll(dp,e.RenderOptions.LinkPrefix,"");}ac.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dp))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dq=J.DomAttrValue(c,"title");if(!(""===dq)){ac.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ac.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dq))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ac.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dl===(283139))||(dl===(9473))||(dl===(53766))){dr=J.DomAttrValue(c,"data-marker");if("~"===dr){ac.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dr))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(46596)){ds=J.DomAttrValue(c,"data-marker");if("="===ds){ac.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{ac.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(ds))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dl===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorDOM=function(c,d){return this.$val.genASTByVditorDOM(c,d);};R.ptr.prototype.hasAttr=function(c,d){var c,d,e,f,g,h;e=this;f=c.Attr;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(h.Key===d){return true;}g++;}return false;};R.prototype.hasAttr=function(c,d){return this.$val.hasAttr(c,d);};R.ptr.prototype.domChild=function(c,d){var c,d,e,f,g;e=this;if(AE.nil===c){return AE.nil;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild=function(c,d){return this.$val.domChild(c,d);};R.ptr.prototype.domChild0=function(c,d){var c,d,e,f,g;e=this;if(c.DataAtom===d){return c;}f=c.FirstChild;while(true){if(!(!(AE.nil===f))){break;}g=e.domChild0(f,d);if(!(AE.nil===g)){return g;}f=f.NextSibling;}return AE.nil;};R.prototype.domChild0=function(c,d){return this.$val.domChild0(c,d);};R.ptr.prototype.setDOMAttrValue=function(c,d,e){var c,d,e,f,g,h,i;f=this;if(AE.nil===c){return;}g=c.Attr;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i.Key===d){i.Val=e;return;}h++;}c.Attr=$append(c.Attr,new F.Attribute.ptr("",d,e));};R.prototype.setDOMAttrValue=function(c,d,e){return this.$val.setDOMAttrValue(c,d,e);};R.ptr.prototype.parentIs=function(c,d){var c,d,e,f,g,h,i;e=this;f=c.Parent;while(true){if(!(!(AE.nil===f))){break;}g=d;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(i===f.DataAtom){return true;}h++;}f=f.Parent;}return false;};R.prototype.parentIs=function(c,d){return this.$val.parentIs(c,d);};R.ptr.prototype.isCaret=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=false;e=false;f=this;g=J.DomText(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=C.TrimSpace(h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(1>j.length&&1>0;while(true){if(!(f>=0)){break;}if((32===c.charCodeAt(f))||(160===c.charCodeAt(f))){d=d+(" ");}else{return d;}f=f-(1)>>0;}return d;};R.prototype.suffixSpaces=function(c){return this.$val.suffixSpaces(c);};R.ptr.prototype.SpinVditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=C.TrimSpace(c);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if("\xE2\x80\xB8"===f){$s=1;continue;}$s=2;continue;case 1:d=""+($bytesToString(I.NewlineSV));$s=-1;return d;case 2:g=H.Parse("",(new AD($stringToBytes(c))),e.ParseOptions);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewVditorSVRenderer(h,e.RenderOptions);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=C.ReplaceAll(($bytesToString(l)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.SpinVditorSVDOM=function(c){return this.$val.SpinVditorSVDOM(c);};R.ptr.prototype.HTML2VditorSVDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorSVRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorSVDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Md2VditorSVDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.Md2VditorSVDOM=function(c){return this.$val.Md2VditorSVDOM(c);};R.ptr.prototype.SpinVditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=e.vditorIRDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=I.NewVditorIRRenderer(i,e.RenderOptions);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=k.BaseRenderer.Render();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;d=C.ReplaceAll(($bytesToString(m)),"\xE2\x80\xB8","");$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinVditorIRDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};R.prototype.SpinVditorIRDOM=function(c){return this.$val.SpinVditorIRDOM(c);};R.ptr.prototype.HTML2VditorIRDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewVditorIRRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2VditorIRDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p","");c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");f=e.parseHTML(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(AE.nil===g){$s=-1;return d;}$r=e.adjustVditorDOM(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h.Context.Tip=h.Root;i=g.FirstChild;case 3:if(!(!(AE.nil===i))){$s=4;continue;}$r=e.genASTByVditorIRDOM(i,h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i.NextSibling;$s=3;continue;case 4:$r=D.Walk(h.Root,(function(j,k){var j,k,l,m;if(k){l=j.Type;if((l===(10))||(l===(27))||(l===(304))||(l===(9))||(l===(15))||(l===(302))){j.Tokens=F.UnescapeHTML(j.Tokens);if(!(AF.nil===j.Next)&&(27===j.Next.Type)&&(j.CodeMarkerLen===j.Next.CodeMarkerLen)){j.FirstChild.Next.Tokens=$appendSlice(j.FirstChild.Next.Tokens,j.Next.FirstChild.Next.Tokens);j.Next.Unlink();}}else if(l===(7)){if(!(AF.nil===j.Parent)&&(7===j.Parent.Type)){m=j.Previous;if(!(AF.nil===m)){m.AppendChild(j);}}}}return 2;}));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=I.NewOptions();j.AutoSpace=false;j.FixTermTypo=false;k=I.NewFormatRenderer(h,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.BaseRenderer.Render();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;d=($bytesToString(n));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.vditorIRDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.vditorIRDOM2Md=function(c){return this.$val.vditorIRDOM2Md(c);};R.ptr.prototype.genASTByVditorIRDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"data-render");if("1"===f||"2"===f){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:g=J.DomAttrValue(c,"data-type");if(92931===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:if("code-block"===g||"html-block"===g||"math-block"===g||"yaml-front-matter"===g){$s=6;continue;}if("link-ref-defs-block"===g){$s=7;continue;}if("footnotes-def"===g){$s=8;continue;}if("footnotes-block"===g){$s=9;continue;}if("toc-block"===g){$s=10;continue;}$s=11;continue;case 6:if(("code-block"===g||"math-block"===g)&&!C.Contains(J.DomAttrValue(c.FirstChild,"data-type"),"-block-open-marker")){$s=13;continue;}$s=14;continue;case 13:h=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=J.DomText(c.FirstChild);$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(i))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(j);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$s=16;case 16:return;case 14:k=c.FirstChild;case 17:if(!(!(k===AE.nil))){$s=18;continue;}$r=e.genASTByVditorIRDOM(k,d);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=17;continue;case 18:$s=12;continue;case 7:l=J.DomText(c);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(m))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(n);$s=12;continue;case 8:o=c.FirstChild;case 21:if(!(!(o===AE.nil))){$s=22;continue;}$r=e.genASTByVditorIRDOM(o,d);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=o.NextSibling;$s=21;continue;case 22:$s=12;continue;case 9:p=c.FirstChild;case 24:if(!(!(AE.nil===p))){$s=25;continue;}q=new A.Buffer.ptr(AD.nil,0,0);r=F.Render(q,p);$s=26;case 26:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if($interfaceIsEqual($ifaceNil,s)){$s=27;continue;}$s=28;continue;case 27:t=e.vditorIRDOM2Md(q.String());$s=29;case 29:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=C.Split(u,"\n");u="";w=v;x=0;while(true){if(!(x=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]);if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 38:if(AE.nil===c.FirstChild){$s=94;continue;}$s=95;continue;case 94:$s=96;case 96:return;case 95:ag.Type=7;ag.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){ag.ListData.Typ=1;}ba=J.DomAttrValue(c,"data-tight");if("true"===ba||""===ba){ag.ListData.Tight=true;}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 39:bb=c.FirstChild;if(!(AE.nil===bb)&&(3073===bb.DataAtom)&&!(AE.nil===bb.NextSibling)&&(3073===bb.NextSibling.DataAtom)){d.Context.Tip.ListData.Tight=false;}ag.Type=8;bc=J.DomAttrValue(c,"data-marker");bd=0;if(""===bc){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){be=J.DomAttrValue(c.Parent.FirstChild,"data-marker");bf=J.DomAttrValue(c.Parent,"start");if(""===bf){bc="1";}else{bc=bf;}if(!(""===be)){bc=bc+($substring(be,(be.length-1>>0)));}else{bc=bc+(".");}}else{bc=J.DomAttrValue(c.Parent,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)){if(79618===c.Parent.DataAtom){if("*"===bc||"-"===bc||"+"===bc){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&!(AE.nil===c.PrevSibling)&&!((45570===c.PrevSibling.DataAtom))&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){bc="1.";}if(!("1."===bc)&&!("1)"===bc)&&(79618===c.Parent.DataAtom)&&c.Parent.FirstChild===c&&""===J.DomAttrValue(c.Parent,"start")){bc="1.";}}else{if(!("*"===bc)&&!("-"===bc)&&!("+"===bc)){bc="*";}bd=bc.charCodeAt(0);}}else{bc=J.DomAttrValue(c,"data-marker");if(""===bc){bc="*";}bd=bc.charCodeAt(0);}}ag.ListData=new D.ListData.ptr(0,false,bd,0,0,0,0,false,(new AD($stringToBytes(bc))),0);if(0===bd){bg=B.Atoi($substring(bc,0,(bc.length-1>>0)));ag.ListData.Num=bg[0];ag.ListData.Delimiter=bc.charCodeAt((bc.length-1>>0));}d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 40:if(378116===c.FirstChild.DataAtom){bh=AD.nil;if(!(AE.nil===c.FirstChild.FirstChild)){bh=(new AD($stringToBytes(c.FirstChild.FirstChild.Data)));}bi=J.DomAttrValue(c.Parent,"data-type");bj=bi;if(bj===("math-block")){ag.Type=302;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("html-block")){ag.Type=9;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}else if(bj===("yaml-front-matter")){ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",427,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,bh,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);}else{ag.Type=15;ag.Tokens=bh;d.Context.Tip.AppendChild(ag);}}$s=97;case 97:return;case 41:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=98;continue;}$s=99;continue;case 98:$s=100;case 100:return;case 99:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bk=J.DomText(c);$s=101;case 101:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=C.TrimSpace(bk);$s=102;case 102:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=bl;bn=e.isEmptyText(c);$s=105;case 105:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}if(bn){$s=103;continue;}$s=104;continue;case 103:$s=106;case 106:return;case 104:if("\xE2\x80\xB8"===bm){$s=107;continue;}$s=108;continue;case 107:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=109;case 109:return;case 108:ag.Type=17;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 42:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=110;continue;}$s=111;continue;case 110:$s=112;case 112:return;case 111:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bo=J.DomText(c);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=C.TrimSpace(bo);$s=114;case 114:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;br=e.isEmptyText(c);$s=117;case 117:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}if(br){$s=115;continue;}$s=116;continue;case 115:$s=118;case 118:return;case 116:if("\xE2\x80\xB8"===bq){$s=119;continue;}$s=120;continue;case 119:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=121;case 121:return;case 120:ag.Type=22;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 43:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=122;continue;}$s=123;continue;case 122:$s=124;case 124:return;case 123:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bs=J.DomText(c);$s=125;case 125:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=C.TrimSpace(bs);$s=126;case 126:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;bv=e.isEmptyText(c);$s=129;case 129:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=127;continue;}$s=128;continue;case 127:$s=130;case 130:return;case 128:if("\xE2\x80\xB8"===bu){$s=131;continue;}$s=132;continue;case 131:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=133;case 133:return;case 132:ag.Type=101;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 44:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=134;continue;}$s=135;continue;case 134:$s=136;case 136:return;case 135:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}bw=J.DomText(c);$s=137;case 137:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=C.TrimSpace(bw);$s=138;case 138:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=bx;bz=e.isEmptyText(c);$s=141;case 141:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}if(bz){$s=139;continue;}$s=140;continue;case 139:$s=142;case 142:return;case 140:if("\xE2\x80\xB8"===by){$s=143;continue;}$s=144;continue;case 143:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=145;case 145:return;case 144:ag.Type=450;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 45:if(AE.nil===c.FirstChild){$s=146;continue;}$s=147;continue;case 146:$s=148;case 148:return;case 147:ca=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");if("\xE2\x80\xB8"===ca){$s=149;continue;}$s=150;continue;case 149:ag.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(ag);$s=151;case 151:return;case 150:if(""===ca){$s=152;continue;}$s=153;continue;case 152:$s=154;case 154:return;case 153:cb=(new AD($stringToBytes(ca)));cc=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cb,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ag.Type=27;ag.AppendChild(cc);d.Context.Tip.AppendChild(ag);$s=155;case 155:return;case 46:if(!(AE.nil===c.Parent)){$s=156;continue;}$s=157;continue;case 156:if(e.parentIs(c,new AT([37378,87554]))){$s=158;continue;}$s=159;continue;case 158:if((AE.nil===c.PrevSibling||"\xE2\x80\xB8"===c.PrevSibling.Data)&&(AE.nil===c.NextSibling||"\xE2\x80\xB8"===c.NextSibling.Data)){$s=160;continue;}$s=161;continue;case 160:$s=162;case 162:return;case 161:if(AE.nil===c.NextSibling){$s=163;continue;}$s=164;continue;case 163:$s=165;case 165:return;case 164:ag.Type=10;ag.Tokens=(new AD($stringToBytes("
    ")));d.Context.Tip.AppendChild(ag);$s=166;case 166:return;case 159:if(3073===c.Parent.DataAtom){$s=167;continue;}$s=168;continue;case 167:if(!(AE.nil===c.Parent.NextSibling)&&((42754===c.Parent.NextSibling.DataAtom)||(79618===c.Parent.NextSibling.DataAtom)||(100106===c.Parent.NextSibling.DataAtom))){$s=169;continue;}$s=170;continue;case 169:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=171;case 171:return;case 170:case 168:case 157:ag.Type=31;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 47:ag.Type=33;ag.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 48:cd=ae;ce=J.DomAttrValue(c,"alt");if("emoji"===cd){$s=172;continue;}$s=173;continue;case 172:ag.Type=200;cf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(ce,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");cf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+ce+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(cf);d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=174;continue;case 173:$s=175;case 175:return;case 174:$s=62;continue;case 49:if(AE.nil===c.Parent||AE.nil===c.Parent.Parent||(!((3073===c.Parent.DataAtom))&&!((45570===c.Parent.DataAtom)))){$s=176;continue;}$s=177;continue;case 176:$s=178;case 178:return;case 177:if(!(AE.nil===c.NextSibling)&&(40708===c.NextSibling.DataAtom)){$s=179;continue;}$s=180;continue;case 179:cg=C.TrimSpace(c.NextSibling.FirstChild.Data);$s=181;case 181:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}c.NextSibling.FirstChild.Data=cg;$s=32;continue;case 180:ag.Type=100;ag.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(ag);if(!(AF.nil===ag.Parent.Parent.Parent)&&!(AL.nil===ag.Parent.Parent.Parent.ListData)){ag.Parent.Parent.Parent.ListData.Typ=3;}$s=62;continue;case 50:ag.Type=106;ch=AM.nil;if(AE.nil===c.FirstChild||AE.nil===c.FirstChild.FirstChild||AE.nil===c.FirstChild.FirstChild.FirstChild){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:ci=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ci))){break;}cj=J.DomAttrValue(ci,"align");ck=cj;if(ck===("left")){ch=$append(ch,1);}else if(ck===("center")){ch=$append(ch,2);}else if(ck===("right")){ch=$append(ch,3);}else{ch=$append(ch,0);}ci=ci.NextSibling;}ag.TableAligns=ch;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 51:ag.Type=107;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 52:$s=62;continue;case 53:ag.Type=108;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 54:ag.Type=109;cl=J.DomAttrValue(c,"align");cm=0;cn=cl;if(cn===("left")){cm=1;}else if(cn===("center")){cm=2;}else if(cn===("right")){cm=3;}else{cm=0;}ag.TableCellAlign=cm;ag.Tokens=AD.nil;d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=62;continue;case 55:if(AE.nil===c.FirstChild){$s=32;continue;}if("footnotes-ref"===g){$s=185;continue;}$s=186;continue;case 185:ag.Type=16;co=J.DomText(c);$s=187;case 187:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(co)));d.Context.Tip.AppendChild(ag);case 186:$s=188;case 188:return;case 56:cp=g;if(cp===("inline-node")||cp===("em")||cp===("strong")||cp===("s")||cp===("a")||cp===("link-ref")||cp===("img")||cp===("code")||cp===("heading-id")||cp===("html-inline")||cp===("inline-math")||cp===("html-entity")){$s=190;continue;}if(cp===("math-block-close-marker")){$s=191;continue;}if(cp===("math-block-open-marker")){$s=192;continue;}if(cp===("yaml-front-matter-close-marker")){$s=193;continue;}if(cp===("yaml-front-matter-open-marker")){$s=194;continue;}if(cp===("code-block-open-marker")){$s=195;continue;}if(cp===("code-block-info")){$s=196;continue;}if(cp===("code-block-close-marker")){$s=197;continue;}if(cp===("heading-marker")){$s=198;continue;}$s=199;continue;case 190:ag.Type=16;cq=J.DomText(c);$s=200;case 200:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}ag.Tokens=(new AD($stringToBytes(cq)));d.Context.Tip.AppendChild(ag);$s=201;case 201:return;case 191:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=202;case 202:return;case 192:ag.Type=300;ag.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.MathBlockMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=203;case 203:return;case 193:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",428,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=204;case 204:return;case 194:ag.Type=425;ag.AppendChild(new D.Node.ptr("","","","",426,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,H.YamlFrontMatterMarker,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(ag);d.Context.Tip=ag;$s=205;case 205:return;case 195:if(290819===c.NextSibling.DataAtom){c.InsertAfter(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,40708,"","",new AS([new F.Attribute.ptr("","data-type","code-block-info")])));}cr=J.DomText(c);$s=206;case 206:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=(new AD($stringToBytes(cr)));ct=A.LastIndex(cs,(new AD($stringToBytes("`"))))+1>>0;if(0>0;if(0")))),(0>=dh.$length?($throwRuntimeError("index out of range"),undefined):dh.$array[dh.$offset+0]));d.Context.Tip.AppendChild(ag);$s=62;continue;case 59:$s=62;continue;case 60:$s=221;case 221:return;case 61:ag.Type=9;di=J.DomHTML(c);$s=222;case 222:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}ag.Tokens=di;d.Context.Tip.AppendChild(ag);$s=223;case 223:return;case 62:case 32:dj=c.FirstChild;case 224:if(!(!(dj===AE.nil))){$s=225;continue;}$r=e.genASTByVditorIRDOM(dj,d);$s=226;case 226:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}dj=dj.NextSibling;$s=224;continue;case 225:dk=c.DataAtom;if(dk===(1)){ag.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dl=J.DomAttrValue(c,"href");if(!(""===e.RenderOptions.LinkBase)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){dl=C.ReplaceAll(dl,e.RenderOptions.LinkPrefix,"");}ag.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dm=J.DomAttrValue(c,"title");if(!(""===dm)){ag.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ag.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ag.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dk===(29191)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByVditorIRDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByVditorIRDOM=function(c,d){return this.$val.genASTByVditorIRDOM(c,d);};R.ptr.prototype.SpinBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.blockDOM2Md(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g=C.ReplaceAll(g,"\xE2\x80\x8B","");h=H.Parse("",(new AD($stringToBytes(g))),e.ParseOptions);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=i.Root.FirstChild;k=i.Root.LastChild.Previous;if((1===j.Type)&&""===j.ID&&!(AF.nil===k)&&!(j===k.Previous)&&(455===k.Type)){l=k.Previous.ID;m="";j.ID=l;k.Previous.ID=m;n=k.Previous.KramdownIAL;o=AN.nil;j.KramdownIAL=n;k.Previous.KramdownIAL=o;j.InsertAfter(k);}if((455===j.Type)&&!(AF.nil===j.Next)&&(455===j.Next.Type)&&J.IsDocIAL(j.Next.Tokens)){p=H.Tokens2IAL(j.Tokens);q=H.IAL2Map(p);s=new D.Node.ptr((r=$mapIndex(q,$String.keyFor("id")),r!==undefined?r.v:""),"","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,p,false,"","","","","","","","","","","",0,"");j.InsertBefore(s);}$r=H.NestedInlines2FlattedSpansHybrid(i,false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=e.Tree2BlockDOM(i,e.RenderOptions);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.SpinBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};R.prototype.SpinBlockDOM=function(c){return this.$val.SpinBlockDOM(c);};R.ptr.prototype.HTML2BlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;g=e.HTML2Markdown(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual($ifaceNil,i))){$s=2;continue;}$s=3;continue;case 2:j=i.Error();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;case 3:k=H.Parse("",(new AD($stringToBytes(h))),e.ParseOptions);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=I.NewProtyleRenderer(l,e.RenderOptions);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=e.HTML2BlockDOMRendererFuncs;p=0;q=o?o.keys():undefined;r=o?o.size:0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);o.Unlink();n++;}p=d[0];q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);j.Root.AppendChild(r);q++;}s=I.NewProtyleRenderer(j,f.RenderOptions);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t.BaseRenderer.Render();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;e=J.BytesToStr(v);w=C.TrimSpace(e);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}e=w;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2InlineBlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s};return $f;};R.prototype.BlockDOM2InlineBlockDOM=function(c){return this.$val.BlockDOM2InlineBlockDOM(c);};R.ptr.prototype.Md2BlockDOM=function(c,d){var{c,d,e,f,g,h,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;h=f.Md2BlockDOMTree(c,d);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e=g[0];$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Md2BlockDOM,$c:true,$r,c,d,e,f,g,h,$s};return $f;};R.prototype.Md2BlockDOM=function(c,d){return this.$val.Md2BlockDOM(c,d);};R.ptr.prototype.Md2BlockDOMTree=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=AB.nil;g=this;h=H.Parse("",(new AD($stringToBytes(c))),g.ParseOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;$r=H.NestedInlines2FlattedSpansHybrid(f,false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d){$s=3;continue;}$s=4;continue;case 3:$r=D.Walk(f.Root,(function(i,j){var i,j,k;if(!j){return 2;}if(i.IsEmptyBlockIAL()){k=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=H.Tokens2IAL(i.Tokens);k.ID=k.IALAttr("id");i.InsertBefore(k);return 2;}return 2;}));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:i=I.NewProtyleRenderer(f,g.RenderOptions);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=g.Md2BlockDOMRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l");$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Tree2BlockDOM,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s};return $f;};R.prototype.Tree2BlockDOM=function(c,d){return this.$val.Tree2BlockDOM(c,d);};R.ptr.prototype.RenderNodeBlockDOM=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=[d];e=this;f=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");g=new H.Tree.ptr(f,new H.Context.ptr(AB.nil,e.ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");h=I.NewProtyleRenderer(g,e.RenderOptions);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d[0]=h;i=e.Md2BlockDOMRendererFuncs;j=0;k=i?i.keys():undefined;l=i?i.size:0;while(true){if(!(j\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"\n\n","\n\n");c=C.ReplaceAll(c,"`","`");c=C.ReplaceAll(c,"","\xE2\x80\xB8");f=0;g=0;h=f;i=g;j=c;k=0;while(true){if(!(k>0;}else{break;}k+=l[1];}n=c.length-1>>0;while(true){if(!(n>=0)){break;}if(32===c.charCodeAt(n)){i=i+(1)>>0;}else{break;}n=n-(1)>>0;}o=C.TrimSpace(c);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}c=o;c=C.Repeat(" ",h)+c+C.Repeat(" ",i);c=C.ReplaceAll(c,"\t\n","\n");c=C.ReplaceAll(c," \n"," \n");p=d[0].parseHTML(c);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(AE.nil===q){$s=-1;return e;}$r=d[0].adjustVditorDOM(q);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=new H.Tree.ptr(new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""),new H.Context.ptr(AB.nil,d[0].ParseOptions,AF.nil,AF.nil,AD.nil,0,0,0,0,0,0,false,false,false,false,AF.nil,AF.nil),AH.nil,AI.nil,"","","","","",AJ.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tip=e.Root;r=q.FirstChild;case 4:if(!(!(AE.nil===r))){$s=5;continue;}$r=d[0].genASTByBlockDOM(r,e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=r.NextSibling;$s=4;continue;case 5:$r=D.Walk(e.Root,(function(d){return function $b(s,t){var{s,t,u,$s,$r,$c}=$restore(this,{s,t});$s=$s||0;s:while(true){switch($s){case 0:if(t){$s=1;continue;}$s=2;continue;case 1:u=s.Type;if((u===(10))||(u===(9))||(u===(29))||(u===(15))||(u===(306))||(u===(302))||(u===(27))||(u===(304))){$s=4;continue;}if((u===(22))||(u===(17))||(u===(101))||(u===(520))){$s=5;continue;}if(u===(530)){$s=6;continue;}if(u===(16)){$s=7;continue;}$s=8;continue;case 4:if(!(AF.nil===s.Next)&&(27===s.Next.Type)&&(s.CodeMarkerLen===s.Next.CodeMarkerLen)&&!(AF.nil===s.FirstChild)&&!(AF.nil===s.FirstChild.Next)){s.FirstChild.Next.Tokens=$appendSlice(s.FirstChild.Next.Tokens,s.Next.FirstChild.Next.Tokens);s.Next.Unlink();}$s=8;continue;case 5:d[0].MergeSameSpan(s);$s=8;continue;case 6:$r=d[0].MergeSameTextMark(s);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:s.Tokens=A.ReplaceAll(s.Tokens,(new AD($stringToBytes("\xC2\xA0"))),(new AD($stringToBytes(" "))));case 8:case 3:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,s,t,u,$s};return $f;};})(d));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.BlockDOM2Tree,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};R.prototype.BlockDOM2Tree=function(c){return this.$val.BlockDOM2Tree(c);};R.ptr.prototype.MergeSameTextMark=function(c){var{aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d=this;if(AF.nil===c.Previous){$s=-1;return;}e=false;f=false;if(456===c.Previous.Type){$s=1;continue;}$s=2;continue;case 1:if(AF.nil===c.Next||!((456===c.Next.Type))||AF.nil===c.Previous.Previous){$s=-1;return;}if(!A.Equal(c.Previous.Tokens,c.Next.Tokens)){$s=-1;return;}g=c.IsSameTextMarkType(c.Previous.Previous);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:e=true;$s=3;continue;case 2:if(!((16===c.Previous.Type)&&!C.Contains(c.Previous.TokensStr()," ")&&!C.Contains(c.Previous.TokensStr(),"\n"))){i=false;$s=11;continue s;}j=C.TrimSpace(C.ReplaceAll(c.Previous.TokensStr(),"\xE2\x80\x8B",""));$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=""===j;case 11:if(!(i&&!(AF.nil===c.Previous.Previous))){h=false;$s=10;continue s;}k=c.IsSameTextMarkType(c.Previous.Previous);$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;case 10:if(h){$s=7;continue;}$s=8;continue;case 7:f=true;$s=9;continue;case 8:if(!((c.Type===c.Previous.Type))){l=true;$s=16;continue s;}m=c.IsSameTextMarkType(c.Previous);$s=17;case 17:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=!m;case 16:if(l){$s=14;continue;}$s=15;continue;case 14:$s=-1;return;case 15:case 9:case 3:n=C.Split(c.TextMarkType," ");o=$makeMap($String.keyFor,[]);p=n;q=0;while(true){if(!(q=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]);s=r;(o||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(s),{k:s,v:true});q++;}t=AJ.nil;u=o;v=0;w=u?u.keys():undefined;x=u?u.size:0;while(true){if(!(v=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);$mapDelete(o,$String.keyFor(ae));ad++;}if(0<(o?o.size:0)){$s=-1;return;}if(e||f){c.TextMarkTextContent=c.Previous.Previous.TextMarkTextContent+c.TextMarkTextContent;c.Previous.Previous.Unlink();}else{c.TextMarkTextContent=c.Previous.TextMarkTextContent+c.TextMarkTextContent;}c.Previous.Unlink();$r=c.SortTextMarkDataTypes();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.MergeSameTextMark,$c:true,$r,aa,ab,ac,ad,ae,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.MergeSameTextMark=function(c){return this.$val.MergeSameTextMark(c);};R.ptr.prototype.MergeSameSpan=function(c){var c,d,e,f,g,h,i;d=this;if(AF.nil===c.Next||!((c.Type===c.Next.Type))){return;}if(!(AF.nil===c.Next.Next)&&(456===c.Next.Next.Type)){return;}e=AK.nil;c.Next.FirstChild.Unlink();c.Next.LastChild.Unlink();f=c.Next.FirstChild;while(true){if(!(!(AF.nil===f))){break;}e=$append(e,f);f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);c.LastChild.InsertBefore(i);h++;}c.Next.Unlink();};R.prototype.MergeSameSpan=function(c){return this.$val.MergeSameSpan(c);};R.ptr.prototype.CancelSuperBlock=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((475===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}i=$append(i,j);j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);g.Root.AppendChild(m);l++;}h.Unlink();n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelSuperBlock,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.CancelSuperBlock=function(c){return this.$val.CancelSuperBlock(c);};R.ptr.prototype.CancelList=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((7===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}n=m.FirstChild;while(true){if(!(!(AF.nil===n))){break;}if(!((100===n.Type))){k=$append(k,n);}n=n.Next;}l=$append(l,m);m=m.Next;}o=k;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);g.Root.AppendChild(q);p++;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}h.Unlink();u=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}d=u;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelList,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};R.prototype.CancelList=function(c){return this.$val.CancelList(c);};R.ptr.prototype.CancelBlockquote=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((5===g.Root.FirstChild.Type))){d=c;$s=-1;return d;}h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h.FirstChild;while(true){if(!(!(AF.nil===m))){break;}if(!((6===m.Type))){k=$append(k,m);}l=$append(l,m);m=m.Next;}n=k;o=0;while(true){if(!(o=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+o]);g.Root.AppendChild(p);o++;}h.Unlink();q=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}d=q;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.CancelBlockquote,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};R.prototype.CancelBlockquote=function(c){return this.$val.CancelBlockquote(c);};R.ptr.prototype.Blocks2Ps=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;i=AK.nil;j=AK.nil;k=i;l=j;m=h;while(true){if(!(!(AF.nil===m))){break;}n=m.Type;if(n===(2)){m.Type=1;}else if(n===(5)){o=m.FirstChild;while(true){if(!(!(AF.nil===o))){break;}if(6===o.Type){l=$append(l,o);o=o.Next;continue;}k=$append(k,o);o=o.Next;}l=$append(l,m);}else if(n===(7)){p=m.FirstChild;while(true){if(!(!(AF.nil===p))){break;}q=p.FirstChild;while(true){if(!(!(AF.nil===q))){break;}if(!((100===q.Type))){k=$append(k,q);}q=q.Next;}l=$append(l,p);p=p.Next;}l=$append(l,m);}m=m.Next;}r=l;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);t.Unlink();s++;}u=k;v=0;while(true){if(!(v=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]);g.Root.AppendChild(w);v++;}x=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}d=x;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.Blocks2Ps,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s};return $f;};R.prototype.Blocks2Ps=function(c){return this.$val.Blocks2Ps(c);};R.ptr.prototype.Blocks2Hs=function(c,d){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e="";f=this;g=f.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.Root.FirstChild;j=i;while(true){if(!(!(AF.nil===j))){break;}if((1===j.Type)||(2===j.Type)){j.Type=2;k=B.Atoi(d);j.HeadingLevel=k[0];}j=j.Next;}l=f.Tree2BlockDOM(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}e=l;$s=-1;return e;}return;}var $f={$blk:R.ptr.prototype.Blocks2Hs,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.Blocks2Hs=function(c,d){return this.$val.Blocks2Hs(c,d);};R.ptr.prototype.OL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.OL2TL=function(c){return this.$val.OL2TL(c);};R.ptr.prototype.UL2TL=function(c){var{c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;g.Root.FirstChild.ListData.Typ=3;h=g.Root.FirstChild.FirstChild;while(true){if(!(!(AF.nil===h))){break;}if(8===h.Type){h.ListData.Typ=3;h.PrependChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h=h.Next;}i=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2TL,$c:true,$r,c,d,e,f,g,h,i,$s};return $f;};R.prototype.UL2TL=function(c){return this.$val.UL2TL(c);};R.ptr.prototype.TL2OL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=AK.nil;k=h.FirstChild;while(true){if(!(!(AF.nil===k))){break;}if(455===k.Type){k=k.Next;continue;}j=$append(j,k.FirstChild);k.ListData.Typ=1;k.ListData.Num=i;i=i+(1)>>0;k=k.Next;}l=j;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n.Unlink();m++;}o=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}d=o;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};R.prototype.TL2OL=function(c){return this.$val.TL2OL(c);};R.ptr.prototype.TL2UL=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))||!((3===h.ListData.Typ))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=AK.nil;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}i=$append(i,j.FirstChild);j.ListData.Typ=0;j=j.Next;}k=i;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);m.Unlink();l++;}n=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d=n;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.TL2UL,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};R.prototype.TL2UL=function(c){return this.$val.TL2UL(c);};R.ptr.prototype.OL2UL=function(c){var{c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}h.ListData.Typ=0;i=h.FirstChild;while(true){if(!(!(AF.nil===i))){break;}if(455===i.Type){i=i.Next;continue;}i.ListData.Typ=0;i=i.Next;}j=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}d=j;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.OL2UL,$c:true,$r,c,d,e,f,g,h,i,j,$s};return $f;};R.prototype.OL2UL=function(c){return this.$val.OL2UL(c);};R.ptr.prototype.UL2OL=function(c){var{c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=g.Root.FirstChild;if(!((7===h.Type))){d=c;$s=-1;return d;}i=1;h.ListData.Typ=1;j=h.FirstChild;while(true){if(!(!(AF.nil===j))){break;}if(455===j.Type){j=j.Next;continue;}j.ListData.Typ=1;j.ListData.Num=i;i=i+(1)>>0;j=j.Next;}k=e.Tree2BlockDOM(g,e.RenderOptions);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}d=k;$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.UL2OL,$c:true,$r,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.UL2OL=function(c){return this.$val.UL2OL(c);};R.ptr.prototype.blockDOM2Md=function(c){var{c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=this;f=e.BlockDOM2Tree(c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=I.NewOptions();h.AutoSpace=false;h.FixTermTypo=false;h.KramdownBlockIAL=true;h.KramdownSpanIAL=true;h.KeepParagraphBeginningSpace=true;h.ProtyleWYSIWYG=true;h.SuperBlock=true;i=I.NewFormatRenderer(g,h);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=j.BaseRenderer.Render();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;d=($bytesToString(l));$s=-1;return d;}return;}var $f={$blk:R.ptr.prototype.blockDOM2Md,$c:true,$r,c,d,e,f,g,h,i,j,k,l,$s};return $f;};R.prototype.blockDOM2Md=function(c){return this.$val.blockDOM2Md(c);};R.ptr.prototype.genASTByBlockDOM=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;f=J.DomAttrValue(c,"class");if("protyle-attr"===f||C.Contains(f,"__copy")||C.Contains(f,"protyle-linenumber__rows")){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if("1"===J.DomAttrValue(c,"spin")){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:if(C.Contains(f,"protyle-action")){$s=7;continue;}$s=8;continue;case 7:if(11===d.Context.Tip.Type){$s=9;continue;}if(8===d.Context.Tip.Type){$s=10;continue;}$s=11;continue;case 9:g=c.FirstChild;h="";if(!(AE.nil===g.FirstChild)){h=g.FirstChild.Data;}d.Context.Tip.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(h),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i=J.DomText(c.NextSibling);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(C.HasSuffix(j,"\n\n\xE2\x80\xB8")){j=C.TrimSuffix(j,"\n\n\xE2\x80\xB8");j=j+("\n\xE2\x80\xB8\n");}k=C.Split(j,"\n");l=new A.Buffer.ptr(AD.nil,0,0);m=k;n=0;case 13:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(C.Contains(p,"```")){p=C.ReplaceAll(p,"```","\xE2\x80\x8D```");}else{p=C.ReplaceAll(p,"\xE2\x80\x8D","");}q=l.WriteString(p);$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;if(o<(k.$length-1>>0)){$s=16;continue;}$s=17;continue;case 16:r=l.WriteByte(10);$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 17:n++;$s=13;continue;case 14:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,l.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=11;continue;case 10:if(3===d.Context.Tip.ListData.Typ){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",100,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,C.Contains(J.DomAttrValue(c.Parent,"class"),"protyle-task--done"),AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 11:$s=19;case 19:return;case 8:if("true"===J.DomAttrValue(c,"contenteditable")){$s=20;continue;}$s=21;continue;case 20:$r=e.genASTContenteditable(c,d);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=23;case 23:return;case 21:s=D.Str2NodeType(J.DomAttrValue(c,"data-type"));$s=24;case 24:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=J.DomAttrValue(c,"data-node-id");v=new D.Node.ptr(u,"","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");if(!(""===v.ID)&&!e.parentIs(c,new AT([365829]))){$s=25;continue;}$s=26;continue;case 25:v.KramdownIAL=new AN([new AJ(["id",v.ID])]);w=e.setBlockIAL(c,v);$s=27;case 27:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=new D.Node.ptr("","","","",455,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,x,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");$deferred.push([$methodVal(d.Context,"TipAppendChild"),[y]]);case 26:z=t;if(z===(465)){$s=29;continue;}if(z===(106)){$s=30;continue;}if(z===(1)){$s=31;continue;}if(z===(2)){$s=32;continue;}if(z===(5)){$s=33;continue;}if(z===(7)){$s=34;continue;}if(z===(8)){$s=35;continue;}if(z===(495)){$s=36;continue;}if(z===(475)){$s=37;continue;}if(z===(300)){$s=38;continue;}if(z===(11)){$s=39;continue;}if(z===(9)){$s=40;continue;}if(z===(425)){$s=41;continue;}if(z===(4)){$s=42;continue;}if(z===(500)){$s=43;continue;}if(z===(535)){$s=44;continue;}if(z===(510)){$s=45;continue;}if(z===(505)){$s=46;continue;}if(z===(550)){$s=47;continue;}if(z===(560)){$s=48;continue;}$s=49;continue;case 29:v.Type=465;v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",466,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));aa=J.DomAttrValue(c,"data-content");aa=C.ReplaceAll(aa,"\n","_esc_newline_");v.AppendChild(new D.Node.ptr("","","","",468,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aa),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",467,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=51;case 51:return;case 30:v.Type=106;ab=AM.nil;if(AE.nil===c.FirstChild){$s=52;continue;}$s=53;continue;case 52:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=54;case 54:return;case 53:if(e.parentIs(c,new AT([365829]))){$s=55;continue;}$s=56;continue;case 55:ac=J.DomText(c);$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=C.TrimSpace(ad);$s=58;case 58:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(ae)));d.Context.Tip.AppendChild(v);$s=59;case 59:return;case 56:af=c.FirstChild;ag=e.domChild(af,365829);if(AE.nil===ag){$s=60;continue;}$s=61;continue;case 60:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=62;case 62:return;case 61:ah=e.domChild(ag,208901);if(AE.nil===ah||AE.nil===ah.FirstChild||AE.nil===ah.FirstChild.FirstChild){$s=63;continue;}$s=64;continue;case 63:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;d.Context.ParentTip();$s=65;case 65:return;case 64:ai=ah.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ai))){break;}aj=J.DomAttrValue(ai,"align");ak=aj;if(ak===("left")){ab=$append(ab,1);}else if(ak===("center")){ab=$append(ab,2);}else if(ak===("right")){ab=$append(ab,3);}else{ab=$append(ab,0);}ai=ai.NextSibling;}v.TableAligns=ab;v.Tokens=AD.nil;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$r=e.genASTContenteditable(ag,d);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=67;case 67:return;case 31:v.Type=1;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 32:al=J.DomText(c);$s=68;case 68:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(e.parentIs(c,new AT([365829]))){$s=69;continue;}$s=70;continue;case 69:an=C.TrimSpace(am);$s=71;case 71:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}v.Tokens=(new AD($stringToBytes(an)));while(true){if(!(A.HasPrefix(v.Tokens,(new AD($stringToBytes("#")))))){break;}v.Tokens=A.TrimPrefix(v.Tokens,(new AD($stringToBytes("#"))));}d.Context.Tip.AppendChild(v);$s=72;case 72:return;case 70:ao=$substring(J.DomAttrValue(c,"data-subtype"),1);ap=C.TrimPrefix(am," ");if(C.HasPrefix(ap,"#")){$s=73;continue;}$s=74;continue;case 73:aq=C.Index(ap," \xE2\x80\xB8");if(0"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 34:v.Type=7;ax=J.DomAttrValue(c,"data-marker");v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);ay=J.DomAttrValue(c,"data-subtype");if("u"===ay){v.ListData.Typ=0;}else if("o"===ay){v.ListData.Typ=1;}else if("t"===ay){v.ListData.Typ=3;}v.ListData.Marker=(new AD($stringToBytes(ax)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 35:az=J.DomAttrValue(c,"data-marker");if(!((7===d.Context.Tip.Type))){ba=new D.Node.ptr("","","","",0,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");ba.Type=7;ba.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bb=J.DomAttrValue(c,"data-subtype");if("u"===bb){ba.ListData.Typ=0;ba.ListData.BulletChar=42;}else if("o"===bb){ba.ListData.Typ=1;bc=B.Atoi($substring(az,0,(az.length-1>>0)));ba.ListData.Num=bc[0];ba.ListData.Delimiter=46;}else if("t"===bb){ba.ListData.Typ=3;ba.ListData.BulletChar=42;}d.Context.Tip.AppendChild(ba);d.Context.Tip=ba;}v.Type=8;v.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);bd=J.DomAttrValue(c,"data-subtype");if("u"===bd){v.ListData.Typ=0;v.ListData.BulletChar=42;}else if("o"===bd){v.ListData.Typ=1;be=B.Atoi($substring(az,0,(az.length-1>>0)));v.ListData.Num=be[0];v.ListData.Delimiter=46;}else if("t"===bd){v.ListData.Typ=3;v.ListData.BulletChar=42;}v.ListData.Marker=(new AD($stringToBytes(az)));d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 36:v.Type=495;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 37:v.Type=475;d.Context.Tip.AppendChild(v);v.AppendChild(new D.Node.ptr("","","","",476,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=J.DomAttrValue(c,"data-sb-layout");v.AppendChild(new D.Node.ptr("","","","",477,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(bf))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 38:v.Type=300;v.AppendChild(new D.Node.ptr("","","","",301,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"data-content");bg=F.UnescapeHTMLStr(bg);v.AppendChild(new D.Node.ptr("","","","",302,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",303,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=80;case 80:return;case 39:v.Type=11;v.IsFencedCodeBlock=true;v.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(c,"data-subtype");if(!(""===bh)){$s=81;continue;}$s=82;continue;case 81:v.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,J.StrToBytes(bh),AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(c,"data-content");v.AppendChild(new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(v);$s=83;case 83:return;case 82:d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 40:v.Type=9;bj=J.DomAttrValue(c.FirstChild.NextSibling.FirstChild,"data-content");bj=F.UnescapeHTMLStr(bj);v.Tokens=J.StrToBytes(bj);d.Context.Tip.AppendChild(v);$s=84;case 84:return;case 41:v.Type=425;d.Context.Tip.AppendChild(v);d.Context.Tip=v;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=50;continue;case 42:v.Type=4;d.Context.Tip.AppendChild(v);$s=85;case 85:return;case 43:v.Type=500;c=e.domChild(c.FirstChild,195590);bk=J.DomHTML(c);$s=86;case 86:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}v.Tokens=bk;d.Context.Tip.AppendChild(v);$s=87;case 87:return;case 44:v.Type=535;c=e.domChild(c.FirstChild,195590);bl=J.DomHTML(c);$s=88;case 88:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}v.Tokens=bl;d.Context.Tip.AppendChild(v);$s=89;case 89:return;case 45:v.Type=510;c=e.domChild(c.FirstChild,192773);bm=J.DomHTML(c);$s=90;case 90:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}v.Tokens=bm;d.Context.Tip.AppendChild(v);$s=91;case 91:return;case 46:v.Type=505;c=e.domChild(c.FirstChild,70917);bn=J.DomHTML(c);$s=92;case 92:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}v.Tokens=bn;d.Context.Tip.AppendChild(v);$s=93;case 93:return;case 47:v.Type=550;v.AttributeViewID=J.DomAttrValue(c,"data-av-id");if(""===v.AttributeViewID){$s=94;continue;}$s=95;continue;case 94:bo=D.NewNodeID();$s=96;case 96:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}v.AttributeViewID=bo;case 95:v.AttributeViewType=J.DomAttrValue(c,"data-av-type");d.Context.Tip.AppendChild(v);$s=97;case 97:return;case 48:v.Type=560;v.CustomBlockInfo=J.DomAttrValue(c,"data-info");v.Tokens=(new AD($stringToBytes(F.UnescapeHTMLStr(J.DomAttrValue(c,"data-content")))));d.Context.Tip.AppendChild(v);$s=98;case 98:return;case 49:bp=c.DataAtom;if(bp===(0)){$s=100;continue;}if((bp===(2817))||(bp===(378116))||(bp===(449798))||(bp===(28162))||(bp===(47363))||(bp===(46596))||(bp===(9473))||(bp===(421123))||(bp===(461571))||(bp===(40708))){$s=101;continue;}$s=102;continue;case 100:v.Type=16;v.Tokens=J.StrToBytes(c.Data);if(0===d.Context.Tip.Type){bq=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bq);d.Context.Tip=bq;}$r=e.genASTContenteditable(c,d);$s=103;case 103:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=104;case 104:return;case 101:if(0===d.Context.Tip.Type){br=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(br);d.Context.Tip=br;}$r=e.genASTContenteditable(c,d);$s=105;case 105:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=106;case 106:return;case 102:case 99:if((8===d.Context.Tip.Type)&&(281349===c.DataAtom)){$s=107;continue;}$s=108;continue;case 107:v.Type=100;v.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(v);$s=109;case 109:return;case 108:v.Type=10;bs=J.DomHTML(c);$s=110;case 110:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}v.Tokens=bs;d.Context.Tip.AppendChild(v);$s=111;case 111:return;case 50:case 28:bt=c.FirstChild;case 112:if(!(!(bt===AE.nil))){$s=113;continue;}$r=e.genASTByBlockDOM(bt,d);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bt=bt.NextSibling;$s=112;continue;case 113:bu=t;if(bu===(475)){v.AppendChild(new D.Node.ptr("","","","",478,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(bu===(11)){v.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByBlockDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByBlockDOM=function(c,d){return this.$val.genASTByBlockDOM(c,d);};R.ptr.prototype.genASTContenteditable=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{c,d});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);e=this;if((11===d.Context.Tip.Type)||(560===d.Context.Tip.Type)){$s=1;continue;}$s=2;continue;case 1:$s=3;case 3:return;case 2:if(109320===c.DataAtom){$s=4;continue;}$s=5;continue;case 4:$s=6;case 6:return;case 5:f=J.DomAttrValue(c,"class");if("svg"===f){$s=7;continue;}$s=8;continue;case 7:$s=9;case 9:return;case 8:g=c.Data;h=new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(g),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i=c.DataAtom;if(i===(0)){$s=11;continue;}if(i===(208901)){$s=12;continue;}if(i===(9989)){$s=13;continue;}if(i===(52226)){$s=14;continue;}if((i===(87554))||(i===(37378))){$s=15;continue;}if(i===(378116)){$s=16;continue;}if(i===(40708)){$s=17;continue;}if(i===(421123)){$s=18;continue;}if(i===(461571)){$s=19;continue;}if(i===(2817)){$s=20;continue;}if(i===(47363)){$s=21;continue;}if(i===(514)){$s=22;continue;}if((i===(28162))||(i===(1537))){$s=23;continue;}if((i===(449798))||(i===(257))){$s=24;continue;}if((i===(283139))||(i===(9473))||(i===(53766))){$s=25;continue;}if(i===(46596)){$s=26;continue;}if(i===(198403)){$s=27;continue;}$s=28;continue;case 11:if(""===g){$s=29;continue;}$s=30;continue;case 29:$s=31;case 31:return;case 30:if(3===c.Type){h.Tokens=J.StrToBytes("<"+g+">");}if(33===d.Context.Tip.Type){h.Type=40;}else if(2===d.Context.Tip.Type){g=C.ReplaceAll(g,"\n","");h.Tokens=J.StrToBytes(g);}else if(22===d.Context.Tip.Type){g=C.ReplaceAll(g,"**","");g=C.ReplaceAll(g,"*\xE2\x80\xB8","\xE2\x80\xB8");g=C.ReplaceAll(g,"\xE2\x80\xB8*","\xE2\x80\xB8");h.Tokens=J.StrToBytes(g);}if(e.parentIs(c,new AT([365829]))){$s=32;continue;}$s=33;continue;case 32:g=C.TrimSuffix(g,"\n");if((AE.nil===c.NextSibling&&!C.Contains(g,"\n"))||(!(AE.nil===c.NextSibling)&&(514===c.NextSibling.DataAtom)&&C.HasPrefix(g,"\n"))){g=C.ReplaceAll(g,"\n","");}if(C.Contains(g,"\\")){$s=34;continue;}$s=35;continue;case 34:j=C.ReplaceAll(g,"\\","");k=C.TrimSpace(j);$s=36;case 36:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;if(""===j){g=C.ReplaceAll(g,"\\","\\\\");}case 35:h.Tokens=J.StrToBytes(C.ReplaceAll(g,"\n","
    "));l=L.SplitWithoutBackslashEscape(h.Tokens,124);h.Tokens=AD.nil;m=l;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);h.Tokens=$appendSlice(h.Tokens,p);if(o<(l.$length-1>>0)){h.Tokens=$appendSlice(h.Tokens,(new AD($stringToBytes("\\|"))));}n++;}case 33:if((27===d.Context.Tip.Type)||(304===d.Context.Tip.Type)){$s=37;continue;}$s=38;continue;case 37:if(!(AF.nil===d.Context.Tip.Previous)&&(d.Context.Tip.Type===d.Context.Tip.Previous.Type)){d.Context.Tip.FirstChild.Next.Tokens=J.StrToBytes(g);}else{if(!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();}d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));}$s=39;case 39:return;case 38:if(530===d.Context.Tip.Type){$s=40;continue;}$s=41;continue;case 40:if("code"===d.Context.Tip.TokensStr()){$s=42;continue;}$s=43;continue;case 42:if(!(AF.nil===d.Context.Tip.FirstChild)&&!(AF.nil===d.Context.Tip.FirstChild.Next)&&!(AF.nil===d.Context.Tip.FirstChild.Next.Next)&&(400===d.Context.Tip.FirstChild.Next.Next.Type)){$s=44;continue;}$s=45;continue;case 44:g=J.BytesToStr(d.Context.Tip.FirstChild.Next.Next.FirstChild.Tokens)+g;d.Context.Tip.FirstChild.Next.Next.Unlink();d.Context.Tip.FirstChild.Next.Tokens=$appendSlice(d.Context.Tip.FirstChild.Next.Tokens,J.StrToBytes(g));$s=46;case 46:return;case 45:case 43:case 41:if(515===d.Context.Tip.Type){h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\\\"))),(new AD($stringToBytes("\\"))));h.Tokens=A.ReplaceAll(h.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));if(A.Equal(h.Tokens,E.CaretTokens)){q=d.Context.Tip.Parent;d.Context.Tip.Unlink();d.Context.Tip=q;}}d.Context.Tip.AppendChild(h);$s=28;continue;case 12:if(e.parentIs(c.Parent.Parent,new AT([365829]))){$s=47;continue;}$s=48;continue;case 47:r=J.DomText(c.Parent.Parent);$s=49;case 49:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;s=C.ReplaceAll(s,"\xE2\x80\xB8","");t=C.TrimSpace(s);$s=50;case 50:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(t)));d.Context.Tip.AppendChild(h);$s=51;case 51:return;case 48:h.Type=107;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 13:$s=28;continue;case 14:h.Type=108;d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 15:h.Type=109;u=J.DomAttrValue(c,"align");v=0;w=u;if(w===("left")){v=1;}else if(w===("center")){v=2;}else if(w===("right")){v=3;}else{v=0;}h.TableCellAlign=v;d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(h,c);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 16:y=e.isCaret(c);$s=53;case 53:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];if(z){$s=54;continue;}$s=55;continue;case 54:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=56;case 56:return;case 55:if(aa){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:if(e.ParseOptions.TextMark){$s=60;continue;}$s=61;continue;case 60:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=62;case 62:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;case 63:return;case 61:h.Type=27;h.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 17:ab=J.DomAttrValue(c,"data-type");if(""===ab){ab="text";}if(C.Contains(ab,"span")){$s=64;continue;}$s=65;continue;case 64:h.Type=16;ac=J.DomText(c);$s=66;case 66:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=J.StrToBytes(ac);$s=67;case 67:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h.Tokens=ad;d.Context.Tip.AppendChild(h);$s=68;case 68:return;case 65:if(C.Contains(ab,"img")){ab="img";}if(!(AF.nil===d.Context.Tip)&&!(AF.nil===d.Context.Tip.LastChild)){$s=69;continue;}$s=70;continue;case 69:ae=d.Context.Tip.LastChild.Text();$s=71;case 71:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=C.HasSuffix(af,"\\\xE2\x80\xB8");if(ag){af=C.TrimSuffix(af,"\xE2\x80\xB8");}if(C.HasSuffix(af,"\\")){ah=0;ai=af.length-1>>0;while(true){if(!(ai>=0)){break;}if(92===af.charCodeAt(ai)){ah=ah+(1)>>0;}else{break;}ai=ai-(1)>>0;}if(!((0===(aj=ah%2,aj===aj?aj:$throwRuntimeError("integer divide by zero"))))){if(ag){d.Context.Tip.LastChild.Tokens=A.TrimSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\xE2\x80\xB8"))));}else{d.Context.Tip.LastChild.Tokens=$appendSlice(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))));}}}case 70:if("tag"===ab){$s=72;continue;}if("inline-math"===ab){$s=73;continue;}if("inline-memo"===ab){$s=74;continue;}if("a"===ab){$s=75;continue;}if("block-ref"===ab){$s=76;continue;}if("file-annotation-ref"===ab){$s=77;continue;}if("img"===ab){$s=78;continue;}if("backslash"===ab){$s=79;continue;}$s=80;continue;case 72:al=e.isCaret(c);$s=82;case 82:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];if(am){$s=83;continue;}$s=84;continue;case 83:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=85;case 85:return;case 84:if(an){$s=86;continue;}$s=87;continue;case 86:$s=88;case 88:return;case 87:if(e.ParseOptions.TextMark){$s=89;continue;}$s=90;continue;case 89:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=91;case 91:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=92;case 92:return;case 90:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");h.Type=460;h.AppendChild(new D.Node.ptr("","","","",461,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));Q(c,h);d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 73:ao=J.GetTextMarkInlineMathData(c);if(""===ao){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(e.ParseOptions.TextMark){$s=96;continue;}$s=97;continue;case 96:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=99;case 99:return;case 97:h.Type=304;h.AppendChild(new D.Node.ptr("","","","",305,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",306,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ao),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",307,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=100;case 100:return;case 74:aq=e.isCaret(c);$s=101;case 101:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(ar){$s=102;continue;}$s=103;continue;case 102:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=104;case 104:return;case 103:if(as){$s=105;continue;}$s=106;continue;case 105:$s=107;case 107:return;case 106:if(e.ParseOptions.TextMark){$s=108;continue;}$s=109;continue;case 108:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=111;case 111:return;case 109:h.Type=16;at=J.DomText(c);$s=112;case 112:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=J.StrToBytes(at);$s=113;case 113:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}h.Tokens=au;d.Context.Tip.AppendChild(h);$s=114;case 114:return;case 75:if(AE.nil===c.FirstChild){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:if(33===d.Context.Tip.Type){$s=10;continue;}if(e.ParseOptions.TextMark){$s=118;continue;}$s=119;continue;case 118:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=120;case 120:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=121;case 121:return;case 119:h.Type=33;h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=81;continue;case 76:av=J.DomText(c);$s=122;case 122:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;ax=C.TrimSpace(aw);$s=123;case 123:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;if(""===aw){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(aw==="\xE2\x80\xB8"){$s=127;continue;}$s=128;continue;case 127:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=129;case 129:return;case 128:if(e.ParseOptions.TextMark){$s=130;continue;}$s=131;continue;case 130:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=132;case 132:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=133;case 133:return;case 131:h.Type=430;h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ay=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",431,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(ay),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",432,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));az=AF.nil;ba=J.DomAttrValue(c,"data-subtype");if("s"===ba||""===ba){az=new D.Node.ptr("","","","",433,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}else{az=new D.Node.ptr("","","","",434,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");}if(e.parentIs(c,new AT([365829]))){az.Tokens=A.ReplaceAll(az.Tokens,(new AD($stringToBytes("|"))),(new AD($stringToBytes("|"))));}h.AppendChild(az);h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=134;case 134:return;case 77:bb=J.DomText(c);$s=135;case 135:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=C.TrimSpace(bc);$s=136;case 136:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;if(""===bc){$s=137;continue;}$s=138;continue;case 137:$s=139;case 139:return;case 138:if(bc==="\xE2\x80\xB8"){$s=140;continue;}$s=141;continue;case 140:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=142;case 142:return;case 141:if(e.ParseOptions.TextMark){$s=143;continue;}$s=144;continue;case 143:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=146;case 146:return;case 144:h.Type=540;h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",47,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));be=J.DomAttrValue(c,"data-id");h.AppendChild(new D.Node.ptr("","","","",541,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",542,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bf=new D.Node.ptr("","","","",543,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bc),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");h.AppendChild(bf);h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",48,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=147;case 147:return;case 78:bg=e.domChild(c,198403);if(AE.nil===bg){$s=148;continue;}$s=149;continue;case 148:$s=150;case 150:return;case 149:h.Type=34;h.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bh=J.DomAttrValue(bg,"alt");h.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bh),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bi=J.DomAttrValue(bg,"data-src");h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bi),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bj=J.DomAttrValue(bg,"title");if(!(""===bj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bj),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$r=H.SetSpanIAL(d.Context.Tip.LastChild,bg);$s=151;case 151:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=152;case 152:return;case 79:h.Type=400;if(AE.nil===c.FirstChild){$s=153;continue;}$s=154;continue;case 153:$s=155;case 155:return;case 154:if(c.FirstChild===c.LastChild&&!(AE.nil===c.FirstChild.FirstChild)){$s=156;continue;}$s=157;continue;case 156:$s=158;case 158:return;case 157:if(AE.nil===c.FirstChild.NextSibling&&(1===c.FirstChild.Type)){$s=159;continue;}$s=160;continue;case 159:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(c.FirstChild.Data),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);$s=161;case 161:return;case 160:if(!(AE.nil===c.FirstChild.NextSibling)){bk=c.FirstChild.NextSibling.Data;bk=C.ReplaceAll(bk,"\\\\","\\");h.AppendChild(new D.Node.ptr("","","","",401,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bk),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);$s=162;case 162:return;case 80:bm=e.isCaret(c);$s=163;case 163:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;bn=bl[0];bo=bl[1];if(bn){$s=164;continue;}$s=165;continue;case 164:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=166;case 166:return;case 165:if(bo){$s=167;continue;}$s=168;continue;case 167:$s=169;case 169:return;case 168:bp=e.removeTempMark(ab);$s=170;case 170:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}ab=bp;bq=C.ReplaceAll(ab,"backslash","");br=C.TrimSpace(bq);$s=171;case 171:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bq=br;d.Context.Tip.AppendChild(h);if(""===bq){$s=172;continue;}$s=173;continue;case 172:h.Type=16;bs=J.DomText(c);$s=174;case 174:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}h.Tokens=(new AD($stringToBytes(bs)));$s=175;case 175:return;case 173:e.setDOMAttrValue(c,"data-type",ab);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=176;case 176:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=177;case 177:return;case 81:$s=28;continue;case 18:bu=e.isCaret(c);$s=178;case 178:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bt=bu;bv=bt[0];bw=bt[1];if(bv){$s=179;continue;}$s=180;continue;case 179:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=181;case 181:return;case 180:if(bw){$s=182;continue;}$s=183;continue;case 182:$s=184;case 184:return;case 183:if(e.ParseOptions.TextMark){$s=185;continue;}$s=186;continue;case 185:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=187;case 187:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=188;case 188:return;case 186:h.Type=490;h.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 19:by=e.isCaret(c);$s=189;case 189:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(bz){$s=190;continue;}$s=191;continue;case 190:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=192;case 192:return;case 191:if(ca){$s=193;continue;}$s=194;continue;case 193:$s=195;case 195:return;case 194:if(e.ParseOptions.TextMark){$s=196;continue;}$s=197;continue;case 196:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=198;case 198:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=199;case 199:return;case 197:h.Type=485;h.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 20:cc=e.isCaret(c);$s=200;case 200:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(cd){$s=201;continue;}$s=202;continue;case 201:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=203;case 203:return;case 202:if(ce){$s=204;continue;}$s=205;continue;case 204:$s=206;case 206:return;case 205:if(e.ParseOptions.TextMark){$s=207;continue;}$s=208;continue;case 207:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=209;case 209:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=210;case 210:return;case 208:h.Type=520;h.AppendChild(new D.Node.ptr("","","","",521,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 21:cg=e.isCaret(c);$s=211;case 211:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;ch=cf[0];ci=cf[1];if(ch){$s=212;continue;}$s=213;continue;case 212:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=214;case 214:return;case 213:if(ci){$s=215;continue;}$s=216;continue;case 215:$s=217;case 217:return;case 216:if(e.ParseOptions.TextMark){$s=218;continue;}$s=219;continue;case 218:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=220;case 220:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=221;case 221:return;case 219:h.Type=515;h.AppendChild(new D.Node.ptr("","","","",516,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(h);d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 22:if(2===d.Context.Tip.Type){$s=222;continue;}$s=223;continue;case 222:$s=224;case 224:return;case 223:if(!(AE.nil===c.PrevSibling)&&"\n"===c.PrevSibling.Data&&e.parentIs(c,new AT([365829]))){$s=225;continue;}$s=226;continue;case 225:$s=227;case 227:return;case 226:h.Type=525;d.Context.Tip.AppendChild(h);$s=228;case 228:return;case 23:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=229;continue;}$s=230;continue;case 229:$s=231;case 231:return;case 230:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ck=e.isCaret(c);$s=232;case 232:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cj=ck;cl=cj[0];cm=cj[1];if(cl){$s=233;continue;}$s=234;continue;case 233:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=235;case 235:return;case 234:if(cm){$s=236;continue;}$s=237;continue;case 236:$s=238;case 238:return;case 237:if(e.ParseOptions.TextMark){$s=239;continue;}$s=240;continue;case 239:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=241;case 241:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=242;case 242:return;case 240:h.Type=17;cn=J.DomAttrValue(c,"data-marker");if(""===cn){cn="*";}if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",20,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=243;continue;}$s=244;continue;case 243:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("_"===cn){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=245;case 245:return;case 244:c.FirstChild.Data=C.ReplaceAll(c.FirstChild.Data,"\xE2\x80\x8B","");Q(c,h);e.removeInnerMarker(c,"__");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 24:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=246;continue;}$s=247;continue;case 246:$s=248;case 248:return;case 247:if(!(AF.nil===d.Context.Tip.LastChild)){if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\\xE2\x80\xB8"))),(new AD($stringToBytes("\\\\\xE2\x80\xB8"))));}if(A.HasSuffix(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))))){d.Context.Tip.LastChild.Tokens=A.ReplaceAll(d.Context.Tip.LastChild.Tokens,(new AD($stringToBytes("\\"))),(new AD($stringToBytes("\\\\"))));}}if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cp=e.isCaret(c);$s=249;case 249:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}co=cp;cq=co[0];cr=co[1];if(cq){$s=250;continue;}$s=251;continue;case 250:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=252;case 252:return;case 251:if(cr){$s=253;continue;}$s=254;continue;case 253:$s=255;case 255:return;case 254:if(e.ParseOptions.TextMark){$s=256;continue;}$s=257;continue;case 256:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=258;case 258:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=259;case 259:return;case 257:h.Type=22;cs=J.DomAttrValue(c,"data-marker");if(""===cs){cs="**";}if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",25,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=260;continue;}$s=261;continue;case 260:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("__"===cs){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cs))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=262;case 262:return;case 261:Q(c,h);e.removeInnerMarker(c,"**");$r=H.SetSpanIAL(h,c);$s=263;case 263:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 25:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=264;continue;}$s=265;continue;case 264:$s=266;case 266:return;case 265:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cu=e.isCaret(c);$s=267;case 267:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}ct=cu;cv=ct[0];cw=ct[1];if(cv){$s=268;continue;}$s=269;continue;case 268:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=270;case 270:return;case 269:if(cw){$s=271;continue;}$s=272;continue;case 271:$s=273;case 273:return;case 272:if(e.ParseOptions.TextMark){$s=274;continue;}$s=275;continue;case 274:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=276;case 276:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=277;case 277:return;case 275:h.Type=101;cx=J.DomAttrValue(c,"data-marker");if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",104,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=278;continue;}$s=279;continue;case 278:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("~"===cx){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(cx))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=280;case 280:return;case 279:Q(c,h);e.removeInnerMarker(c,"~~");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 26:if(AE.nil===c.FirstChild||(514===c.FirstChild.DataAtom)){$s=281;continue;}$s=282;continue;case 281:$s=283;case 283:return;case 282:if(e.startsWithNewline(c.FirstChild)){c.FirstChild.Data=C.TrimLeft(c.FirstChild.Data,"\xE2\x80\x8B\n");d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}cz=e.isCaret(c);$s=284;case 284:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(da){$s=285;continue;}$s=286;continue;case 285:h.Type=16;h.Tokens=E.CaretTokens;d.Context.Tip.AppendChild(h);$s=287;case 287:return;case 286:if(db){$s=288;continue;}$s=289;continue;case 288:$s=290;case 290:return;case 289:if(e.ParseOptions.TextMark){$s=291;continue;}$s=292;continue;case 291:d.Context.Tip.AppendChild(h);$r=H.SetTextMarkNode(h,c,e.ParseOptions);$s=293;case 293:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=294;case 294:return;case 292:h.Type=450;dc=J.DomAttrValue(c,"data-marker");if("="===dc){h.AppendChild(new D.Node.ptr("","","","",451,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}d.Context.Tip.AppendChild(h);if(!(AE.nil===c.FirstChild)&&"\xE2\x80\xB8"===c.FirstChild.Data&&!(AE.nil===c.LastChild)&&"br"===c.LastChild.Data){$s=295;continue;}$s=296;continue;case 295:h.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,E.CaretTokens,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if("="===dc){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dc))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}$s=297;case 297:return;case 296:Q(c,h);e.removeInnerMarker(c,"==");d.Context.Tip=h;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=28;continue;case 27:if("emoji"===f){$s=298;continue;}$s=299;continue;case 298:dd=J.DomAttrValue(c,"alt");h.Type=200;de=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(dd,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");de.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(":"+dd+":"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(de);d.Context.Tip.AppendChild(h);$s=300;case 300:return;case 299:case 28:case 10:df=c.FirstChild;case 301:if(!(!(df===AE.nil))){$s=302;continue;}$r=e.genASTContenteditable(df,d);$s=303;case 303:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}df=df.NextSibling;$s=301;continue;case 302:if(e.ParseOptions.TextMark){$s=304;continue;}$s=305;continue;case 304:$s=306;case 306:return;case 305:dg=c.DataAtom;if(dg===(378116)){h.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(40708)){dh=J.DomAttrValue(c,"data-type");if("tag"===dh){h.AppendChild(new D.Node.ptr("","","","",462,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if("a"===dh){h.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));di=J.DomAttrValue(c,"data-href");if(!(""===e.RenderOptions.LinkBase)){di=C.ReplaceAll(di,e.RenderOptions.LinkBase,"");}if(!(""===e.RenderOptions.LinkPrefix)){di=C.ReplaceAll(di,e.RenderOptions.LinkPrefix,"");}h.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(di))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));dj=J.DomAttrValue(c,"data-title");if(!(""===dj)){h.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));h.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dj))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}h.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(421123)){h.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(461571)){h.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(2817)){h.AppendChild(new D.Node.ptr("","","","",522,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if(dg===(47363)){h.AppendChild(new D.Node.ptr("","","","",517,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else if((dg===(28162))||(dg===(1537))){dk=J.DomAttrValue(c,"data-marker");if(""===dk){dk="*";}if("_"===dk){h.AppendChild(new D.Node.ptr("","","","",21,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dk))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(449798))||(dg===(257))){dl=J.DomAttrValue(c,"data-marker");if(""===dl){dl="**";}if("__"===dl){h.AppendChild(new D.Node.ptr("","","","",26,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dl))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if((dg===(283139))||(dg===(9473))||(dg===(53766))){dm=J.DomAttrValue(c,"data-marker");if("~"===dm){h.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",105,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dm))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else if(dg===(46596)){dn=J.DomAttrValue(c,"data-marker");if("="===dn){h.AppendChild(new D.Node.ptr("","","","",452,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{h.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(dn))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTContenteditable,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTContenteditable=function(c,d){return this.$val.genASTContenteditable(c,d);};R.ptr.prototype.setBlockIAL=function(c,d){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;d.SetIALAttr("id",d.ID);g=J.DomAttrValue(c,"refcount");if(!(""===g)){d.SetIALAttr("refcount",g);e=$appendSlice(e,(new AD($stringToBytes(" refcount=\""+g+"\""))));}h=J.DomAttrValue(c,"bookmark");if(!(""===h)){h=F.UnescapeHTMLStr(h);d.SetIALAttr("bookmark",h);e=$appendSlice(e,(new AD($stringToBytes(" bookmark=\""+h+"\""))));}i=J.DomAttrValue(c,"style");if(!(""===i)){$s=1;continue;}$s=2;continue;case 1:i=F.UnescapeHTMLStr(i);j=H.StyleValue(i);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;d.SetIALAttr("style",i);e=$appendSlice(e,(new AD($stringToBytes(" style=\""+i+"\""))));case 2:k=J.DomAttrValue(c,"name");if(!(""===k)){k=F.UnescapeHTMLStr(k);d.SetIALAttr("name",k);e=$appendSlice(e,(new AD($stringToBytes(" name=\""+k+"\""))));}l=J.DomAttrValue(c,"memo");if(!(""===l)){l=F.UnescapeHTMLStr(l);d.SetIALAttr("memo",l);e=$appendSlice(e,(new AD($stringToBytes(" memo=\""+l+"\""))));}m=J.DomAttrValue(c,"alias");if(!(""===m)){m=F.UnescapeHTMLStr(m);d.SetIALAttr("alias",m);e=$appendSlice(e,(new AD($stringToBytes(" alias=\""+m+"\""))));}n=J.DomAttrValue(c,"fold");if(!(""===n)){d.SetIALAttr("fold",n);e=$appendSlice(e,(new AD($stringToBytes(" fold=\""+n+"\""))));}o=J.DomAttrValue(c,"heading-fold");if(!(""===o)){d.SetIALAttr("heading-fold",o);e=$appendSlice(e,(new AD($stringToBytes(" heading-fold=\""+o+"\""))));}p=J.DomAttrValue(c,"parent-fold");if(!(""===p)){d.SetIALAttr("parent-fold",p);e=$appendSlice(e,(new AD($stringToBytes(" parent-fold=\""+p+"\""))));}q=J.DomAttrValue(c,"updated");if(!(""===q)){d.SetIALAttr("updated",q);e=$appendSlice(e,(new AD($stringToBytes(" updated=\""+q+"\""))));}r=J.DomAttrValue(c,"linewrap");if(!(""===r)){d.SetIALAttr("linewrap",r);e=$appendSlice(e,(new AD($stringToBytes(" linewrap=\""+r+"\""))));}s=J.DomAttrValue(c,"ligatures");if(!(""===s)){d.SetIALAttr("ligatures",s);e=$appendSlice(e,(new AD($stringToBytes(" ligatures=\""+s+"\""))));}t=J.DomAttrValue(c,"linenumber");if(!(""===t)){d.SetIALAttr("linenumber",t);e=$appendSlice(e,(new AD($stringToBytes(" linenumber=\""+t+"\""))));}u=J.DomAttrValue(c,"breadcrumb");if(!(""===u)){d.SetIALAttr("breadcrumb",u);e=$appendSlice(e,(new AD($stringToBytes(" breadcrumb=\""+u+"\""))));}v=J.DomAttrValue(c,"data-export-md");if(!(""===v)){v=F.UnescapeHTMLStr(v);d.SetIALAttr("data-export-md",v);e=$appendSlice(e,(new AD($stringToBytes(" data-export-md=\""+v+"\""))));}w=J.DomAttrValue(c,"data-export-html");if(!(""===w)){w=F.UnescapeHTMLStr(w);d.SetIALAttr("data-export-html",w);e=$appendSlice(e,(new AD($stringToBytes(" data-export-html=\""+w+"\""))));}x=J.DomCustomAttrs(c);if(!(false===x)){y=x;z=0;aa=y?y.keys():undefined;ab=y?y.size:0;while(true){if(!(z=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=1;continue;case 2:d.HTML2MdRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.HTML2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2HTMLRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorIRDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2BlockDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d.Md2VditorSVDOMRendererFuncs=$makeMap(D.NodeType.keyFor,[]);d=d;$s=-1;return d;}return;}var $f={$blk:S,$c:true,$r,c,d,e,f,g,$s};return $f;};$pkg.New=S;R.ptr.prototype.Markdown=function(c,d){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d});$s=$s||0;s:while(true){switch($s){case 0:e=AD.nil;f=this;g=H.Parse(c,d,f.ParseOptions);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=I.NewHtmlRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f.Md2HTMLRendererFuncs;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l2147483647)?$throwRuntimeError("makemap: size out of range"):new $global.Map()));f=J.BytesToStr(H.EmojiSitePlaceholder);g=d.ParseOptions.AliasEmoji;h=0;i=g?g.keys():undefined;j=g?g.size:0;while(true){if(!(h=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+0]),$String),(($assertType((1>=ad.$length?($throwRuntimeError("index out of range"),undefined):ad.$array[ad.$offset+1]),$Float64)>>0))];};})(j,k)});t++;$s=3;continue;case 4:g++;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SetJSRenderers,$c:true,$r,aa,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};R.prototype.SetJSRenderers=function(c){return this.$val.SetJSRenderers(c);};R.ptr.prototype.HTML2Markdown=function(c){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{c});$s=$s||0;s:while(true){switch($s){case 0:d="";e=$ifaceNil;f=this;g=f.HTML2Tree(c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=AD.nil;j=I.NewFormatRenderer(h,f.RenderOptions);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=f.HTML2MdRendererFuncs;m=0;n=l?l.keys():undefined;o=l?l.size:0;while(true){if(!(mL.TrimWhitespace(i.Tokens).$length){$s=60;continue;}$s=61;continue;case 60:$s=62;case 62:return;case 61:if(!(AE.nil===c.Parent)&&(40708===c.Parent.DataAtom)&&(!(""===J.DomAttrValue(c.Parent,"class")))){m=d.Context.Tip.LastChild;if(AF.nil===m||((16===m.Type)&&!A.HasSuffix(m.Tokens,(new AD($stringToBytes("**")))))){i.Tokens=(new AD($stringToBytes("**"+J.BytesToStr(i.Tokens)+"**")));}}d.Context.Tip.AppendChild(i);$s=53;continue;case 21:if(e.parentIs(c,new AT([365829]))||(33===d.Context.Tip.Type)){$s=19;continue;}if(92931===c.DataAtom){$s=63;continue;}$s=64;continue;case 63:n=J.DomAttrValue(c,"class");o="";if(C.Contains(n,"-source-")){o=$substring(n,(C.LastIndex(n,"-source-")+8>>0));}else if(C.Contains(n,"-text-html-basic")){o="html";}if(!(""===o)){$s=65;continue;}$s=66;continue;case 65:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));p=new A.Buffer.ptr(AD.nil,0,0);i.LastChild.CodeBlockInfo=(new AD($stringToBytes(o)));q=J.DomText(c);$s=67;case 67:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=p.WriteString(q);$s=68;case 68:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,p.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(s);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);$s=69;case 69:return;case 66:case 64:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 22:if(33===d.Context.Tip.Type){$s=19;continue;}i.Type=2;i.HeadingLevel=((((t=i.Tokens,(1>=t.$length?($throwRuntimeError("index out of range"),undefined):t.$array[t.$offset+1]))-48<<24>>>24)>>0));i.AppendChild(new D.Node.ptr("","","","",3,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(C.Repeat("#",i.HeadingLevel)),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 23:i.Type=4;d.Context.Tip.AppendChild(i);$s=53;continue;case 24:i.Type=5;i.AppendChild(new D.Node.ptr("","","","",6,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(">"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 25:i.Type=7;i.ListData=new D.ListData.ptr(0,false,0,0,0,0,0,false,AD.nil,0);if(79618===c.DataAtom){i.ListData.Typ=1;}i.ListData.Tight=true;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 26:i.Type=8;u=J.DomAttrValue(c,"data-marker");v=0;if(""===u){if(!(AE.nil===c.Parent)&&(79618===c.Parent.DataAtom)){w=J.DomAttrValue(c.Parent,"start");if(""===w){u="1.";}else{u=w+".";}}else{u="*";v=u.charCodeAt(0);}}else{if(!(AE.nil===c.Parent)&&!("1."===u)&&(79618===c.Parent.DataAtom)&&!(AE.nil===c.Parent.Parent)&&((79618===c.Parent.Parent.DataAtom)||(42754===c.Parent.Parent.DataAtom))){u="1.";}}i.ListData=new D.ListData.ptr(0,false,v,0,0,0,0,false,(new AD($stringToBytes(u))),0);d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 27:x=c.FirstChild;if(!(AE.nil===x)){$s=70;continue;}$s=71;continue;case 70:if((92931===x.DataAtom)&&!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){x=x.NextSibling;c.FirstChild.Unlink();}if((1===x.Type)||(40708===x.DataAtom)||(378116===x.DataAtom)||(354311===x.DataAtom)||(290819===x.DataAtom)){$s=72;continue;}$s=73;continue;case 72:i.Type=11;i.IsFencedCodeBlock=true;i.AppendChild(new D.Node.ptr("","","","",12,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",14,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if((378116===x.DataAtom)||(40708===x.DataAtom)){y=J.DomAttrValue(x,"class");if(!C.Contains(y,"language-")){y=J.DomAttrValue(c,"class");}if(C.Contains(y,"language-")){z=$substring(y,(C.Index(y,"language-")+9>>0));z=(aa=C.Split(z," "),(0>=aa.$length?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+0]));i.LastChild.CodeBlockInfo=(new AD($stringToBytes(z)));}}if(378116===x.DataAtom){if(!(AE.nil===x.NextSibling)&&(378116===x.NextSibling.DataAtom)){ab=x.NextSibling;while(true){if(!(!(AE.nil===ab))){break;}ab.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ab=ab.NextSibling;}}if(!(AE.nil===x.FirstChild)&&(79618===x.FirstChild.DataAtom)){ac=x.FirstChild.FirstChild;while(true){if(!(!(AE.nil===ac))){break;}if(!(ac===x.FirstChild.FirstChild)){ac.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));}ac=ac.NextSibling;}}if(!(AE.nil===c.LastChild)&&(42754===c.LastChild.DataAtom)){c.LastChild.Unlink();}}if((290819===x.DataAtom)&&!(AE.nil===x.FirstChild)){ad=x.FirstChild.NextSibling;while(true){if(!(!(AE.nil===ad))){break;}ad.InsertBefore(new F.Node.ptr(AE.nil,AE.nil,AE.nil,AE.nil,AE.nil,0,514,"","",AS.nil));ad=ad.NextSibling;}}ae=new A.Buffer.ptr(AD.nil,0,0);af=J.DomText(c);$s=75;case 75:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=ae.WriteString(af);$s=76;case 76:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;ah=new D.Node.ptr("","","","",15,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ae.Bytes(),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.AppendChild(ah);i.AppendChild(new D.Node.ptr("","","","",13,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("```"),"","",false,false,false,0,false,0,3,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(d.Context.Tip.ParentIs(106,BB.nil)){ai=A.Split(ah.Tokens,(new AD($stringToBytes("\n"))));aj=ai;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);if(0>0)){if(d.Context.ParseOption.ProtyleWYSIWYG){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",525,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\n"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}}ak++;}}else{d.Context.Tip.AppendChild(i);}$s=74;continue;case 73:i.Type=9;ao=J.DomHTML(c);$s=77;case 77:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}i.Tokens=ao;d.Context.Tip.AppendChild(i);case 74:case 71:$s=78;case 78:return;case 28:ap=J.DomText(c);$s=79;case 79:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=C.TrimSpace(aq);$s=82;case 82:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(""===ar){$s=80;continue;}$s=81;continue;case 80:$s=19;continue;case 81:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=17;as="*";i.AppendChild(new D.Node.ptr("","","","",18,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(as),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 29:at=J.DomText(c);$s=83;case 83:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=C.TrimSpace(au);$s=86;case 86:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(""===av){$s=84;continue;}$s=85;continue;case 84:$s=19;continue;case 85:if(!(AF.nil===d.Context.Tip.LastChild)&&((22===d.Context.Tip.LastChild.Type)||(17===d.Context.Tip.LastChild.Type))){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.Type=22;aw="**";i.AppendChild(new D.Node.ptr("","","","",23,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(aw),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 30:if(AE.nil===c.FirstChild){$s=87;continue;}$s=88;continue;case 87:$s=89;case 89:return;case 88:if(!(AF.nil===d.Context.Tip.LastChild)&&(27===d.Context.Tip.LastChild.Type)){d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes("\xE2\x80\x8B"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}ax=J.DomHTML(c);$s=90;case 90:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;if(A.Contains(ay,(new AD($stringToBytes(">"))))){ay=$subslice(ay,(A.Index(ay,(new AD($stringToBytes(">"))))+1>>0));}ay=A.TrimSuffix(ay,(new AD($stringToBytes("
    "))));az=F.UnescapeString(($bytesToString(ay)));ay=(new AD($stringToBytes(az)));ba=new D.Node.ptr("","","","",29,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,ay,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");i.Type=27;i.AppendChild(new D.Node.ptr("","","","",28,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(ba);i.AppendChild(new D.Node.ptr("","","","",30,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("`"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=91;case 91:return;case 31:if(33===d.Context.Tip.Type){$s=19;continue;}if(d.Context.ParseOption.ProtyleWYSIWYG&&e.parentIs(c,new AT([365829]))){i.Type=525;}else{i.Type=31;i.Tokens=J.StrToBytes("\n");}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 32:i.Type=33;bb=J.DomText(c);$s=92;case 92:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;if(""===bc&&!(AE.nil===c.Parent)&&((89090===c.Parent.DataAtom)||(187906===c.Parent.DataAtom)||(199938===c.Parent.DataAtom)||(214274===c.Parent.DataAtom)||(216834===c.Parent.DataAtom)||(412930===c.Parent.DataAtom))){$s=93;continue;}$s=94;continue;case 93:$s=95;case 95:return;case 94:if(""===bc&&AE.nil===c.FirstChild){$s=96;continue;}$s=97;continue;case 96:$s=98;case 98:return;case 97:i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 33:bd=J.DomAttrValue(c,"class");be=J.DomAttrValue(c,"alt");if("emoji"===bd){$s=99;continue;}$s=100;continue;case 99:i.Type=200;bf=new D.Node.ptr("","","","",202,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,d.EmojiImgTokens(be,J.DomAttrValue(c,"src")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");bf.AppendChild(new D.Node.ptr("","","","",203,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(":"+be+":"),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(bf);$s=101;continue;case 100:i.Type=34;i.AppendChild(new D.Node.ptr("","","","",35,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",36,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));if(!(""===be)){i.AppendChild(new D.Node.ptr("","","","",40,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(be),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));bg=J.DomAttrValue(c,"src");if(C.HasPrefix(bg,"data:image")){bh=J.DomAttrValue(c,"data-src");if(!(""===bh)){bg=bh;}}if(""===bg){$s=102;continue;}$s=103;continue;case 102:bi=J.DomAttrValue(c,"srcset");if(!(""===bi)){$s=104;continue;}$s=105;continue;case 104:if(C.Contains(bi,",")){$s=106;continue;}$s=107;continue;case 106:bg=(bj=C.Split(bi,","),bk=C.Split(bi,",").$length-1>>0,((bk<0||bk>=bj.$length)?($throwRuntimeError("index out of range"),undefined):bj.$array[bj.$offset+bk]));bl=C.TrimSpace(bg);$s=109;case 109:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bg=bl;if(C.Contains(bg," ")){$s=110;continue;}$s=111;continue;case 110:bn=C.TrimSpace((bm=C.Split(bg," "),(0>=bm.$length?($throwRuntimeError("index out of range"),undefined):bm.$array[bm.$offset+0])));$s=112;case 112:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bg=bn;case 111:$s=108;continue;case 107:bo=C.TrimSpace(bg);$s=113;case 113:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bg=bo;if(C.Contains(bg," ")){$s=114;continue;}$s=115;continue;case 114:bq=C.TrimSpace((bp=C.Split(bi," "),(0>=bp.$length?($throwRuntimeError("index out of range"),undefined):bp.$array[bp.$offset+0])));$s=116;case 116:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bg=bq;case 115:case 108:case 105:case 103:i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bg),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));br=J.DomAttrValue(c,"title");if(!(""===br)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(br))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 101:if(0===d.Context.Tip.Type){bs=new D.Node.ptr("","","","",1,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(bs);d.Context.Tip=bs;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 34:i.Type=100;i.TaskListItemChecked=e.hasAttr(c,"checked");d.Context.Tip.AppendChild(i);if(!(AF.nil===i.Parent.Parent)){if(AL.nil===i.Parent.Parent.ListData){i.Parent.Parent.ListData=new D.ListData.ptr(3,false,0,0,0,0,0,false,AD.nil,0);}else{i.Parent.Parent.ListData.Typ=3;}}$s=53;continue;case 35:i.Type=101;bt="~";i.AppendChild(new D.Node.ptr("","","","",102,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bt),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 36:i.Type=450;bu="==";i.AppendChild(new D.Node.ptr("","","","",453,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(bu),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 37:i.Type=485;i.AppendChild(new D.Node.ptr("","","","",486,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 38:i.Type=490;i.AppendChild(new D.Node.ptr("","","","",491,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 39:i.Type=106;bv=AM.nil;if(!(AE.nil===c.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild)&&!(AE.nil===c.FirstChild.FirstChild.FirstChild)){bw=c.FirstChild.FirstChild.FirstChild;while(true){if(!(!(AE.nil===bw))){break;}bx=J.DomAttrValue(bw,"align");by=bx;if(by===("left")){bv=$append(bv,1);}else if(by===("center")){bv=$append(bv,2);}else if(by===("right")){bv=$append(bv,3);}else{bv=$append(bv,0);}bw=bw.NextSibling;}}i.TableAligns=bv;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 40:if(AE.nil===c.FirstChild){$s=19;continue;}i.Type=107;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 41:$s=53;continue;case 42:if(AE.nil===c.FirstChild){$s=19;continue;}bz=c.Parent.Parent;i.Type=108;if(AF.nil===d.Context.Tip.ChildByType(107)&&AE.nil===J.DomChildByType(bz,208901)){ca=new D.Node.ptr("","","","",107,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,"");d.Context.Tip.AppendChild(ca);d.Context.Tip=ca;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);}d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 43:i.Type=109;cb=J.DomAttrValue(c,"align");cc=0;cd=cb;if(cd===("left")){cc=1;}else if(cd===("center")){cc=2;}else if(cd===("right")){cc=3;}else{cc=0;}i.TableCellAlign=cc;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);$s=53;continue;case 44:$s=117;case 117:return;case 45:if(AE.nil===c.FirstChild){$s=118;continue;}$s=119;continue;case 118:$s=120;case 120:return;case 119:$s=53;continue;case 46:i.Type=16;ce=J.DomText(c);$s=121;case 121:if($c){$c=false;ce=ce.$blk();}if(ce&&ce.$blk!==undefined){break s;}i.Tokens=(new AD($stringToBytes(ce)));i.Tokens=A.ReplaceAll(i.Tokens,(new AD($stringToBytes("\n"))),AD.nil);d.Context.Tip.AppendChild(i);$s=122;case 122:return;case 47:i.Type=9;cf=J.DomHTML(c);$s=123;case 123:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}i.Tokens=cf;i.Tokens=(cg=A.SplitAfter(i.Tokens,(new AD($stringToBytes("")))),(0>=cg.$length?($throwRuntimeError("index out of range"),undefined):cg.$array[cg.$offset+0]));d.Context.Tip.AppendChild(i);$s=53;continue;case 48:$s=124;case 124:return;case 49:i.Type=9;ch=J.DomHTML(c);$s=125;case 125:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}i.Tokens=ch;d.Context.Tip.AppendChild(i);$s=126;case 126:return;case 50:$s=127;case 127:return;case 51:i.Type=1;i.AppendChild(new D.Node.ptr("","","","",31,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));ci=J.DomText(c);$s=128;case 128:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}cj=J.StrToBytes(ci);$s=129;case 129:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}$r=i.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,cj,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=130;case 130:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.Context.Tip.AppendChild(i);$s=131;case 131:return;case 52:i.Type=1;d.Context.Tip.AppendChild(i);d.Context.Tip=i;$deferred.push([$methodVal(d.Context,"ParentTip"),[]]);case 53:case 19:ck=c.FirstChild;case 132:if(!(!(ck===AE.nil))){$s=133;continue;}$r=e.genASTByDOM(ck,d);$s=134;case 134:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ck=ck.NextSibling;$s=132;continue;case 133:cl=c.DataAtom;if((cl===(28162))||(cl===(1537))){$s=136;continue;}if((cl===(449798))||(cl===(257))){$s=137;continue;}if(cl===(1)){$s=138;continue;}if((cl===(283139))||(cl===(9473))||(cl===(53766))){$s=139;continue;}if(cl===(46596)){$s=140;continue;}if(cl===(461571)){$s=141;continue;}if(cl===(421123)){$s=142;continue;}if(cl===(29191)){$s=143;continue;}$s=144;continue;case 136:cm="*";i.AppendChild(new D.Node.ptr("","","","",19,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cm),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=145;case 145:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 137:cn="**";i.AppendChild(new D.Node.ptr("","","","",24,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cn),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=146;case 146:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 138:i.AppendChild(new D.Node.ptr("","","","",37,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",38,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",41,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(J.DomAttrValue(c,"href")),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));co=J.DomAttrValue(c,"title");if(!(""===co)){i.AppendChild(new D.Node.ptr("","","","",43,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));i.AppendChild(new D.Node.ptr("","","","",42,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(co),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}i.AppendChild(new D.Node.ptr("","","","",39,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=144;continue;case 139:cp="~";i.AppendChild(new D.Node.ptr("","","","",103,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cp),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=147;case 147:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 140:cq="==";i.AppendChild(new D.Node.ptr("","","","",454,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(cq),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=148;case 148:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 141:i.AppendChild(new D.Node.ptr("","","","",487,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=149;case 149:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 142:i.AppendChild(new D.Node.ptr("","","","",492,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,AD.nil,"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$r=AA(c,d,e);$s=150;case 150:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=144;continue;case 143:d.Context.Tip.AppendChild(new D.Node.ptr("","","","",9,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));case 144:case 135:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:R.ptr.prototype.genASTByDOM,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};R.prototype.genASTByDOM=function(c,d){return this.$val.genASTByDOM(c,d);};AA=function(c,d,e){var{c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r,$c}=$restore(this,{c,d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!(AE.nil===c.NextSibling)){$s=1;continue;}$s=2;continue;case 1:f=J.DomText(c.NextSibling);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!(""===g)){$s=4;continue;}$s=5;continue;case 4:h=(new BC($stringToRunes(g)));if(!P.IsSpace((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){$s=6;continue;}$s=7;continue;case 6:if(P.IsPunct((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))||P.IsSymbol((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){d.Context.Tip.InsertBefore(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,(new AD($stringToBytes("\xE2\x80\x8B"))),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));$s=-1;return;}i=J.DomText(c);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(""===j)){$s=9;continue;}$s=10;continue;case 9:h=(new BC($stringToRunes(j)));l=(k=h.$length-1>>0,((k<0||k>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+k]));if(P.IsPunct(l)||P.IsSymbol(l)){m=d.Context.Tip.ChildByType(16);if(!(AF.nil===m)){m.Tokens=$appendSlice((new AD($stringToBytes("\xE2\x80\x8B"))),m.Tokens);m.Tokens=$appendSlice(m.Tokens,(new AD($stringToBytes("\xE2\x80\x8B"))));}$s=-1;return;}n=e.prefixSpaces(j);if(!(""===n)){o=d.Context.Tip.Previous;if(!(AF.nil===o)){if(16===o.Type){o.Tokens=$appendSlice(o.Tokens,J.StrToBytes(n));}else{o.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.AppendChild(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}p=d.Context.Tip.ChildByType(16);p.Tokens=A.TrimLeft(p.Tokens," \xC5\xA0");}n=e.suffixSpaces(j);if(!(""===n)){$s=11;continue;}$s=12;continue;case 11:q=d.Context.Tip.ChildrenByType(16);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(0>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));t.Tokens=A.TrimRight(t.Tokens," \xC5\xA0");if(1>t.Tokens.$length){t.Unlink();}}if(!(AE.nil===c.NextSibling)){if(1===c.NextSibling.Type){c.NextSibling.Data=n+c.NextSibling.Data;}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}}else{d.Context.Tip.InsertAfter(new D.Node.ptr("","","","",16,AF.nil,AF.nil,AF.nil,AF.nil,AF.nil,AK.nil,J.StrToBytes(n),"","",false,false,false,0,false,0,0,0,AD.nil,AD.nil,AD.nil,0,AL.nil,false,AM.nil,0,0,0,0,AD.nil,0,false,"",0,AD.nil,"",AK.nil,AD.nil,AN.nil,false,"","","","","","","","","","","",0,""));}case 12:case 10:case 7:case 5:case 2:$s=-1;return;}return;}var $f={$blk:AA,$c:true,$r,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s};return $f;};AV.methods=[{prop:"Md2HTML",name:"Md2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorDOM",name:"SpinVditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorDOM",name:"HTML2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2HTML",name:"VditorDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorDOM",name:"Md2VditorDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorDOM2Md",name:"VditorDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderEChartsJSON",name:"RenderEChartsJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderKityMinderJSON",name:"RenderKityMinderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2Md",name:"HTML2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorDOM2Md",name:"vditorDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"parseHTML",name:"parseHTML",pkg:"github.com/88250/lute",typ:$funcType([$String],[AE],false)},{prop:"adjustVditorDOM",name:"adjustVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListList",name:"adjustVditorDOMListList",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"removeHighlightJSSpans",name:"removeHighlightJSSpans",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"hljsSpans",name:"hljsSpans",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"removeEmptyNodes",name:"removeEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"searchEmptyNodes",name:"searchEmptyNodes",pkg:"github.com/88250/lute",typ:$funcType([AE,AQ],[],false)},{prop:"mergeVditorDOMList0",name:"mergeVditorDOMList0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListTight0",name:"adjustVditorDOMListTight0",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"adjustVditorDOMListItemInP",name:"adjustVditorDOMListItemInP",pkg:"github.com/88250/lute",typ:$funcType([AE],[],false)},{prop:"forwardNextBlock",name:"forwardNextBlock",pkg:"github.com/88250/lute",typ:$funcType([AE],[AP,AE],false)},{prop:"listItemEnter",name:"listItemEnter",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isTightList",name:"isTightList",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"genASTByVditorDOM",name:"genASTByVditorDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"hasAttr",name:"hasAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[$Bool],false)},{prop:"domChild",name:"domChild",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"domChild0",name:"domChild0",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"setDOMAttrValue",name:"setDOMAttrValue",pkg:"github.com/88250/lute",typ:$funcType([AE,$String,$String],[],false)},{prop:"removeDOMAttr",name:"removeDOMAttr",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"domCode",name:"domCode",pkg:"github.com/88250/lute",typ:$funcType([AE],[$String],false)},{prop:"domCode0",name:"domCode0",pkg:"github.com/88250/lute",typ:$funcType([AE,AY],[],false)},{prop:"parentIs",name:"parentIs",pkg:"github.com/88250/lute",typ:$funcType([AE,AT],[$Bool],true)},{prop:"getParent",name:"getParent",pkg:"github.com/88250/lute",typ:$funcType([AE,G.Atom],[AE],false)},{prop:"isCaret",name:"isCaret",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool,$Bool],false)},{prop:"isEmptyText",name:"isEmptyText",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"startsWithNewline",name:"startsWithNewline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"isInline",name:"isInline",pkg:"github.com/88250/lute",typ:$funcType([AE],[$Bool],false)},{prop:"prefixSpaces",name:"prefixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"suffixSpaces",name:"suffixSpaces",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorSVDOM",name:"SpinVditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorSVDOM",name:"HTML2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorSVDOM",name:"Md2VditorSVDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"SpinVditorIRDOM",name:"SpinVditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2VditorIRDOM",name:"HTML2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2HTML",name:"VditorIRDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2VditorIRDOM",name:"Md2VditorIRDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"VditorIRDOM2Md",name:"VditorIRDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"vditorIRDOM2Md",name:"vditorIRDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByVditorIRDOM",name:"genASTByVditorIRDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"SpinBlockDOM",name:"SpinBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"HTML2BlockDOM",name:"HTML2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2HTML",name:"BlockDOM2HTML",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2InlineBlockDOM",name:"BlockDOM2InlineBlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Md2BlockDOM",name:"Md2BlockDOM",pkg:"",typ:$funcType([$String,$Bool],[$String],false)},{prop:"Md2BlockDOMTree",name:"Md2BlockDOMTree",pkg:"",typ:$funcType([$String,$Bool],[$String,AB],false)},{prop:"InlineMd2BlockDOM",name:"InlineMd2BlockDOM",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Md",name:"BlockDOM2Md",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2StdMd",name:"BlockDOM2StdMd",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2Text",name:"BlockDOM2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2TextLen",name:"BlockDOM2TextLen",pkg:"",typ:$funcType([$String],[$Int],false)},{prop:"BlockDOM2Content",name:"BlockDOM2Content",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"BlockDOM2EscapeMarkerContent",name:"BlockDOM2EscapeMarkerContent",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Tree2BlockDOM",name:"Tree2BlockDOM",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"RenderNodeBlockDOM",name:"RenderNodeBlockDOM",pkg:"",typ:$funcType([AF],[$String],false)},{prop:"BlockDOM2Tree",name:"BlockDOM2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"MergeSameTextMark",name:"MergeSameTextMark",pkg:"",typ:$funcType([AF],[],false)},{prop:"MergeSameSpan",name:"MergeSameSpan",pkg:"",typ:$funcType([AF],[],false)},{prop:"CancelSuperBlock",name:"CancelSuperBlock",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelList",name:"CancelList",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"CancelBlockquote",name:"CancelBlockquote",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Ps",name:"Blocks2Ps",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Blocks2Hs",name:"Blocks2Hs",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"OL2TL",name:"OL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2TL",name:"UL2TL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2OL",name:"TL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"TL2UL",name:"TL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"OL2UL",name:"OL2UL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"UL2OL",name:"UL2OL",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"blockDOM2Md",name:"blockDOM2Md",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"genASTByBlockDOM",name:"genASTByBlockDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"genASTContenteditable",name:"genASTContenteditable",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)},{prop:"setBlockIAL",name:"setBlockIAL",pkg:"github.com/88250/lute",typ:$funcType([AE,AF],[AD],false)},{prop:"removeInnerMarker",name:"removeInnerMarker",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeInnerMarker0",name:"removeInnerMarker0",pkg:"github.com/88250/lute",typ:$funcType([AE,$String],[],false)},{prop:"removeTempMark",name:"removeTempMark",pkg:"github.com/88250/lute",typ:$funcType([$String],[$String],false)},{prop:"Markdown",name:"Markdown",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"MarkdownStr",name:"MarkdownStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"Format",name:"Format",pkg:"",typ:$funcType([$String,AD],[AD],false)},{prop:"FormatStr",name:"FormatStr",pkg:"",typ:$funcType([$String,$String],[$String],false)},{prop:"TextBundle",name:"TextBundle",pkg:"",typ:$funcType([$String,AD,AJ],[AD,AJ],false)},{prop:"TextBundleStr",name:"TextBundleStr",pkg:"",typ:$funcType([$String,$String,AJ],[$String,AJ],false)},{prop:"HTML2Text",name:"HTML2Text",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"RenderJSON",name:"RenderJSON",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"Space",name:"Space",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"IsValidLinkDest",name:"IsValidLinkDest",pkg:"",typ:$funcType([$String],[$Bool],false)},{prop:"GetEmojis",name:"GetEmojis",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutEmojis",name:"PutEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"RemoveEmoji",name:"RemoveEmoji",pkg:"",typ:$funcType([$String],[$String],false)},{prop:"GetTerms",name:"GetTerms",pkg:"",typ:$funcType([],[BD],false)},{prop:"PutTerms",name:"PutTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"ProtylePreview",name:"ProtylePreview",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"Tree2HTML",name:"Tree2HTML",pkg:"",typ:$funcType([AB,AC],[$String],false)},{prop:"SetGFMTable",name:"SetGFMTable",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItem",name:"SetGFMTaskListItem",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMTaskListItemClass",name:"SetGFMTaskListItemClass",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetGFMStrikethrough",name:"SetGFMStrikethrough",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGFMAutoLink",name:"SetGFMAutoLink",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSoftBreak2HardBreak",name:"SetSoftBreak2HardBreak",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlight",name:"SetCodeSyntaxHighlight",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightDetectLang",name:"SetCodeSyntaxHighlightDetectLang",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightInlineStyle",name:"SetCodeSyntaxHighlightInlineStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightLineNum",name:"SetCodeSyntaxHighlightLineNum",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetCodeSyntaxHighlightStyleName",name:"SetCodeSyntaxHighlightStyleName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetFootnotes",name:"SetFootnotes",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetToC",name:"SetToC",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHeadingID",name:"SetHeadingID",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetAutoSpace",name:"SetAutoSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFixTermTypo",name:"SetFixTermTypo",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmoji",name:"SetEmoji",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetEmojis",name:"SetEmojis",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetEmojiSite",name:"SetEmojiSite",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetHeadingAnchor",name:"SetHeadingAnchor",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTerms",name:"SetTerms",pkg:"",typ:$funcType([BD],[],false)},{prop:"SetVditorWYSIWYG",name:"SetVditorWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleWYSIWYG",name:"SetProtyleWYSIWYG",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorIR",name:"SetVditorIR",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorSV",name:"SetVditorSV",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetInlineMathAllowDigitAfterOpenMarker",name:"SetInlineMathAllowDigitAfterOpenMarker",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkPrefix",name:"SetLinkPrefix",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetLinkBase",name:"SetLinkBase",pkg:"",typ:$funcType([$String],[],false)},{prop:"GetLinkBase",name:"GetLinkBase",pkg:"",typ:$funcType([],[$String],false)},{prop:"SetVditorCodeBlockPreview",name:"SetVditorCodeBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorMathBlockPreview",name:"SetVditorMathBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetVditorHTMLBlockPreview",name:"SetVditorHTMLBlockPreview",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetRenderListStyle",name:"SetRenderListStyle",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSanitize",name:"SetSanitize",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImageLazyLoading",name:"SetImageLazyLoading",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetChineseParagraphBeginningSpace",name:"SetChineseParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetYamlFrontMatter",name:"SetYamlFrontMatter",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSetext",name:"SetSetext",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetBlockRef",name:"SetBlockRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetFileAnnotationRef",name:"SetFileAnnotationRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetMark",name:"SetMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIAL",name:"SetKramdownIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownBlockIAL",name:"SetKramdownBlockIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownSpanIAL",name:"SetKramdownSpanIAL",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetKramdownIALIDRenderName",name:"SetKramdownIALIDRenderName",pkg:"",typ:$funcType([$String],[],false)},{prop:"SetTag",name:"SetTag",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetImgPathAllowSpace",name:"SetImgPathAllowSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSuperBlock",name:"SetSuperBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSup",name:"SetSup",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSub",name:"SetSub",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetGitConflict",name:"SetGitConflict",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetLinkRef",name:"SetLinkRef",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetIndentCodeBlock",name:"SetIndentCodeBlock",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetDataImage",name:"SetDataImage",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetTextMark",name:"SetTextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpin",name:"SetSpin",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetHTMLTag2TextMark",name:"SetHTMLTag2TextMark",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetParagraphBeginningSpace",name:"SetParagraphBeginningSpace",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetProtyleMarkNetImg",name:"SetProtyleMarkNetImg",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetSpellcheck",name:"SetSpellcheck",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"SetJSRenderers",name:"SetJSRenderers",pkg:"",typ:$funcType([BG],[],false)},{prop:"HTML2Markdown",name:"HTML2Markdown",pkg:"",typ:$funcType([$String],[$String,$error],false)},{prop:"HTML2Tree",name:"HTML2Tree",pkg:"",typ:$funcType([$String],[AB],false)},{prop:"genASTByDOM",name:"genASTByDOM",pkg:"github.com/88250/lute",typ:$funcType([AE,AB],[],false)}];R.init("",[{prop:"ParseOptions",name:"ParseOptions",embedded:false,exported:true,typ:AO,tag:""},{prop:"RenderOptions",name:"RenderOptions",embedded:false,exported:true,typ:AC,tag:""},{prop:"HTML2MdRendererFuncs",name:"HTML2MdRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorDOMRendererFuncs",name:"HTML2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorIRDOMRendererFuncs",name:"HTML2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2BlockDOMRendererFuncs",name:"HTML2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"HTML2VditorSVDOMRendererFuncs",name:"HTML2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2HTMLRendererFuncs",name:"Md2HTMLRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorDOMRendererFuncs",name:"Md2VditorDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorIRDOMRendererFuncs",name:"Md2VditorIRDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2BlockDOMRendererFuncs",name:"Md2BlockDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""},{prop:"Md2VditorSVDOMRendererFuncs",name:"Md2VditorSVDOMRendererFuncs",embedded:false,exported:true,typ:BH,tag:""}]);Z.init([AV],[],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=I.NewFormatRenderer(AB.nil,AC.nil);$s=17;case 17:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}T=a;b=I.NewProtyleExportMdRenderer(AB.nil,AC.nil);$s=18;case 18:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}W=b;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/javascript"]=(function(){var $pkg={},$init,A,B,C,D,E,F,J,K,L,M,N,O,P,Q,R,S,G,H,I;A=$packages["github.com/88250/lute"];B=$packages["github.com/88250/lute/ast"];C=$packages["github.com/88250/lute/editor"];D=$packages["github.com/88250/lute/html"];E=$packages["github.com/88250/lute/render"];F=$packages["github.com/gopherjs/gopherjs/js"];J=$ptrType(F.Object);K=$mapType($String,J);L=$mapType($String,K);M=$funcType([L],[J],false);N=$ptrType(B.Node);O=$funcType([N],[$String],false);P=$funcType([],[$String],false);Q=$funcType([$String],[$String],false);R=$mapType($String,$emptyInterface);S=$sliceType(A.ParseOption);G=function(){$global.Lute=$externalize($makeMap($String.keyFor,[{k:"Version",v:new $String("1.7.5")},{k:"New",v:new M(H)},{k:"WalkStop",v:new $Int(0)},{k:"WalkSkipChildren",v:new $Int(1)},{k:"WalkContinue",v:new $Int(2)},{k:"GetHeadingID",v:new O(E.HeadingID)},{k:"Caret",v:new $String("\xE2\x80\xB8")},{k:"NewNodeID",v:new P(B.NewNodeID)},{k:"EscapeHTMLStr",v:new Q(D.EscapeHTMLStr)},{k:"UnEscapeHTMLStr",v:new Q(D.UnescapeHTMLStr)},{k:"EChartsMindmapStr",v:new Q(E.EChartsMindmapStr)},{k:"Sanitize",v:new Q(E.Sanitize)},{k:"BlockDOM2Content",v:new Q(I)}]),R);};H=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.SetJSRenderers(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return F.MakeWrapper(c);}return;}var $f={$blk:H,$c:true,$r,a,b,c,$s};return $f;};$pkg.New=H;I=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=A.New(S.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;c.SetProtyleWYSIWYG(true);c.SetBlockRef(true);c.SetFileAnnotationRef(true);c.SetKramdownIAL(true);c.SetTag(true);c.SetSuperBlock(true);c.SetImgPathAllowSpace(true);c.SetGitConflict(true);c.SetMark(true);c.SetSup(true);c.SetSub(true);c.SetInlineMathAllowDigitAfterOpenMarker(true);c.SetFootnotes(false);c.SetToC(false);c.SetIndentCodeBlock(false);c.SetParagraphBeginningSpace(true);c.SetAutoSpace(false);c.SetHeadingID(false);c.SetSetext(false);c.SetYamlFrontMatter(false);c.SetLinkRef(false);c.SetCodeSyntaxHighlight(false);c.SetSanitize(true);d=c.BlockDOM2Content(a);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=3;case 3:return e;}return;}var $f={$blk:I,$c:true,$r,a,b,c,d,e,$s};return $f;};$pkg.BlockDOM2Content=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){G();$mainFinished=true;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $synthesizeMethods(); $initAllLinknames(); diff --git a/kernel/go.mod b/kernel/go.mod index cac925cbf7f..634d7502fae 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -9,7 +9,7 @@ require ( github.com/88250/clipboard v0.1.5 github.com/88250/epub v0.0.0-20230830085737-c19055cd1f48 github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c - github.com/88250/lute v1.7.6-0.20240116093422-2de70d715a4d + github.com/88250/lute v1.7.6-0.20240118143020-c72dc89ddf40 github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 github.com/ClarkThan/ahocorasick v0.0.0-20231011042242-30d1ef1347f4 diff --git a/kernel/go.sum b/kernel/go.sum index 4063321b5dc..5d4f0118f6c 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -10,8 +10,8 @@ github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950 h1:Pa5hMiBceT github.com/88250/go-sqlite3 v1.14.13-0.20231214121541-e7f54c482950/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c h1:Fas3hxqP33xA9KKDV50jUmppiiOukk5bdV00Hk5VSSk= github.com/88250/gulu v1.2.3-0.20231209020950-b7b6994e395c/go.mod h1:pTWnjt+6qUqNnP9xltswsJxgCBVu3C7eW09u48LWX0k= -github.com/88250/lute v1.7.6-0.20240116093422-2de70d715a4d h1:LAbl0KsBRGbyxzeaRo+rWTv2OHriRxcMUv30PDsxzQU= -github.com/88250/lute v1.7.6-0.20240116093422-2de70d715a4d/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg= +github.com/88250/lute v1.7.6-0.20240118143020-c72dc89ddf40 h1:Jw3H+kMC23WetSHc90EqhQHbtDf7tV0p3HSzuYoV3xc= +github.com/88250/lute v1.7.6-0.20240118143020-c72dc89ddf40/go.mod h1:+wUqx/1kdFDbWtxn9LYJlaCOAeol2pjSO6w+WJTVQsg= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c h1:Dl/8S9iLyPMTElnWIBxmjaLiWrkI5P4a21ivwAn5pU0= github.com/88250/pdfcpu v0.3.14-0.20230401044135-c7369a99720c/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4= github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY= From 604b801273c8361fae8bb7b55b061620c9faa4eb Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 18 Jan 2024 22:55:29 +0800 Subject: [PATCH 057/109] :art: https://github.com/siyuan-note/siyuan/issues/10142 --- app/src/assets/scss/business/_custom.scss | 65 ++++++++++++---------- app/src/protyle/render/av/blockAttr.ts | 34 +++++++++-- app/src/protyle/render/av/col.ts | 2 +- app/src/protyle/render/av/openMenuPanel.ts | 14 +++-- app/src/protyle/render/av/render.ts | 2 +- 5 files changed, 75 insertions(+), 42 deletions(-) diff --git a/app/src/assets/scss/business/_custom.scss b/app/src/assets/scss/business/_custom.scss index bc9ae08a98b..daafeb01bce 100644 --- a/app/src/assets/scss/business/_custom.scss +++ b/app/src/assets/scss/business/_custom.scss @@ -1,10 +1,44 @@ .custom-attr { + + &__avvalue { + cursor: pointer; + transition: var(--b3-transition); + border-radius: var(--b3-border-radius); + padding: 4px 8px; + line-height: 26px; + min-height: 26px; + + &:hover { + background-color: var(--b3-theme-background); + } + } + + &__avheader { + border-bottom: 1px solid var(--b3-border-color); + padding: 8px; + + .block__logo { + color: var(--b3-protyle-inline-blockref-color); + opacity: .86; + transition: var(--b3-transition); + cursor: pointer; + + svg { + margin-right: 4px; + } + + &:hover { + opacity: 1; + } + } + } + .b3-label { display: block; padding: 8px 16px; } - .block__logo { + .block__logo:not(.popover__block) { width: 160px; color: var(--b3-theme-on-surface); @@ -17,22 +51,6 @@ white-space: nowrap; overflow: hidden; } - - &.custom-attr__avheader { - color: var(--b3-protyle-inline-blockref-color); - opacity: .86; - transition: var(--b3-transition); - width: 100%; - align-items: center; - justify-content: center; - border-bottom: 1px solid var(--b3-border-color); - padding: 8px 0; - cursor: pointer; - - &:hover { - opacity: 1; - } - } } .block__icons { @@ -54,19 +72,6 @@ } } - .custom-attr__avvalue { - cursor: pointer; - transition: var(--b3-transition); - border-radius: var(--b3-border-radius); - padding: 4px 8px; - line-height: 26px; - min-height: 26px; - - &:hover { - background-color: var(--b3-theme-background); - } - } - .b3-chip { margin: 1px 2px; } diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index 3c3313a6230..b31a400ff80 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -1,8 +1,9 @@ import {fetchPost} from "../../../util/fetch"; -import {getColIconByType} from "./col"; +import {addCol, getColIconByType} from "./col"; import {escapeAttr} from "../../../util/escape"; import * as dayjs from "dayjs"; import {popTextCell} from "./cell"; +import {hasClosestBlock} from "../../util/hasClosest"; const genAVRollupHTML = (value: IAVCellValue) => { let html = ""; @@ -149,9 +150,13 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle: IPr avName: string }) => { html += `
    -