@touchvue/chat 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -0
- package/es/_virtual/_commonjsHelpers.mjs +6 -0
- package/es/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/es/_virtual/emphasis.mjs +4 -0
- package/es/_virtual/emphasis.mjs.map +1 -0
- package/es/_virtual/html_re.mjs +4 -0
- package/es/_virtual/html_re.mjs.map +1 -0
- package/es/_virtual/index.mjs +4 -0
- package/es/_virtual/index.mjs.map +1 -0
- package/es/_virtual/index2.mjs +4 -0
- package/es/_virtual/index2.mjs.map +1 -0
- package/es/_virtual/index3.mjs +4 -0
- package/es/_virtual/index3.mjs.map +1 -0
- package/es/_virtual/strikethrough.mjs +4 -0
- package/es/_virtual/strikethrough.mjs.map +1 -0
- package/es/_virtual/utils.mjs +4 -0
- package/es/_virtual/utils.mjs.map +1 -0
- package/es/assets/Avatar-AI-8c9ec26060b39bf7.png +0 -0
- package/es/assets/bgimage-ef345ea032b1fc13.png +0 -0
- package/es/assets/icon-ac4086674fbfd358.png +0 -0
- package/es/assets/link-45d328ddcc34e562.png +0 -0
- package/es/index.d.ts +9 -0
- package/es/index.mjs +30 -0
- package/es/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs +4253 -0
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.mjs +2524 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.mjs +120 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.mjs +201 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.mjs +176 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.mjs +508 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.mjs +316 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.mjs +471 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.mjs +448 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.mjs +615 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.mjs +278 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.mjs +206 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.mjs +133 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.mjs +93 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.mjs +206 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.mjs +166 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.mjs +93 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.mjs +81 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.mjs +181 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.mjs +331 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.mjs +180 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.mjs +359 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.mjs +180 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.mjs +188 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.mjs +70 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.mjs +57 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.mjs +423 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.mjs +291 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.mjs +118 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.mjs +89 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.mjs +113 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.mjs +128 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.mjs +522 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.mjs +211 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.mjs +338 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.mjs +109 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.mjs +453 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.mjs +238 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.mjs +394 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.mjs +153 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.mjs +140 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.mjs +147 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.mjs +214 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.mjs +37 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.mjs +706 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.mjs +880 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.mjs +704 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.mjs +31 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.mjs +116 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.mjs.map +1 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs +638 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs +196 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +146 -0
- package/es/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +142 -0
- package/es/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +206 -0
- package/es/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.mjs +24 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.mjs +1909 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.mjs +45 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.mjs +18 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.mjs +61 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.mjs +6 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.mjs +88 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +355 -0
- package/es/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +126 -0
- package/es/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +126 -0
- package/es/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +63 -0
- package/es/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +63 -0
- package/es/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs +9 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs +7 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs +67 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs +29 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs +324 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs +11 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +83 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +44 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +56 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs +596 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs +138 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs +69 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs +78 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs +39 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs +59 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs +346 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs +354 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs +286 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs +32 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs +96 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs +57 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs +47 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs +76 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs +81 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs +366 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs +50 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs +197 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs +234 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs +223 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs +16 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs +14 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs +132 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs +19 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs +97 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +202 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs +21 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs +74 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs +61 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +128 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +130 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs +51 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs +54 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +48 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs +154 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs +150 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs +48 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +156 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +130 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs +56 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs +33 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs +199 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs +121 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs +97 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs +24 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs +13 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs +292 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs.map +1 -0
- package/es/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.mjs +136 -0
- package/es/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs +23 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
- package/es/package.json.css +1 -0
- package/es/package.json.mjs +101 -0
- package/es/package.json.mjs.map +1 -0
- package/es/packages/components/index.mjs +3 -0
- package/es/packages/components/index.mjs.map +1 -0
- package/es/packages/components/package.json.mjs +36 -0
- package/es/packages/components/package.json.mjs.map +1 -0
- package/es/packages/components/resolver.mjs +31 -0
- package/es/packages/components/resolver.mjs.map +1 -0
- package/es/packages/components/touchchat/component/CardView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/CardView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/CardView.vue2.mjs +135 -0
- package/es/packages/components/touchchat/component/CardView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue2.mjs +62 -0
- package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs +58 -0
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs +31 -0
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/LinkView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/LinkView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs +75 -0
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/img/AI.png.mjs +4 -0
- package/es/packages/components/touchchat/img/AI.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/asir.png.mjs +4 -0
- package/es/packages/components/touchchat/img/asir.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/bgimage.png.mjs +4 -0
- package/es/packages/components/touchchat/img/bgimage.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/link.png.mjs +4 -0
- package/es/packages/components/touchchat/img/link.png.mjs.map +1 -0
- package/es/packages/components/touchchat/index.mjs +9 -0
- package/es/packages/components/touchchat/index.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +342 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +182 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +450 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +105 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +267 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +843 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +212 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +133 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs +632 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs +263 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs +197 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs +67 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs +48 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs +267 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs +89 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs +64 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs +36 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs +36 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs +4 -0
- package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/img/icon.png.mjs +4 -0
- package/es/packages/components/touchchat/src/AiRobot/img/icon.png.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs +81 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/index.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/index.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/index.vue2.mjs +147 -0
- package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/chatRobot.mjs +111 -0
- package/es/packages/components/touchchat/utils/chatRobot.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/deepCloneDom.mjs +59 -0
- package/es/packages/components/touchchat/utils/deepCloneDom.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs +103 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/hight-it.mjs +114 -0
- package/es/packages/components/touchchat/utils/hight-it.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/markdown.mjs +42 -0
- package/es/packages/components/touchchat/utils/markdown.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/socket.mjs +196 -0
- package/es/packages/components/touchchat/utils/socket.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/tools.mjs +74 -0
- package/es/packages/components/touchchat/utils/tools.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/uuid.mjs +15 -0
- package/es/packages/components/touchchat/utils/uuid.mjs.map +1 -0
- package/es/packages/utils/config.mjs +18 -0
- package/es/packages/utils/config.mjs.map +1 -0
- package/es/packages/utils/index.mjs +3 -0
- package/es/packages/utils/index.mjs.map +1 -0
- package/es/packages/utils/package.json.mjs +36 -0
- package/es/packages/utils/package.json.mjs.map +1 -0
- package/es/packages/utils/types.mjs +23 -0
- package/es/packages/utils/types.mjs.map +1 -0
- package/global.d.ts +9 -0
- package/lib/_virtual/_commonjsHelpers.js +8 -0
- package/lib/_virtual/_commonjsHelpers.js.map +1 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
- package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/lib/_virtual/emphasis.js +6 -0
- package/lib/_virtual/emphasis.js.map +1 -0
- package/lib/_virtual/html_re.js +6 -0
- package/lib/_virtual/html_re.js.map +1 -0
- package/lib/_virtual/index.js +6 -0
- package/lib/_virtual/index.js.map +1 -0
- package/lib/_virtual/index2.js +6 -0
- package/lib/_virtual/index2.js.map +1 -0
- package/lib/_virtual/index3.js +6 -0
- package/lib/_virtual/index3.js.map +1 -0
- package/lib/_virtual/strikethrough.js +6 -0
- package/lib/_virtual/strikethrough.js.map +1 -0
- package/lib/_virtual/utils.js +6 -0
- package/lib/_virtual/utils.js.map +1 -0
- package/lib/assets/Avatar-AI-8c9ec26060b39bf7.png +0 -0
- package/lib/assets/bgimage-ef345ea032b1fc13.png +0 -0
- package/lib/assets/icon-ac4086674fbfd358.png +0 -0
- package/lib/assets/link-45d328ddcc34e562.png +0 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +36 -0
- package/lib/index.js.map +1 -0
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js +6380 -0
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.js +2528 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.js +124 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.js +205 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.js +180 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.js +512 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.js +320 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.js +475 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.js +452 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.js +619 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.js +282 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.js +210 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.js +137 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.js +97 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.js +210 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.js +170 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.js +97 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.js +85 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.js +185 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.js +335 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.js +184 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.js +363 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.js +184 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.js +192 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.js +74 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.js +61 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.js +427 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.js +295 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.js +122 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.js +93 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.js +117 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.js +132 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.js +526 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.js +215 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.js +342 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.js +113 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.js +457 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.js +242 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.js +398 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.js +157 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.js +144 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.js +151 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.js +218 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.js +41 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.js +710 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.js +884 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.js +708 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.js +35 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.js +120 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.js.map +1 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js +640 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js.map +1 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js +198 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.js +150 -0
- package/lib/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.js +146 -0
- package/lib/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.js +210 -0
- package/lib/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.js +28 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.js +1913 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.js +49 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.js +22 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.js +65 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.js +10 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.js +92 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.js +359 -0
- package/lib/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.js +67 -0
- package/lib/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.js +67 -0
- package/lib/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js +13 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js +9 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js +69 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js +33 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js +326 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js +15 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js +85 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js +46 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js +58 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js +598 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js +140 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js +71 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js +199 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js +80 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js +41 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js +61 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js +348 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js +356 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js +288 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js +34 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js +98 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js +59 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js +49 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js +78 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js +83 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js +368 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js +52 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js +199 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js +236 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js +225 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js +18 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js +16 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js +21 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js +99 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js +204 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js +23 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js +76 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js +63 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js +53 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js +56 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js +50 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js +156 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js +152 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js +50 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js +158 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js +58 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js +35 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js +201 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +123 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +99 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +26 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +17 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +294 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js.map +1 -0
- package/lib/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js +138 -0
- package/lib/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +6 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +25 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js.map +1 -0
- package/lib/package.json.css +1 -0
- package/lib/package.json.js +120 -0
- package/lib/package.json.js.map +1 -0
- package/lib/packages/components/index.js +11 -0
- package/lib/packages/components/index.js.map +1 -0
- package/lib/packages/components/package.json.js +47 -0
- package/lib/packages/components/package.json.js.map +1 -0
- package/lib/packages/components/resolver.js +36 -0
- package/lib/packages/components/resolver.js.map +1 -0
- package/lib/packages/components/touchchat/component/CardView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/CardView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/CardView.vue2.js +139 -0
- package/lib/packages/components/touchchat/component/CardView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue2.js +66 -0
- package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue.js +11 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js +62 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue2.js +35 -0
- package/lib/packages/components/touchchat/component/ImageView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/LinkView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/LinkView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/LinkView.vue2.js +79 -0
- package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/img/AI.png.js +8 -0
- package/lib/packages/components/touchchat/img/AI.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/asir.png.js +8 -0
- package/lib/packages/components/touchchat/img/asir.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/bgimage.png.js +8 -0
- package/lib/packages/components/touchchat/img/bgimage.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file.png.js +8 -0
- package/lib/packages/components/touchchat/img/file.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/link.png.js +8 -0
- package/lib/packages/components/touchchat/img/link.png.js.map +1 -0
- package/lib/packages/components/touchchat/index.js +12 -0
- package/lib/packages/components/touchchat/index.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +346 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +186 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +454 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +109 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +271 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +847 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +216 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +137 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js +636 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js +267 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js +201 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js +71 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js +52 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js +271 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js +93 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js +68 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js +40 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js +40 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js +8 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/icon.png.js +8 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/icon.png.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js +85 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/index.vue.js +11 -0
- package/lib/packages/components/touchchat/src/index.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/index.vue2.js +151 -0
- package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/utils/chatRobot.js +113 -0
- package/lib/packages/components/touchchat/utils/chatRobot.js.map +1 -0
- package/lib/packages/components/touchchat/utils/deepCloneDom.js +61 -0
- package/lib/packages/components/touchchat/utils/deepCloneDom.js.map +1 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js +105 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -0
- package/lib/packages/components/touchchat/utils/hight-it.js +118 -0
- package/lib/packages/components/touchchat/utils/hight-it.js.map +1 -0
- package/lib/packages/components/touchchat/utils/markdown.js +46 -0
- package/lib/packages/components/touchchat/utils/markdown.js.map +1 -0
- package/lib/packages/components/touchchat/utils/socket.js +199 -0
- package/lib/packages/components/touchchat/utils/socket.js.map +1 -0
- package/lib/packages/components/touchchat/utils/tools.js +79 -0
- package/lib/packages/components/touchchat/utils/tools.js.map +1 -0
- package/lib/packages/components/touchchat/utils/uuid.js +19 -0
- package/lib/packages/components/touchchat/utils/uuid.js.map +1 -0
- package/lib/packages/utils/config.js +21 -0
- package/lib/packages/utils/config.js.map +1 -0
- package/lib/packages/utils/index.js +12 -0
- package/lib/packages/utils/index.js.map +1 -0
- package/lib/packages/utils/package.json.js +50 -0
- package/lib/packages/utils/package.json.js.map +1 -0
- package/lib/packages/utils/types.js +26 -0
- package/lib/packages/utils/types.js.map +1 -0
- package/package.json +83 -0
- package/theme/components/index.css +3 -0
- package/theme/img/default.png +0 -0
- package/theme/index.css +6 -0
- package/theme/skin/default.css +6 -0
- package/types/global.d.ts +9 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reference.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js"],"sourcesContent":["'use strict';\n\n\nvar normalizeReference = require('../common/utils').normalizeReference;\nvar isSpace = require('../common/utils').isSpace;\n\n\nmodule.exports = function reference(state, startLine, _endLine, silent) {\n var ch,\n destEndPos,\n destEndLineNo,\n endLine,\n href,\n i,\n l,\n label,\n labelEnd,\n oldParentType,\n res,\n start,\n str,\n terminate,\n terminatorRules,\n title,\n lines = 0,\n pos = state.bMarks[startLine] + state.tShift[startLine],\n max = state.eMarks[startLine],\n nextLine = startLine + 1;\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n\n if (state.src.charCodeAt(pos) !== 0x5B/* [ */) { return false; }\n\n // Simple check to quickly interrupt scan on [link](url) at the start of line.\n // Can be useful on practice: https://github.com/markdown-it/markdown-it/issues/54\n while (++pos < max) {\n if (state.src.charCodeAt(pos) === 0x5D /* ] */ &&\n state.src.charCodeAt(pos - 1) !== 0x5C/* \\ */) {\n if (pos + 1 === max) { return false; }\n if (state.src.charCodeAt(pos + 1) !== 0x3A/* : */) { return false; }\n break;\n }\n }\n\n endLine = state.lineMax;\n\n // jump line-by-line until empty one or EOF\n terminatorRules = state.md.block.ruler.getRules('reference');\n\n oldParentType = state.parentType;\n state.parentType = 'reference';\n\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue; }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue; }\n\n // Some tags can terminate paragraph without empty line.\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n if (terminate) { break; }\n }\n\n str = state.getLines(startLine, nextLine, state.blkIndent, false).trim();\n max = str.length;\n\n for (pos = 1; pos < max; pos++) {\n ch = str.charCodeAt(pos);\n if (ch === 0x5B /* [ */) {\n return false;\n } else if (ch === 0x5D /* ] */) {\n labelEnd = pos;\n break;\n } else if (ch === 0x0A /* \\n */) {\n lines++;\n } else if (ch === 0x5C /* \\ */) {\n pos++;\n if (pos < max && str.charCodeAt(pos) === 0x0A) {\n lines++;\n }\n }\n }\n\n if (labelEnd < 0 || str.charCodeAt(labelEnd + 1) !== 0x3A/* : */) { return false; }\n\n // [label]: destination 'title'\n // ^^^ skip optional whitespace here\n for (pos = labelEnd + 2; pos < max; pos++) {\n ch = str.charCodeAt(pos);\n if (ch === 0x0A) {\n lines++;\n } else if (isSpace(ch)) {\n /*eslint no-empty:0*/\n } else {\n break;\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^^^^^ parse this\n res = state.md.helpers.parseLinkDestination(str, pos, max);\n if (!res.ok) { return false; }\n\n href = state.md.normalizeLink(res.str);\n if (!state.md.validateLink(href)) { return false; }\n\n pos = res.pos;\n lines += res.lines;\n\n // save cursor state, we could require to rollback later\n destEndPos = pos;\n destEndLineNo = lines;\n\n // [label]: destination 'title'\n // ^^^ skipping those spaces\n start = pos;\n for (; pos < max; pos++) {\n ch = str.charCodeAt(pos);\n if (ch === 0x0A) {\n lines++;\n } else if (isSpace(ch)) {\n /*eslint no-empty:0*/\n } else {\n break;\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^ parse this\n res = state.md.helpers.parseLinkTitle(str, pos, max);\n if (pos < max && start !== pos && res.ok) {\n title = res.str;\n pos = res.pos;\n lines += res.lines;\n } else {\n title = '';\n pos = destEndPos;\n lines = destEndLineNo;\n }\n\n // skip trailing spaces until the rest of the line\n while (pos < max) {\n ch = str.charCodeAt(pos);\n if (!isSpace(ch)) { break; }\n pos++;\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n if (title) {\n // garbage at the end of the line after title,\n // but it could still be a valid reference if we roll back\n title = '';\n pos = destEndPos;\n lines = destEndLineNo;\n while (pos < max) {\n ch = str.charCodeAt(pos);\n if (!isSpace(ch)) { break; }\n pos++;\n }\n }\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n // garbage at the end of the line\n return false;\n }\n\n label = normalizeReference(str.slice(1, labelEnd));\n if (!label) {\n // CommonMark 0.20 disallows empty labels\n return false;\n }\n\n // Reference can not terminate anything. This check is for safety only.\n /*istanbul ignore if*/\n if (silent) { return true; }\n\n if (typeof state.env.references === 'undefined') {\n state.env.references = {};\n }\n if (typeof state.env.references[label] === 'undefined') {\n state.env.references[label] = { title: title, href: href };\n }\n\n state.parentType = oldParentType;\n\n state.line = startLine + lines + 1;\n return true;\n};\n"],"names":["require$$0"],"mappings":";;;AAGA,IAAI,kBAAkB,KAAKA,KAA0B,CAAC,kBAAkB,CAAA;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E;AACd;AACA,IAAI,OAAO,KAAK,CAAA;AAChB,GAAA;;AAEA;AACA;AACA,EAAE,IAAI,MAAM,EAAE,EAAE,OAAO,IAAI,CAAC,EAAA;;AAE5B,EAAE,IAAI,OAAO,KAAK,CAAC,GAAG,CAAC,UAAU,KAAK,WAAW,EAAE;AACnD,IAAI,KAAK,CAAC,GAAG,CAAC,UAAU,GAAG,EAAE,CAAA;AAC7B,GAAA;AACA,EAAE,IAAI,OAAO,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,WAAW,EAAE;AAC1D,IAAI,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;AAC9D,GAAA;;AAEA,EAAE,KAAK,CAAC,UAAU,GAAG,aAAa,CAAA;;AAElC,EAAE,KAAK,CAAC,IAAI,GAAG,SAAS,GAAG,KAAK,GAAG,CAAC,CAAA;AACpC,EAAE,OAAO,IAAI,CAAA;AACb;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { __exports as utils } from '../../../../../../../_virtual/utils.mjs';
|
|
2
|
+
import '../common/utils.mjs';
|
|
3
|
+
import { t as token } from '../token.mjs';
|
|
4
|
+
|
|
5
|
+
var Token = token;
|
|
6
|
+
var isSpace = utils.isSpace;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
function StateBlock(src, md, env, tokens) {
|
|
10
|
+
var ch, s, start, pos, len, indent, offset, indent_found;
|
|
11
|
+
|
|
12
|
+
this.src = src;
|
|
13
|
+
|
|
14
|
+
// link to parser instance
|
|
15
|
+
this.md = md;
|
|
16
|
+
|
|
17
|
+
this.env = env;
|
|
18
|
+
|
|
19
|
+
//
|
|
20
|
+
// Internal state vartiables
|
|
21
|
+
//
|
|
22
|
+
|
|
23
|
+
this.tokens = tokens;
|
|
24
|
+
|
|
25
|
+
this.bMarks = []; // line begin offsets for fast jumps
|
|
26
|
+
this.eMarks = []; // line end offsets for fast jumps
|
|
27
|
+
this.tShift = []; // offsets of the first non-space characters (tabs not expanded)
|
|
28
|
+
this.sCount = []; // indents for each line (tabs expanded)
|
|
29
|
+
|
|
30
|
+
// An amount of virtual spaces (tabs expanded) between beginning
|
|
31
|
+
// of each line (bMarks) and real beginning of that line.
|
|
32
|
+
//
|
|
33
|
+
// It exists only as a hack because blockquotes override bMarks
|
|
34
|
+
// losing information in the process.
|
|
35
|
+
//
|
|
36
|
+
// It's used only when expanding tabs, you can think about it as
|
|
37
|
+
// an initial tab length, e.g. bsCount=21 applied to string `\t123`
|
|
38
|
+
// means first tab should be expanded to 4-21%4 === 3 spaces.
|
|
39
|
+
//
|
|
40
|
+
this.bsCount = [];
|
|
41
|
+
|
|
42
|
+
// block parser variables
|
|
43
|
+
this.blkIndent = 0; // required block content indent (for example, if we are
|
|
44
|
+
// inside a list, it would be positioned after list marker)
|
|
45
|
+
this.line = 0; // line index in src
|
|
46
|
+
this.lineMax = 0; // lines count
|
|
47
|
+
this.tight = false; // loose/tight mode for lists
|
|
48
|
+
this.ddIndent = -1; // indent of the current dd block (-1 if there isn't any)
|
|
49
|
+
this.listIndent = -1; // indent of the current list block (-1 if there isn't any)
|
|
50
|
+
|
|
51
|
+
// can be 'blockquote', 'list', 'root', 'paragraph' or 'reference'
|
|
52
|
+
// used in lists to determine if they interrupt a paragraph
|
|
53
|
+
this.parentType = 'root';
|
|
54
|
+
|
|
55
|
+
this.level = 0;
|
|
56
|
+
|
|
57
|
+
// renderer
|
|
58
|
+
this.result = '';
|
|
59
|
+
|
|
60
|
+
// Create caches
|
|
61
|
+
// Generate markers.
|
|
62
|
+
s = this.src;
|
|
63
|
+
indent_found = false;
|
|
64
|
+
|
|
65
|
+
for (start = pos = indent = offset = 0, len = s.length; pos < len; pos++) {
|
|
66
|
+
ch = s.charCodeAt(pos);
|
|
67
|
+
|
|
68
|
+
if (!indent_found) {
|
|
69
|
+
if (isSpace(ch)) {
|
|
70
|
+
indent++;
|
|
71
|
+
|
|
72
|
+
if (ch === 0x09) {
|
|
73
|
+
offset += 4 - offset % 4;
|
|
74
|
+
} else {
|
|
75
|
+
offset++;
|
|
76
|
+
}
|
|
77
|
+
continue;
|
|
78
|
+
} else {
|
|
79
|
+
indent_found = true;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (ch === 0x0A || pos === len - 1) {
|
|
84
|
+
if (ch !== 0x0A) { pos++; }
|
|
85
|
+
this.bMarks.push(start);
|
|
86
|
+
this.eMarks.push(pos);
|
|
87
|
+
this.tShift.push(indent);
|
|
88
|
+
this.sCount.push(offset);
|
|
89
|
+
this.bsCount.push(0);
|
|
90
|
+
|
|
91
|
+
indent_found = false;
|
|
92
|
+
indent = 0;
|
|
93
|
+
offset = 0;
|
|
94
|
+
start = pos + 1;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Push fake entry to simplify cache bounds checks
|
|
99
|
+
this.bMarks.push(s.length);
|
|
100
|
+
this.eMarks.push(s.length);
|
|
101
|
+
this.tShift.push(0);
|
|
102
|
+
this.sCount.push(0);
|
|
103
|
+
this.bsCount.push(0);
|
|
104
|
+
|
|
105
|
+
this.lineMax = this.bMarks.length - 1; // don't count last fake line
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Push new token to "stream".
|
|
109
|
+
//
|
|
110
|
+
StateBlock.prototype.push = function (type, tag, nesting) {
|
|
111
|
+
var token = new Token(type, tag, nesting);
|
|
112
|
+
token.block = true;
|
|
113
|
+
|
|
114
|
+
if (nesting < 0) this.level--; // closing tag
|
|
115
|
+
token.level = this.level;
|
|
116
|
+
if (nesting > 0) this.level++; // opening tag
|
|
117
|
+
|
|
118
|
+
this.tokens.push(token);
|
|
119
|
+
return token;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
StateBlock.prototype.isEmpty = function isEmpty(line) {
|
|
123
|
+
return this.bMarks[line] + this.tShift[line] >= this.eMarks[line];
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
StateBlock.prototype.skipEmptyLines = function skipEmptyLines(from) {
|
|
127
|
+
for (var max = this.lineMax; from < max; from++) {
|
|
128
|
+
if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return from;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
// Skip spaces from given position.
|
|
136
|
+
StateBlock.prototype.skipSpaces = function skipSpaces(pos) {
|
|
137
|
+
var ch;
|
|
138
|
+
|
|
139
|
+
for (var max = this.src.length; pos < max; pos++) {
|
|
140
|
+
ch = this.src.charCodeAt(pos);
|
|
141
|
+
if (!isSpace(ch)) { break; }
|
|
142
|
+
}
|
|
143
|
+
return pos;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// Skip spaces from given position in reverse.
|
|
147
|
+
StateBlock.prototype.skipSpacesBack = function skipSpacesBack(pos, min) {
|
|
148
|
+
if (pos <= min) { return pos; }
|
|
149
|
+
|
|
150
|
+
while (pos > min) {
|
|
151
|
+
if (!isSpace(this.src.charCodeAt(--pos))) { return pos + 1; }
|
|
152
|
+
}
|
|
153
|
+
return pos;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
// Skip char codes from given position
|
|
157
|
+
StateBlock.prototype.skipChars = function skipChars(pos, code) {
|
|
158
|
+
for (var max = this.src.length; pos < max; pos++) {
|
|
159
|
+
if (this.src.charCodeAt(pos) !== code) { break; }
|
|
160
|
+
}
|
|
161
|
+
return pos;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
// Skip char codes reverse from given position - 1
|
|
165
|
+
StateBlock.prototype.skipCharsBack = function skipCharsBack(pos, code, min) {
|
|
166
|
+
if (pos <= min) { return pos; }
|
|
167
|
+
|
|
168
|
+
while (pos > min) {
|
|
169
|
+
if (code !== this.src.charCodeAt(--pos)) { return pos + 1; }
|
|
170
|
+
}
|
|
171
|
+
return pos;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
// cut lines range from source.
|
|
175
|
+
StateBlock.prototype.getLines = function getLines(begin, end, indent, keepLastLF) {
|
|
176
|
+
var i, lineIndent, ch, first, last, queue, lineStart,
|
|
177
|
+
line = begin;
|
|
178
|
+
|
|
179
|
+
if (begin >= end) {
|
|
180
|
+
return '';
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
queue = new Array(end - begin);
|
|
184
|
+
|
|
185
|
+
for (i = 0; line < end; line++, i++) {
|
|
186
|
+
lineIndent = 0;
|
|
187
|
+
lineStart = first = this.bMarks[line];
|
|
188
|
+
|
|
189
|
+
if (line + 1 < end || keepLastLF) {
|
|
190
|
+
// No need for bounds check because we have fake entry on tail.
|
|
191
|
+
last = this.eMarks[line] + 1;
|
|
192
|
+
} else {
|
|
193
|
+
last = this.eMarks[line];
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
while (first < last && lineIndent < indent) {
|
|
197
|
+
ch = this.src.charCodeAt(first);
|
|
198
|
+
|
|
199
|
+
if (isSpace(ch)) {
|
|
200
|
+
if (ch === 0x09) {
|
|
201
|
+
lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;
|
|
202
|
+
} else {
|
|
203
|
+
lineIndent++;
|
|
204
|
+
}
|
|
205
|
+
} else if (first - lineStart < this.tShift[line]) {
|
|
206
|
+
// patched tShift masked characters to look like spaces (blockquotes, list markers)
|
|
207
|
+
lineIndent++;
|
|
208
|
+
} else {
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
first++;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (lineIndent > indent) {
|
|
216
|
+
// partially expanding tabs in code blocks, e.g '\t\tfoobar'
|
|
217
|
+
// with indent=2 becomes ' \tfoobar'
|
|
218
|
+
queue[i] = new Array(lineIndent - indent + 1).join(' ') + this.src.slice(first, last);
|
|
219
|
+
} else {
|
|
220
|
+
queue[i] = this.src.slice(first, last);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
return queue.join('');
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
// re-export Token class to use in block rules
|
|
228
|
+
StateBlock.prototype.Token = Token;
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
var state_block = StateBlock;
|
|
232
|
+
|
|
233
|
+
export { state_block as s };
|
|
234
|
+
//# sourceMappingURL=state_block.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state_block.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js"],"sourcesContent":["// Parser state class\n\n'use strict';\n\nvar Token = require('../token');\nvar isSpace = require('../common/utils').isSpace;\n\n\nfunction StateBlock(src, md, env, tokens) {\n var ch, s, start, pos, len, indent, offset, indent_found;\n\n this.src = src;\n\n // link to parser instance\n this.md = md;\n\n this.env = env;\n\n //\n // Internal state vartiables\n //\n\n this.tokens = tokens;\n\n this.bMarks = []; // line begin offsets for fast jumps\n this.eMarks = []; // line end offsets for fast jumps\n this.tShift = []; // offsets of the first non-space characters (tabs not expanded)\n this.sCount = []; // indents for each line (tabs expanded)\n\n // An amount of virtual spaces (tabs expanded) between beginning\n // of each line (bMarks) and real beginning of that line.\n //\n // It exists only as a hack because blockquotes override bMarks\n // losing information in the process.\n //\n // It's used only when expanding tabs, you can think about it as\n // an initial tab length, e.g. bsCount=21 applied to string `\\t123`\n // means first tab should be expanded to 4-21%4 === 3 spaces.\n //\n this.bsCount = [];\n\n // block parser variables\n this.blkIndent = 0; // required block content indent (for example, if we are\n // inside a list, it would be positioned after list marker)\n this.line = 0; // line index in src\n this.lineMax = 0; // lines count\n this.tight = false; // loose/tight mode for lists\n this.ddIndent = -1; // indent of the current dd block (-1 if there isn't any)\n this.listIndent = -1; // indent of the current list block (-1 if there isn't any)\n\n // can be 'blockquote', 'list', 'root', 'paragraph' or 'reference'\n // used in lists to determine if they interrupt a paragraph\n this.parentType = 'root';\n\n this.level = 0;\n\n // renderer\n this.result = '';\n\n // Create caches\n // Generate markers.\n s = this.src;\n indent_found = false;\n\n for (start = pos = indent = offset = 0, len = s.length; pos < len; pos++) {\n ch = s.charCodeAt(pos);\n\n if (!indent_found) {\n if (isSpace(ch)) {\n indent++;\n\n if (ch === 0x09) {\n offset += 4 - offset % 4;\n } else {\n offset++;\n }\n continue;\n } else {\n indent_found = true;\n }\n }\n\n if (ch === 0x0A || pos === len - 1) {\n if (ch !== 0x0A) { pos++; }\n this.bMarks.push(start);\n this.eMarks.push(pos);\n this.tShift.push(indent);\n this.sCount.push(offset);\n this.bsCount.push(0);\n\n indent_found = false;\n indent = 0;\n offset = 0;\n start = pos + 1;\n }\n }\n\n // Push fake entry to simplify cache bounds checks\n this.bMarks.push(s.length);\n this.eMarks.push(s.length);\n this.tShift.push(0);\n this.sCount.push(0);\n this.bsCount.push(0);\n\n this.lineMax = this.bMarks.length - 1; // don't count last fake line\n}\n\n// Push new token to \"stream\".\n//\nStateBlock.prototype.push = function (type, tag, nesting) {\n var token = new Token(type, tag, nesting);\n token.block = true;\n\n if (nesting < 0) this.level--; // closing tag\n token.level = this.level;\n if (nesting > 0) this.level++; // opening tag\n\n this.tokens.push(token);\n return token;\n};\n\nStateBlock.prototype.isEmpty = function isEmpty(line) {\n return this.bMarks[line] + this.tShift[line] >= this.eMarks[line];\n};\n\nStateBlock.prototype.skipEmptyLines = function skipEmptyLines(from) {\n for (var max = this.lineMax; from < max; from++) {\n if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {\n break;\n }\n }\n return from;\n};\n\n// Skip spaces from given position.\nStateBlock.prototype.skipSpaces = function skipSpaces(pos) {\n var ch;\n\n for (var max = this.src.length; pos < max; pos++) {\n ch = this.src.charCodeAt(pos);\n if (!isSpace(ch)) { break; }\n }\n return pos;\n};\n\n// Skip spaces from given position in reverse.\nStateBlock.prototype.skipSpacesBack = function skipSpacesBack(pos, min) {\n if (pos <= min) { return pos; }\n\n while (pos > min) {\n if (!isSpace(this.src.charCodeAt(--pos))) { return pos + 1; }\n }\n return pos;\n};\n\n// Skip char codes from given position\nStateBlock.prototype.skipChars = function skipChars(pos, code) {\n for (var max = this.src.length; pos < max; pos++) {\n if (this.src.charCodeAt(pos) !== code) { break; }\n }\n return pos;\n};\n\n// Skip char codes reverse from given position - 1\nStateBlock.prototype.skipCharsBack = function skipCharsBack(pos, code, min) {\n if (pos <= min) { return pos; }\n\n while (pos > min) {\n if (code !== this.src.charCodeAt(--pos)) { return pos + 1; }\n }\n return pos;\n};\n\n// cut lines range from source.\nStateBlock.prototype.getLines = function getLines(begin, end, indent, keepLastLF) {\n var i, lineIndent, ch, first, last, queue, lineStart,\n line = begin;\n\n if (begin >= end) {\n return '';\n }\n\n queue = new Array(end - begin);\n\n for (i = 0; line < end; line++, i++) {\n lineIndent = 0;\n lineStart = first = this.bMarks[line];\n\n if (line + 1 < end || keepLastLF) {\n // No need for bounds check because we have fake entry on tail.\n last = this.eMarks[line] + 1;\n } else {\n last = this.eMarks[line];\n }\n\n while (first < last && lineIndent < indent) {\n ch = this.src.charCodeAt(first);\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;\n } else {\n lineIndent++;\n }\n } else if (first - lineStart < this.tShift[line]) {\n // patched tShift masked characters to look like spaces (blockquotes, list markers)\n lineIndent++;\n } else {\n break;\n }\n\n first++;\n }\n\n if (lineIndent > indent) {\n // partially expanding tabs in code blocks, e.g '\\t\\tfoobar'\n // with indent=2 becomes ' \\tfoobar'\n queue[i] = new Array(lineIndent - indent + 1).join(' ') + this.src.slice(first, last);\n } else {\n queue[i] = this.src.slice(first, last);\n }\n }\n\n return queue.join('');\n};\n\n// re-export Token class to use in block rules\nStateBlock.prototype.Token = Token;\n\n\nmodule.exports = StateBlock;\n"],"names":["require$$0","require$$1"],"mappings":";;;;AAIA,IAAI,KAAK,G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AACb,KAAA;;AAEA,IAAI,IAAI,UAAU,GAAG,MAAM,EAAE;AAC7B;AACA;AACA,MAAM,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,UAAU,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;AAC3F,KAAK,MAAM;AACX,MAAM,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;AAC5C,KAAA;AACA,GAAA;;AAEA,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACvB,CAAC,CAAA;;AAED;AACA,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAA;;;AAGlC,IAAA,WAAc,GAAG;;;;","x_google_ignoreList":[0]}
|
package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { __exports as utils } from '../../../../../../../_virtual/utils.mjs';
|
|
2
|
+
import '../common/utils.mjs';
|
|
3
|
+
|
|
4
|
+
var isSpace = utils.isSpace;
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
function getLine(state, line) {
|
|
8
|
+
var pos = state.bMarks[line] + state.tShift[line],
|
|
9
|
+
max = state.eMarks[line];
|
|
10
|
+
|
|
11
|
+
return state.src.substr(pos, max - pos);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function escapedSplit(str) {
|
|
15
|
+
var result = [],
|
|
16
|
+
pos = 0,
|
|
17
|
+
max = str.length,
|
|
18
|
+
ch,
|
|
19
|
+
isEscaped = false,
|
|
20
|
+
lastPos = 0,
|
|
21
|
+
current = '';
|
|
22
|
+
|
|
23
|
+
ch = str.charCodeAt(pos);
|
|
24
|
+
|
|
25
|
+
while (pos < max) {
|
|
26
|
+
if (ch === 0x7c/* | */) {
|
|
27
|
+
if (!isEscaped) {
|
|
28
|
+
// pipe separating cells, '|'
|
|
29
|
+
result.push(current + str.substring(lastPos, pos));
|
|
30
|
+
current = '';
|
|
31
|
+
lastPos = pos + 1;
|
|
32
|
+
} else {
|
|
33
|
+
// escaped pipe, '\|'
|
|
34
|
+
current += str.substring(lastPos, pos - 1);
|
|
35
|
+
lastPos = pos;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
isEscaped = (ch === 0x5c/* \ */);
|
|
40
|
+
pos++;
|
|
41
|
+
|
|
42
|
+
ch = str.charCodeAt(pos);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
result.push(current + str.substring(lastPos));
|
|
46
|
+
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
var table = function table(state, startLine, endLine, silent) {
|
|
52
|
+
var ch, lineText, pos, i, l, nextLine, columns, columnCount, token,
|
|
53
|
+
aligns, t, tableLines, tbodyLines, oldParentType, terminate,
|
|
54
|
+
terminatorRules, firstCh, secondCh;
|
|
55
|
+
|
|
56
|
+
// should have at least two lines
|
|
57
|
+
if (startLine + 2 > endLine) { return false; }
|
|
58
|
+
|
|
59
|
+
nextLine = startLine + 1;
|
|
60
|
+
|
|
61
|
+
if (state.sCount[nextLine] < state.blkIndent) { return false; }
|
|
62
|
+
|
|
63
|
+
// if it's indented more than 3 spaces, it should be a code block
|
|
64
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) { return false; }
|
|
65
|
+
|
|
66
|
+
// first character of the second line should be '|', '-', ':',
|
|
67
|
+
// and no other characters are allowed but spaces;
|
|
68
|
+
// basically, this is the equivalent of /^[-:|][-:|\s]*$/ regexp
|
|
69
|
+
|
|
70
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
71
|
+
if (pos >= state.eMarks[nextLine]) { return false; }
|
|
72
|
+
|
|
73
|
+
firstCh = state.src.charCodeAt(pos++);
|
|
74
|
+
if (firstCh !== 0x7C/* | */ && firstCh !== 0x2D/* - */ && firstCh !== 0x3A/* : */) { return false; }
|
|
75
|
+
|
|
76
|
+
if (pos >= state.eMarks[nextLine]) { return false; }
|
|
77
|
+
|
|
78
|
+
secondCh = state.src.charCodeAt(pos++);
|
|
79
|
+
if (secondCh !== 0x7C/* | */ && secondCh !== 0x2D/* - */ && secondCh !== 0x3A/* : */ && !isSpace(secondCh)) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// if first character is '-', then second character must not be a space
|
|
84
|
+
// (due to parsing ambiguity with list)
|
|
85
|
+
if (firstCh === 0x2D/* - */ && isSpace(secondCh)) { return false; }
|
|
86
|
+
|
|
87
|
+
while (pos < state.eMarks[nextLine]) {
|
|
88
|
+
ch = state.src.charCodeAt(pos);
|
|
89
|
+
|
|
90
|
+
if (ch !== 0x7C/* | */ && ch !== 0x2D/* - */ && ch !== 0x3A/* : */ && !isSpace(ch)) { return false; }
|
|
91
|
+
|
|
92
|
+
pos++;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
lineText = getLine(state, startLine + 1);
|
|
96
|
+
|
|
97
|
+
columns = lineText.split('|');
|
|
98
|
+
aligns = [];
|
|
99
|
+
for (i = 0; i < columns.length; i++) {
|
|
100
|
+
t = columns[i].trim();
|
|
101
|
+
if (!t) {
|
|
102
|
+
// allow empty columns before and after table, but not in between columns;
|
|
103
|
+
// e.g. allow ` |---| `, disallow ` ---||--- `
|
|
104
|
+
if (i === 0 || i === columns.length - 1) {
|
|
105
|
+
continue;
|
|
106
|
+
} else {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (!/^:?-+:?$/.test(t)) { return false; }
|
|
112
|
+
if (t.charCodeAt(t.length - 1) === 0x3A/* : */) {
|
|
113
|
+
aligns.push(t.charCodeAt(0) === 0x3A/* : */ ? 'center' : 'right');
|
|
114
|
+
} else if (t.charCodeAt(0) === 0x3A/* : */) {
|
|
115
|
+
aligns.push('left');
|
|
116
|
+
} else {
|
|
117
|
+
aligns.push('');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
lineText = getLine(state, startLine).trim();
|
|
122
|
+
if (lineText.indexOf('|') === -1) { return false; }
|
|
123
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }
|
|
124
|
+
columns = escapedSplit(lineText);
|
|
125
|
+
if (columns.length && columns[0] === '') columns.shift();
|
|
126
|
+
if (columns.length && columns[columns.length - 1] === '') columns.pop();
|
|
127
|
+
|
|
128
|
+
// header row will define an amount of columns in the entire table,
|
|
129
|
+
// and align row should be exactly the same (the rest of the rows can differ)
|
|
130
|
+
columnCount = columns.length;
|
|
131
|
+
if (columnCount === 0 || columnCount !== aligns.length) { return false; }
|
|
132
|
+
|
|
133
|
+
if (silent) { return true; }
|
|
134
|
+
|
|
135
|
+
oldParentType = state.parentType;
|
|
136
|
+
state.parentType = 'table';
|
|
137
|
+
|
|
138
|
+
// use 'blockquote' lists for termination because it's
|
|
139
|
+
// the most similar to tables
|
|
140
|
+
terminatorRules = state.md.block.ruler.getRules('blockquote');
|
|
141
|
+
|
|
142
|
+
token = state.push('table_open', 'table', 1);
|
|
143
|
+
token.map = tableLines = [ startLine, 0 ];
|
|
144
|
+
|
|
145
|
+
token = state.push('thead_open', 'thead', 1);
|
|
146
|
+
token.map = [ startLine, startLine + 1 ];
|
|
147
|
+
|
|
148
|
+
token = state.push('tr_open', 'tr', 1);
|
|
149
|
+
token.map = [ startLine, startLine + 1 ];
|
|
150
|
+
|
|
151
|
+
for (i = 0; i < columns.length; i++) {
|
|
152
|
+
token = state.push('th_open', 'th', 1);
|
|
153
|
+
if (aligns[i]) {
|
|
154
|
+
token.attrs = [ [ 'style', 'text-align:' + aligns[i] ] ];
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
token = state.push('inline', '', 0);
|
|
158
|
+
token.content = columns[i].trim();
|
|
159
|
+
token.children = [];
|
|
160
|
+
|
|
161
|
+
token = state.push('th_close', 'th', -1);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
token = state.push('tr_close', 'tr', -1);
|
|
165
|
+
token = state.push('thead_close', 'thead', -1);
|
|
166
|
+
|
|
167
|
+
for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {
|
|
168
|
+
if (state.sCount[nextLine] < state.blkIndent) { break; }
|
|
169
|
+
|
|
170
|
+
terminate = false;
|
|
171
|
+
for (i = 0, l = terminatorRules.length; i < l; i++) {
|
|
172
|
+
if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
173
|
+
terminate = true;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
if (terminate) { break; }
|
|
179
|
+
lineText = getLine(state, nextLine).trim();
|
|
180
|
+
if (!lineText) { break; }
|
|
181
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) { break; }
|
|
182
|
+
columns = escapedSplit(lineText);
|
|
183
|
+
if (columns.length && columns[0] === '') columns.shift();
|
|
184
|
+
if (columns.length && columns[columns.length - 1] === '') columns.pop();
|
|
185
|
+
|
|
186
|
+
if (nextLine === startLine + 2) {
|
|
187
|
+
token = state.push('tbody_open', 'tbody', 1);
|
|
188
|
+
token.map = tbodyLines = [ startLine + 2, 0 ];
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
token = state.push('tr_open', 'tr', 1);
|
|
192
|
+
token.map = [ nextLine, nextLine + 1 ];
|
|
193
|
+
|
|
194
|
+
for (i = 0; i < columnCount; i++) {
|
|
195
|
+
token = state.push('td_open', 'td', 1);
|
|
196
|
+
if (aligns[i]) {
|
|
197
|
+
token.attrs = [ [ 'style', 'text-align:' + aligns[i] ] ];
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
token = state.push('inline', '', 0);
|
|
201
|
+
token.content = columns[i] ? columns[i].trim() : '';
|
|
202
|
+
token.children = [];
|
|
203
|
+
|
|
204
|
+
token = state.push('td_close', 'td', -1);
|
|
205
|
+
}
|
|
206
|
+
token = state.push('tr_close', 'tr', -1);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (tbodyLines) {
|
|
210
|
+
token = state.push('tbody_close', 'tbody', -1);
|
|
211
|
+
tbodyLines[1] = nextLine;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
token = state.push('table_close', 'table', -1);
|
|
215
|
+
tableLines[1] = nextLine;
|
|
216
|
+
|
|
217
|
+
state.parentType = oldParentType;
|
|
218
|
+
state.line = nextLine;
|
|
219
|
+
return true;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
export { table as t };
|
|
223
|
+
//# sourceMappingURL=table.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js"],"sourcesContent":["// GFM table, https://github.github.com/gfm/#tables-extension-\n\n'use strict';\n\nvar isSpace = require('../common/utils').isSpace;\n\n\nfunction getLine(state, line) {\n var pos = state.bMarks[line] + state.tShift[line],\n max = state.eMarks[line];\n\n return state.src.substr(pos, max - pos);\n}\n\nfunction escapedSplit(str) {\n var result = [],\n pos = 0,\n max = str.length,\n ch,\n isEscaped = false,\n lastPos = 0,\n current = '';\n\n ch = str.charCodeAt(pos);\n\n while (pos < max) {\n if (ch === 0x7c/* | */) {\n if (!isEscaped) {\n // pipe separating cells, '|'\n result.push(current + str.substring(lastPos, pos));\n current = '';\n lastPos = pos + 1;\n } else {\n // escaped pipe, '\\|'\n current += str.substring(lastPos, pos - 1);\n lastPos = pos;\n }\n }\n\n isEscaped = (ch === 0x5c/* \\ */);\n pos++;\n\n ch = str.charCodeAt(pos);\n }\n\n result.push(current + str.substring(lastPos));\n\n return result;\n}\n\n\nmodule.exports = function table(state, startLine, endLine, silent) {\n var ch, lineText, pos, i, l, nextLine, columns, columnCount, token,\n aligns, t, tableLines, tbodyLines, oldParentType, terminate,\n terminatorRules, firstCh, secondCh;\n\n // should have at least two lines\n if (startLine + 2 > endLine) { return false; }\n\n nextLine = startLine + 1;\n\n if (state.sCount[nextLine] < state.blkIndent) { return false; }\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { return false; }\n\n // first character of the second line should be '|', '-', ':',\n // and no other characters are allowed but spaces;\n // basically, this is the equivalent of /^[-:|][-:|\\s]*$/ regexp\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine];\n if (pos >= state.eMarks[nextLine]) { return false; }\n\n firstCh = state.src.charCodeAt(pos++);\n if (firstCh !== 0x7C/* | */ && firstCh !== 0x2D/* - */ && firstCh !== 0x3A/* : */) { return false; }\n\n if (pos >= state.eMarks[nextLine]) { return false; }\n\n secondCh = state.src.charCodeAt(pos++);\n if (secondCh !== 0x7C/* | */ && secondCh !== 0x2D/* - */ && secondCh !== 0x3A/* : */ && !isSpace(secondCh)) {\n return false;\n }\n\n // if first character is '-', then second character must not be a space\n // (due to parsing ambiguity with list)\n if (firstCh === 0x2D/* - */ && isSpace(secondCh)) { return false; }\n\n while (pos < state.eMarks[nextLine]) {\n ch = state.src.charCodeAt(pos);\n\n if (ch !== 0x7C/* | */ && ch !== 0x2D/* - */ && ch !== 0x3A/* : */ && !isSpace(ch)) { return false; }\n\n pos++;\n }\n\n lineText = getLine(state, startLine + 1);\n\n columns = lineText.split('|');\n aligns = [];\n for (i = 0; i < columns.length; i++) {\n t = columns[i].trim();\n if (!t) {\n // allow empty columns before and after table, but not in between columns;\n // e.g. allow ` |---| `, disallow ` ---||--- `\n if (i === 0 || i === columns.length - 1) {\n continue;\n } else {\n return false;\n }\n }\n\n if (!/^:?-+:?$/.test(t)) { return false; }\n if (t.charCodeAt(t.length - 1) === 0x3A/* : */) {\n aligns.push(t.charCodeAt(0) === 0x3A/* : */ ? 'center' : 'right');\n } else if (t.charCodeAt(0) === 0x3A/* : */) {\n aligns.push('left');\n } else {\n aligns.push('');\n }\n }\n\n lineText = getLine(state, startLine).trim();\n if (lineText.indexOf('|') === -1) { return false; }\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }\n columns = escapedSplit(lineText);\n if (columns.length && columns[0] === '') columns.shift();\n if (columns.length && columns[columns.length - 1] === '') columns.pop();\n\n // header row will define an amount of columns in the entire table,\n // and align row should be exactly the same (the rest of the rows can differ)\n columnCount = columns.length;\n if (columnCount === 0 || columnCount !== aligns.length) { return false; }\n\n if (silent) { return true; }\n\n oldParentType = state.parentType;\n state.parentType = 'table';\n\n // use 'blockquote' lists for termination because it's\n // the most similar to tables\n terminatorRules = state.md.block.ruler.getRules('blockquote');\n\n token = state.push('table_open', 'table', 1);\n token.map = tableLines = [ startLine, 0 ];\n\n token = state.push('thead_open', 'thead', 1);\n token.map = [ startLine, startLine + 1 ];\n\n token = state.push('tr_open', 'tr', 1);\n token.map = [ startLine, startLine + 1 ];\n\n for (i = 0; i < columns.length; i++) {\n token = state.push('th_open', 'th', 1);\n if (aligns[i]) {\n token.attrs = [ [ 'style', 'text-align:' + aligns[i] ] ];\n }\n\n token = state.push('inline', '', 0);\n token.content = columns[i].trim();\n token.children = [];\n\n token = state.push('th_close', 'th', -1);\n }\n\n token = state.push('tr_close', 'tr', -1);\n token = state.push('thead_close', 'thead', -1);\n\n for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break; }\n\n terminate = false;\n for (i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true;\n break;\n }\n }\n\n if (terminate) { break; }\n lineText = getLine(state, nextLine).trim();\n if (!lineText) { break; }\n if (state.sCount[nextLine] - state.blkIndent >= 4) { break; }\n columns = escapedSplit(lineText);\n if (columns.length && columns[0] === '') columns.shift();\n if (columns.length && columns[columns.length - 1] === '') columns.pop();\n\n if (nextLine === startLine + 2) {\n token = state.push('tbody_open', 'tbody', 1);\n token.map = tbodyLines = [ startLine + 2, 0 ];\n }\n\n token = state.push('tr_open', 'tr', 1);\n token.map = [ nextLine, nextLine + 1 ];\n\n for (i = 0; i < columnCount; i++) {\n token = state.push('td_open', 'td', 1);\n if (aligns[i]) {\n token.attrs = [ [ 'style', 'text-align:' + aligns[i] ] ];\n }\n\n token = state.push('inline', '', 0);\n token.content = columns[i] ? columns[i].trim() : '';\n token.children = [];\n\n token = state.push('td_close', 'td', -1);\n }\n token = state.push('tr_close', 'tr', -1);\n }\n\n if (tbodyLines) {\n token = state.push('tbody_close', 'tbody', -1);\n tbodyLines[1] = nextLine;\n }\n\n token = state.push('table_close', 'table', -1);\n tableLines[1] = nextLine;\n\n state.parentType = oldParentType;\n state.line = nextLine;\n return true;\n};\n"],"names":["require$$0"],"mappings":";;;AAIA,IAAI,OAAO,GAAGA,KAA0B,CAAC,OAAO,CAAA;;;AAGhD,SAAS,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE;AAC9B,EAAE,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;AACnD,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;;AAE9B,EAAE,OAAO,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,CAAC,CAAA;AACzC,CAAA;;AAEA,SAAS,YAAY,CAAC,GAAG,EAAE;AAC3B,EAAE,IAAI,MAAM,GAAG,EAAE;AACjB,MAAM,GAAG,GAAG,CAAC;AACb,MAAM,GAAG,GAAG,GAAG,CAAC,MAAM;AACtB,MAAM,EAAE;AACR,MAAM,SAAS,GAAG,KAAK;AACvB,MAAM,OAAO,GAAG,CAAC;AACjB,MAAM,OAAO,GAAG,EAAE,CAAA;;AAElB,EAAE,EAAE,IAAI,GAAG,CAAC,UAAU,CAAC,GAA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EAAE,CAAA;AAC1D,MAAM,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAA;;AAEzB,MAAM,KAAK,YAAY,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;AACvD,KAAA;AACA,IAAI,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;AAC5C,GAAA;;AAEA,EAAE,IAAI,UAAU,EAAE;AAClB,IAAI,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;AAClD,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAA;AAC5B,GAAA;;AAEA,EAAE,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;AAChD,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAA;;AAE1B,EAAE,KAAK,CAAC,UAAU,GAAG,aAAa,CAAA;AAClC,EAAE,KAAK,CAAC,IAAI,GAAG,QAAQ,CAAA;AACvB,EAAE,OAAO,IAAI,CAAA;AACb;;;;","x_google_ignoreList":[0]}
|
package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var block = function block(state) {
|
|
2
|
+
var token;
|
|
3
|
+
|
|
4
|
+
if (state.inlineMode) {
|
|
5
|
+
token = new state.Token('inline', '', 0);
|
|
6
|
+
token.content = state.src;
|
|
7
|
+
token.map = [ 0, 1 ];
|
|
8
|
+
token.children = [];
|
|
9
|
+
state.tokens.push(token);
|
|
10
|
+
} else {
|
|
11
|
+
state.md.block.parse(state.src, state.md, state.env, state.tokens);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { block as b };
|
|
16
|
+
//# sourceMappingURL=block.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js"],"sourcesContent":["'use strict';\n\n\nmodule.exports = function block(state) {\n var token;\n\n if (state.inlineMode) {\n token = new state.Token('inline', '', 0);\n token.content = state.src;\n token.map = [ 0, 1 ];\n token.children = [];\n state.tokens.push(token);\n } else {\n state.md.block.parse(state.src, state.md, state.env, state.tokens);\n }\n};\n"],"names":[],"mappings":"AAGA,IAAA,KAAc,GAAG,SAAS,KAAK,CAAC,KAAK,EAAE;AACvC,EAAE,IAAI,KAAK,CAAA;;AAEX,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;AACxB,IAAI,KAAK,YAAY,IAAI,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,CAAA;AACrD,IAAI,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,GAAG,CAAA;AAC9B,IAAI,KAAK,CAAC,GAAG,QAAQ,EAAE,CAAC,EAAE,CAAC,EAAE,CAAA;AAC7B,IAAI,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAA;AACvB,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;AAC5B,GAAG,MAAM;AACT,IAAI,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;AACtE,GAAA;AACA;;;;","x_google_ignoreList":[0]}
|
package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var inline = function inline(state) {
|
|
2
|
+
var tokens = state.tokens, tok, i, l;
|
|
3
|
+
|
|
4
|
+
// Parse inlines
|
|
5
|
+
for (i = 0, l = tokens.length; i < l; i++) {
|
|
6
|
+
tok = tokens[i];
|
|
7
|
+
if (tok.type === 'inline') {
|
|
8
|
+
state.md.inline.parse(tok.content, state.md, state.env, tok.children);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { inline as i };
|
|
14
|
+
//# sourceMappingURL=inline.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js"],"sourcesContent":["'use strict';\n\nmodule.exports = function inline(state) {\n var tokens = state.tokens, tok, i, l;\n\n // Parse inlines\n for (i = 0, l = tokens.length; i < l; i++) {\n tok = tokens[i];\n if (tok.type === 'inline') {\n state.md.inline.parse(tok.content, state.md, state.env, tok.children);\n }\n }\n};\n"],"names":[],"mappings":"AAEA,IAAA,MAAc,GAAG,SAAS,MAAM,CAAC,KAAK,EAAE;AACxC,EAAE,IAAI,MAAM,GAAG,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAA;;AAEtC;AACA,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;AAC7C,IAAI,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;AACnB,IAAI,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE;AAC/B,MAAM,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;AAC3E,KAAA;AACA,GAAA;AACA;;;;","x_google_ignoreList":[0]}
|