protobufjs 6.11.2 → 6.11.4

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.
Files changed (2135) hide show
  1. package/bin/pbjs +0 -0
  2. package/bin/pbts +0 -0
  3. package/cli/bin/pbjs +0 -0
  4. package/cli/bin/pbts +0 -0
  5. package/cli/node_modules/.package-lock.json +281 -64
  6. package/cli/node_modules/@babel/parser/CHANGELOG.md +1073 -0
  7. package/cli/node_modules/{word-wrap → @babel/parser}/LICENSE +1 -3
  8. package/cli/node_modules/@babel/parser/README.md +19 -0
  9. package/cli/node_modules/@babel/parser/bin/babel-parser.js +15 -0
  10. package/cli/node_modules/@babel/parser/index.cjs +5 -0
  11. package/cli/node_modules/@babel/parser/lib/index.js +16800 -0
  12. package/cli/node_modules/@babel/parser/lib/index.js.map +1 -0
  13. package/cli/node_modules/@babel/parser/package.json +46 -0
  14. package/cli/node_modules/@babel/parser/typings/babel-parser.d.ts +214 -0
  15. package/cli/node_modules/@types/linkify-it/LICENSE +21 -0
  16. package/cli/node_modules/@types/linkify-it/README.md +89 -0
  17. package/cli/node_modules/@types/linkify-it/index.d.ts +69 -0
  18. package/cli/node_modules/@types/linkify-it/package.json +39 -0
  19. package/cli/node_modules/@types/markdown-it/LICENSE +21 -0
  20. package/cli/node_modules/@types/markdown-it/README.md +16 -0
  21. package/cli/node_modules/@types/markdown-it/index.d.ts +13 -0
  22. package/cli/node_modules/@types/markdown-it/lib/common/entities.d.ts +7 -0
  23. package/cli/node_modules/@types/markdown-it/lib/common/html_blocks.d.ts +3 -0
  24. package/cli/node_modules/@types/markdown-it/lib/common/html_re.d.ts +8 -0
  25. package/cli/node_modules/@types/markdown-it/lib/common/utils.d.ts +70 -0
  26. package/cli/node_modules/@types/markdown-it/lib/helpers/index.d.ts +13 -0
  27. package/cli/node_modules/@types/markdown-it/lib/helpers/parse_link_destination.d.ts +12 -0
  28. package/cli/node_modules/@types/markdown-it/lib/helpers/parse_link_label.d.ts +5 -0
  29. package/cli/node_modules/@types/markdown-it/lib/helpers/parse_link_title.d.ts +5 -0
  30. package/cli/node_modules/@types/markdown-it/lib/index.d.ts +406 -0
  31. package/cli/node_modules/@types/markdown-it/lib/parser_block.d.ts +29 -0
  32. package/cli/node_modules/@types/markdown-it/lib/parser_core.d.ts +19 -0
  33. package/cli/node_modules/@types/markdown-it/lib/parser_inline.d.ts +42 -0
  34. package/cli/node_modules/@types/markdown-it/lib/renderer.d.ts +96 -0
  35. package/cli/node_modules/@types/markdown-it/lib/ruler.d.ts +167 -0
  36. package/cli/node_modules/@types/markdown-it/lib/rules_block/state_block.d.ts +134 -0
  37. package/cli/node_modules/@types/markdown-it/lib/rules_core/state_core.d.ts +20 -0
  38. package/cli/node_modules/@types/markdown-it/lib/rules_inline/state_inline.d.ts +78 -0
  39. package/cli/node_modules/@types/markdown-it/lib/token.d.ts +111 -0
  40. package/cli/node_modules/@types/markdown-it/package.json +43 -0
  41. package/cli/node_modules/@types/mdurl/LICENSE +21 -0
  42. package/cli/node_modules/@types/mdurl/README.md +16 -0
  43. package/cli/node_modules/@types/mdurl/decode.d.ts +7 -0
  44. package/cli/node_modules/@types/mdurl/encode.d.ts +7 -0
  45. package/cli/node_modules/@types/mdurl/format.d.ts +5 -0
  46. package/cli/node_modules/@types/mdurl/index.d.ts +26 -0
  47. package/cli/node_modules/@types/mdurl/package.json +23 -0
  48. package/cli/node_modules/@types/mdurl/parse.d.ts +5 -0
  49. package/cli/node_modules/acorn/CHANGELOG.md +190 -0
  50. package/cli/node_modules/acorn/LICENSE +1 -1
  51. package/cli/node_modules/acorn/README.md +31 -27
  52. package/cli/node_modules/acorn/bin/acorn +2 -2
  53. package/cli/node_modules/acorn/dist/acorn.d.ts +50 -7
  54. package/cli/node_modules/acorn/dist/acorn.js +1313 -894
  55. package/cli/node_modules/acorn/dist/acorn.mjs +1308 -889
  56. package/cli/node_modules/acorn/dist/bin.js +48 -21
  57. package/cli/node_modules/acorn/package.json +19 -4
  58. package/cli/node_modules/acorn-jsx/index.d.ts +12 -0
  59. package/cli/node_modules/acorn-jsx/package.json +1 -1
  60. package/cli/node_modules/argparse/CHANGELOG.md +216 -0
  61. package/cli/node_modules/argparse/LICENSE +254 -0
  62. package/cli/node_modules/argparse/README.md +84 -0
  63. package/cli/node_modules/argparse/argparse.js +3707 -0
  64. package/cli/node_modules/argparse/lib/sub.js +67 -0
  65. package/cli/node_modules/argparse/lib/textwrap.js +440 -0
  66. package/cli/node_modules/argparse/package.json +31 -0
  67. package/cli/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  68. package/cli/node_modules/balanced-match/README.md +6 -0
  69. package/cli/node_modules/balanced-match/index.js +3 -0
  70. package/cli/node_modules/balanced-match/package.json +3 -4
  71. package/cli/node_modules/bluebird/LICENSE +21 -0
  72. package/cli/node_modules/bluebird/README.md +57 -0
  73. package/cli/node_modules/bluebird/changelog.md +1 -0
  74. package/cli/node_modules/bluebird/js/browser/bluebird.core.js +3914 -0
  75. package/cli/node_modules/bluebird/js/browser/bluebird.core.min.js +31 -0
  76. package/cli/node_modules/bluebird/js/browser/bluebird.js +5778 -0
  77. package/cli/node_modules/bluebird/js/browser/bluebird.min.js +31 -0
  78. package/cli/node_modules/bluebird/js/release/any.js +21 -0
  79. package/cli/node_modules/bluebird/js/release/assert.js +55 -0
  80. package/cli/node_modules/bluebird/js/release/async.js +120 -0
  81. package/cli/node_modules/bluebird/js/release/bind.js +67 -0
  82. package/cli/node_modules/bluebird/js/release/bluebird.js +11 -0
  83. package/cli/node_modules/bluebird/js/release/call_get.js +123 -0
  84. package/cli/node_modules/bluebird/js/release/cancel.js +129 -0
  85. package/cli/node_modules/bluebird/js/release/catch_filter.js +42 -0
  86. package/cli/node_modules/bluebird/js/release/context.js +69 -0
  87. package/cli/node_modules/bluebird/js/release/debuggability.js +1009 -0
  88. package/cli/node_modules/bluebird/js/release/direct_resolve.js +46 -0
  89. package/cli/node_modules/bluebird/js/release/each.js +30 -0
  90. package/cli/node_modules/bluebird/js/release/errors.js +116 -0
  91. package/cli/node_modules/bluebird/js/release/es5.js +80 -0
  92. package/cli/node_modules/bluebird/js/release/filter.js +12 -0
  93. package/cli/node_modules/bluebird/js/release/finally.js +146 -0
  94. package/cli/node_modules/bluebird/js/release/generators.js +223 -0
  95. package/cli/node_modules/bluebird/js/release/join.js +165 -0
  96. package/cli/node_modules/bluebird/js/release/map.js +175 -0
  97. package/cli/node_modules/bluebird/js/release/method.js +55 -0
  98. package/cli/node_modules/bluebird/js/release/nodeback.js +51 -0
  99. package/cli/node_modules/bluebird/js/release/nodeify.js +58 -0
  100. package/cli/node_modules/bluebird/js/release/promise.js +819 -0
  101. package/cli/node_modules/bluebird/js/release/promise_array.js +186 -0
  102. package/cli/node_modules/bluebird/js/release/promisify.js +314 -0
  103. package/cli/node_modules/bluebird/js/release/props.js +118 -0
  104. package/cli/node_modules/bluebird/js/release/queue.js +73 -0
  105. package/cli/node_modules/bluebird/js/release/race.js +49 -0
  106. package/cli/node_modules/bluebird/js/release/reduce.js +183 -0
  107. package/cli/node_modules/bluebird/js/release/schedule.js +62 -0
  108. package/cli/node_modules/bluebird/js/release/settle.js +47 -0
  109. package/cli/node_modules/bluebird/js/release/some.js +148 -0
  110. package/cli/node_modules/bluebird/js/release/synchronous_inspection.js +103 -0
  111. package/cli/node_modules/bluebird/js/release/thenables.js +86 -0
  112. package/cli/node_modules/bluebird/js/release/timers.js +93 -0
  113. package/cli/node_modules/bluebird/js/release/using.js +226 -0
  114. package/cli/node_modules/bluebird/js/release/util.js +421 -0
  115. package/cli/node_modules/bluebird/package.json +78 -0
  116. package/cli/node_modules/catharsis/LICENSE +17 -0
  117. package/cli/node_modules/catharsis/README.md +393 -0
  118. package/cli/node_modules/catharsis/bin/parse.js +55 -0
  119. package/cli/node_modules/catharsis/catharsis.js +169 -0
  120. package/cli/node_modules/catharsis/lib/describe.js +563 -0
  121. package/cli/node_modules/catharsis/lib/parser.js +5776 -0
  122. package/cli/node_modules/catharsis/lib/schema.js +72 -0
  123. package/cli/node_modules/catharsis/lib/stringify.js +277 -0
  124. package/cli/node_modules/catharsis/lib/types.js +22 -0
  125. package/cli/node_modules/catharsis/package.json +30 -0
  126. package/cli/node_modules/catharsis/res/en.json +92 -0
  127. package/cli/node_modules/entities/LICENSE +11 -0
  128. package/cli/node_modules/entities/lib/decode.d.ts +7 -0
  129. package/cli/node_modules/entities/lib/decode.d.ts.map +1 -0
  130. package/cli/node_modules/entities/lib/decode.js +54 -0
  131. package/cli/node_modules/entities/lib/decode_codepoint.d.ts +2 -0
  132. package/cli/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  133. package/cli/node_modules/entities/lib/decode_codepoint.js +24 -0
  134. package/cli/node_modules/entities/lib/encode.d.ts +4 -0
  135. package/cli/node_modules/entities/lib/encode.d.ts.map +1 -0
  136. package/cli/node_modules/entities/lib/encode.js +73 -0
  137. package/cli/node_modules/entities/lib/index.d.ts +24 -0
  138. package/cli/node_modules/entities/lib/index.d.ts.map +1 -0
  139. package/cli/node_modules/entities/lib/index.js +52 -0
  140. package/cli/node_modules/entities/lib/maps/decode.json +1 -0
  141. package/cli/node_modules/entities/lib/maps/entities.json +1 -0
  142. package/cli/node_modules/entities/lib/maps/legacy.json +1 -0
  143. package/cli/node_modules/entities/lib/maps/xml.json +1 -0
  144. package/cli/node_modules/entities/package.json +63 -0
  145. package/cli/node_modules/entities/readme.md +50 -0
  146. package/cli/node_modules/escape-string-regexp/index.d.ts +18 -0
  147. package/cli/node_modules/escape-string-regexp/index.js +11 -0
  148. package/cli/node_modules/escape-string-regexp/license +9 -0
  149. package/cli/node_modules/escape-string-regexp/package.json +43 -0
  150. package/cli/node_modules/escape-string-regexp/readme.md +29 -0
  151. package/cli/node_modules/escodegen/escodegen.js +42 -22
  152. package/cli/node_modules/escodegen/package.json +9 -8
  153. package/cli/node_modules/espree/node_modules/acorn/CHANGELOG.md +620 -0
  154. package/cli/node_modules/espree/node_modules/acorn/LICENSE +21 -0
  155. package/cli/node_modules/espree/node_modules/acorn/README.md +269 -0
  156. package/cli/node_modules/espree/node_modules/acorn/bin/acorn +4 -0
  157. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.d.ts +209 -0
  158. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.js +5186 -0
  159. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.mjs +5155 -0
  160. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  161. package/cli/node_modules/espree/node_modules/acorn/dist/bin.js +64 -0
  162. package/cli/node_modules/espree/node_modules/acorn/package.json +35 -0
  163. package/cli/node_modules/estraverse/estraverse.js +4 -0
  164. package/cli/node_modules/estraverse/package.json +1 -1
  165. package/cli/node_modules/glob/README.md +4 -1
  166. package/cli/node_modules/glob/common.js +6 -8
  167. package/cli/node_modules/glob/glob.js +8 -8
  168. package/cli/node_modules/glob/package.json +13 -4
  169. package/cli/node_modules/glob/sync.js +10 -10
  170. package/cli/node_modules/graceful-fs/LICENSE +15 -0
  171. package/cli/node_modules/graceful-fs/README.md +143 -0
  172. package/cli/node_modules/graceful-fs/clone.js +23 -0
  173. package/cli/node_modules/graceful-fs/graceful-fs.js +448 -0
  174. package/cli/node_modules/graceful-fs/legacy-streams.js +118 -0
  175. package/cli/node_modules/graceful-fs/package.json +50 -0
  176. package/cli/node_modules/graceful-fs/polyfills.js +355 -0
  177. package/cli/node_modules/js2xmlparser/CHANGES.md +133 -0
  178. package/cli/node_modules/js2xmlparser/LICENSE +201 -0
  179. package/cli/node_modules/js2xmlparser/NOTICE +10 -0
  180. package/cli/node_modules/js2xmlparser/README.md +155 -0
  181. package/cli/node_modules/js2xmlparser/lib/main.d.ts +49 -0
  182. package/cli/node_modules/js2xmlparser/lib/main.js +282 -0
  183. package/cli/node_modules/js2xmlparser/lib/options.d.ts +477 -0
  184. package/cli/node_modules/js2xmlparser/lib/options.js +155 -0
  185. package/cli/node_modules/js2xmlparser/lib/utils.d.ts +32 -0
  186. package/cli/node_modules/js2xmlparser/lib/utils.js +67 -0
  187. package/cli/node_modules/js2xmlparser/package.json +65 -0
  188. package/cli/node_modules/jsdoc/Apache_License_2.0.txt +202 -0
  189. package/cli/node_modules/jsdoc/LICENSE.md +102 -0
  190. package/cli/node_modules/jsdoc/README.md +100 -0
  191. package/cli/node_modules/jsdoc/cli.js +465 -0
  192. package/cli/node_modules/jsdoc/conf.json.EXAMPLE +17 -0
  193. package/cli/node_modules/jsdoc/jsdoc.js +94 -0
  194. package/cli/node_modules/jsdoc/lib/jsdoc/app.js +19 -0
  195. package/cli/node_modules/jsdoc/lib/jsdoc/augment.js +608 -0
  196. package/cli/node_modules/jsdoc/lib/jsdoc/borrow.js +52 -0
  197. package/cli/node_modules/jsdoc/lib/jsdoc/config.js +74 -0
  198. package/cli/node_modules/jsdoc/lib/jsdoc/doclet.js +562 -0
  199. package/cli/node_modules/jsdoc/lib/jsdoc/env.js +77 -0
  200. package/cli/node_modules/jsdoc/lib/jsdoc/fs.js +109 -0
  201. package/cli/node_modules/jsdoc/lib/jsdoc/name.js +595 -0
  202. package/cli/node_modules/jsdoc/lib/jsdoc/opts/argparser.js +306 -0
  203. package/cli/node_modules/jsdoc/lib/jsdoc/opts/args.js +82 -0
  204. package/cli/node_modules/jsdoc/lib/jsdoc/package.js +257 -0
  205. package/cli/node_modules/jsdoc/lib/jsdoc/path.js +169 -0
  206. package/cli/node_modules/jsdoc/lib/jsdoc/plugins.js +35 -0
  207. package/cli/node_modules/jsdoc/lib/jsdoc/readme.js +24 -0
  208. package/cli/node_modules/jsdoc/lib/jsdoc/schema.js +664 -0
  209. package/cli/node_modules/jsdoc/lib/jsdoc/src/astbuilder.js +72 -0
  210. package/cli/node_modules/jsdoc/lib/jsdoc/src/astnode.js +555 -0
  211. package/cli/node_modules/jsdoc/lib/jsdoc/src/filter.js +63 -0
  212. package/cli/node_modules/jsdoc/lib/jsdoc/src/handlers.js +372 -0
  213. package/cli/node_modules/jsdoc/lib/jsdoc/src/parser.js +673 -0
  214. package/cli/node_modules/jsdoc/lib/jsdoc/src/scanner.js +62 -0
  215. package/cli/node_modules/jsdoc/lib/jsdoc/src/syntax.js +96 -0
  216. package/cli/node_modules/jsdoc/lib/jsdoc/src/visitor.js +859 -0
  217. package/cli/node_modules/jsdoc/lib/jsdoc/src/walker.js +704 -0
  218. package/cli/node_modules/jsdoc/lib/jsdoc/tag/dictionary/definitions.js +1089 -0
  219. package/cli/node_modules/jsdoc/lib/jsdoc/tag/dictionary.js +120 -0
  220. package/cli/node_modules/jsdoc/lib/jsdoc/tag/inline.js +135 -0
  221. package/cli/node_modules/jsdoc/lib/jsdoc/tag/type.js +306 -0
  222. package/cli/node_modules/jsdoc/lib/jsdoc/tag/validator.js +51 -0
  223. package/cli/node_modules/jsdoc/lib/jsdoc/tag.js +198 -0
  224. package/cli/node_modules/jsdoc/lib/jsdoc/template.js +80 -0
  225. package/cli/node_modules/jsdoc/lib/jsdoc/tutorial/resolver.js +183 -0
  226. package/cli/node_modules/jsdoc/lib/jsdoc/tutorial.js +153 -0
  227. package/cli/node_modules/jsdoc/lib/jsdoc/util/cast.js +95 -0
  228. package/cli/node_modules/jsdoc/lib/jsdoc/util/doop.js +79 -0
  229. package/cli/node_modules/jsdoc/lib/jsdoc/util/dumper.js +146 -0
  230. package/cli/node_modules/jsdoc/lib/jsdoc/util/error.js +32 -0
  231. package/cli/node_modules/jsdoc/lib/jsdoc/util/logger.js +254 -0
  232. package/cli/node_modules/jsdoc/lib/jsdoc/util/markdown.js +282 -0
  233. package/cli/node_modules/jsdoc/lib/jsdoc/util/stripbom.js +14 -0
  234. package/cli/node_modules/jsdoc/lib/jsdoc/util/templateHelper.js +1018 -0
  235. package/cli/node_modules/jsdoc/package.json +80 -0
  236. package/cli/node_modules/jsdoc/plugins/commentConvert.js +21 -0
  237. package/cli/node_modules/jsdoc/plugins/commentsOnly.js +17 -0
  238. package/cli/node_modules/jsdoc/plugins/escapeHtml.js +18 -0
  239. package/cli/node_modules/jsdoc/plugins/eventDumper.js +98 -0
  240. package/cli/node_modules/jsdoc/plugins/markdown.js +88 -0
  241. package/cli/node_modules/jsdoc/plugins/overloadHelper.js +181 -0
  242. package/cli/node_modules/jsdoc/plugins/partial.js +30 -0
  243. package/cli/node_modules/jsdoc/plugins/railsTemplate.js +19 -0
  244. package/cli/node_modules/jsdoc/plugins/shout.js +15 -0
  245. package/cli/node_modules/jsdoc/plugins/sourcetag.js +49 -0
  246. package/cli/node_modules/jsdoc/plugins/summarize.js +58 -0
  247. package/cli/node_modules/jsdoc/plugins/test/fixtures/markdown.js +31 -0
  248. package/cli/node_modules/jsdoc/plugins/test/fixtures/overloadHelper.js +50 -0
  249. package/cli/node_modules/jsdoc/plugins/test/fixtures/railsTemplate.js.erb +19 -0
  250. package/cli/node_modules/jsdoc/plugins/test/fixtures/underscore.js +22 -0
  251. package/cli/node_modules/jsdoc/plugins/test/specs/commentConvert.js +20 -0
  252. package/cli/node_modules/jsdoc/plugins/test/specs/escapeHtml.js +20 -0
  253. package/cli/node_modules/jsdoc/plugins/test/specs/markdown.js +60 -0
  254. package/cli/node_modules/jsdoc/plugins/test/specs/overloadHelper.js +102 -0
  255. package/cli/node_modules/jsdoc/plugins/test/specs/railsTemplate.js +19 -0
  256. package/cli/node_modules/jsdoc/plugins/test/specs/shout.js +20 -0
  257. package/cli/node_modules/jsdoc/plugins/test/specs/sourcetag.js +22 -0
  258. package/cli/node_modules/jsdoc/plugins/test/specs/summarize.js +112 -0
  259. package/cli/node_modules/jsdoc/plugins/test/specs/underscore.js +35 -0
  260. package/cli/node_modules/jsdoc/plugins/underscore.js +16 -0
  261. package/cli/node_modules/jsdoc/templates/README.md +27 -0
  262. package/cli/node_modules/jsdoc/templates/default/README.md +12 -0
  263. package/cli/node_modules/jsdoc/templates/default/publish.js +692 -0
  264. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.eot +0 -0
  265. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.svg +1830 -0
  266. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.woff +0 -0
  267. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  268. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  269. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  270. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Italic-webfont.eot +0 -0
  271. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Italic-webfont.svg +1830 -0
  272. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Italic-webfont.woff +0 -0
  273. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Light-webfont.eot +0 -0
  274. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Light-webfont.svg +1831 -0
  275. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Light-webfont.woff +0 -0
  276. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  277. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  278. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  279. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Regular-webfont.eot +0 -0
  280. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Regular-webfont.svg +1831 -0
  281. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Regular-webfont.woff +0 -0
  282. package/cli/node_modules/jsdoc/templates/default/static/scripts/linenumber.js +25 -0
  283. package/cli/node_modules/jsdoc/templates/default/static/scripts/prettify/Apache-License-2.0.txt +202 -0
  284. package/cli/node_modules/jsdoc/templates/default/static/scripts/prettify/lang-css.js +2 -0
  285. package/cli/node_modules/jsdoc/templates/default/static/scripts/prettify/prettify.js +28 -0
  286. package/cli/node_modules/jsdoc/templates/default/static/styles/jsdoc-default.css +358 -0
  287. package/cli/node_modules/jsdoc/templates/default/static/styles/prettify-jsdoc.css +111 -0
  288. package/cli/node_modules/jsdoc/templates/default/static/styles/prettify-tomorrow.css +132 -0
  289. package/cli/node_modules/jsdoc/templates/default/tmpl/augments.tmpl +10 -0
  290. package/cli/node_modules/jsdoc/templates/default/tmpl/container.tmpl +196 -0
  291. package/cli/node_modules/jsdoc/templates/default/tmpl/details.tmpl +143 -0
  292. package/cli/node_modules/jsdoc/templates/default/tmpl/example.tmpl +2 -0
  293. package/cli/node_modules/jsdoc/templates/default/tmpl/examples.tmpl +13 -0
  294. package/cli/node_modules/jsdoc/templates/default/tmpl/exceptions.tmpl +32 -0
  295. package/cli/node_modules/jsdoc/templates/default/tmpl/layout.tmpl +38 -0
  296. package/cli/node_modules/jsdoc/templates/default/tmpl/mainpage.tmpl +14 -0
  297. package/cli/node_modules/jsdoc/templates/default/tmpl/members.tmpl +38 -0
  298. package/cli/node_modules/jsdoc/templates/default/tmpl/method.tmpl +131 -0
  299. package/cli/node_modules/jsdoc/templates/default/tmpl/modifies.tmpl +14 -0
  300. package/cli/node_modules/jsdoc/templates/default/tmpl/params.tmpl +131 -0
  301. package/cli/node_modules/jsdoc/templates/default/tmpl/properties.tmpl +108 -0
  302. package/cli/node_modules/jsdoc/templates/default/tmpl/returns.tmpl +19 -0
  303. package/cli/node_modules/jsdoc/templates/default/tmpl/source.tmpl +8 -0
  304. package/cli/node_modules/jsdoc/templates/default/tmpl/tutorial.tmpl +19 -0
  305. package/cli/node_modules/jsdoc/templates/default/tmpl/type.tmpl +7 -0
  306. package/cli/node_modules/jsdoc/templates/haruki/README.md +39 -0
  307. package/cli/node_modules/jsdoc/templates/haruki/publish.js +224 -0
  308. package/cli/node_modules/jsdoc/templates/silent/README.md +11 -0
  309. package/cli/node_modules/jsdoc/templates/silent/publish.js +7 -0
  310. package/cli/node_modules/klaw/CHANGELOG.md +68 -0
  311. package/cli/node_modules/klaw/LICENSE +15 -0
  312. package/cli/node_modules/klaw/README.md +253 -0
  313. package/cli/node_modules/klaw/package.json +40 -0
  314. package/cli/node_modules/klaw/src/index.js +64 -0
  315. package/cli/node_modules/linkify-it/CHANGELOG.md +182 -0
  316. package/cli/node_modules/{prelude-ls → linkify-it}/LICENSE +1 -1
  317. package/cli/node_modules/linkify-it/README.md +188 -0
  318. package/cli/node_modules/linkify-it/index.js +636 -0
  319. package/cli/node_modules/linkify-it/lib/re.js +181 -0
  320. package/cli/node_modules/linkify-it/package.json +48 -0
  321. package/cli/node_modules/lodash/LICENSE +47 -0
  322. package/cli/node_modules/lodash/README.md +39 -0
  323. package/cli/node_modules/lodash/_DataView.js +7 -0
  324. package/cli/node_modules/lodash/_Hash.js +32 -0
  325. package/cli/node_modules/lodash/_LazyWrapper.js +28 -0
  326. package/cli/node_modules/lodash/_ListCache.js +32 -0
  327. package/cli/node_modules/lodash/_LodashWrapper.js +22 -0
  328. package/cli/node_modules/lodash/_Map.js +7 -0
  329. package/cli/node_modules/lodash/_MapCache.js +32 -0
  330. package/cli/node_modules/lodash/_Promise.js +7 -0
  331. package/cli/node_modules/lodash/_Set.js +7 -0
  332. package/cli/node_modules/lodash/_SetCache.js +27 -0
  333. package/cli/node_modules/lodash/_Stack.js +27 -0
  334. package/cli/node_modules/lodash/_Symbol.js +6 -0
  335. package/cli/node_modules/lodash/_Uint8Array.js +6 -0
  336. package/cli/node_modules/lodash/_WeakMap.js +7 -0
  337. package/cli/node_modules/lodash/_apply.js +21 -0
  338. package/cli/node_modules/lodash/_arrayAggregator.js +22 -0
  339. package/cli/node_modules/lodash/_arrayEach.js +22 -0
  340. package/cli/node_modules/lodash/_arrayEachRight.js +21 -0
  341. package/cli/node_modules/lodash/_arrayEvery.js +23 -0
  342. package/cli/node_modules/lodash/_arrayFilter.js +25 -0
  343. package/cli/node_modules/lodash/_arrayIncludes.js +17 -0
  344. package/cli/node_modules/lodash/_arrayIncludesWith.js +22 -0
  345. package/cli/node_modules/lodash/_arrayLikeKeys.js +49 -0
  346. package/cli/node_modules/lodash/_arrayMap.js +21 -0
  347. package/cli/node_modules/lodash/_arrayPush.js +20 -0
  348. package/cli/node_modules/lodash/_arrayReduce.js +26 -0
  349. package/cli/node_modules/lodash/_arrayReduceRight.js +24 -0
  350. package/cli/node_modules/lodash/_arraySample.js +15 -0
  351. package/cli/node_modules/lodash/_arraySampleSize.js +17 -0
  352. package/cli/node_modules/lodash/_arrayShuffle.js +15 -0
  353. package/cli/node_modules/lodash/_arraySome.js +23 -0
  354. package/cli/node_modules/lodash/_asciiSize.js +12 -0
  355. package/cli/node_modules/lodash/_asciiToArray.js +12 -0
  356. package/cli/node_modules/lodash/_asciiWords.js +15 -0
  357. package/cli/node_modules/lodash/_assignMergeValue.js +20 -0
  358. package/cli/node_modules/lodash/_assignValue.js +28 -0
  359. package/cli/node_modules/lodash/_assocIndexOf.js +21 -0
  360. package/cli/node_modules/lodash/_baseAggregator.js +21 -0
  361. package/cli/node_modules/lodash/_baseAssign.js +17 -0
  362. package/cli/node_modules/lodash/_baseAssignIn.js +17 -0
  363. package/cli/node_modules/lodash/_baseAssignValue.js +25 -0
  364. package/cli/node_modules/lodash/_baseAt.js +23 -0
  365. package/cli/node_modules/lodash/_baseClamp.js +22 -0
  366. package/cli/node_modules/lodash/_baseClone.js +166 -0
  367. package/cli/node_modules/lodash/_baseConforms.js +18 -0
  368. package/cli/node_modules/lodash/_baseConformsTo.js +27 -0
  369. package/cli/node_modules/lodash/_baseCreate.js +30 -0
  370. package/cli/node_modules/lodash/_baseDelay.js +21 -0
  371. package/cli/node_modules/lodash/_baseDifference.js +67 -0
  372. package/cli/node_modules/lodash/_baseEach.js +14 -0
  373. package/cli/node_modules/lodash/_baseEachRight.js +14 -0
  374. package/cli/node_modules/lodash/_baseEvery.js +21 -0
  375. package/cli/node_modules/lodash/_baseExtremum.js +32 -0
  376. package/cli/node_modules/lodash/_baseFill.js +32 -0
  377. package/cli/node_modules/lodash/_baseFilter.js +21 -0
  378. package/cli/node_modules/lodash/_baseFindIndex.js +24 -0
  379. package/cli/node_modules/lodash/_baseFindKey.js +23 -0
  380. package/cli/node_modules/lodash/_baseFlatten.js +38 -0
  381. package/cli/node_modules/lodash/_baseFor.js +16 -0
  382. package/cli/node_modules/lodash/_baseForOwn.js +16 -0
  383. package/cli/node_modules/lodash/_baseForOwnRight.js +16 -0
  384. package/cli/node_modules/lodash/_baseForRight.js +15 -0
  385. package/cli/node_modules/lodash/_baseFunctions.js +19 -0
  386. package/cli/node_modules/lodash/_baseGet.js +24 -0
  387. package/cli/node_modules/lodash/_baseGetAllKeys.js +20 -0
  388. package/cli/node_modules/lodash/_baseGetTag.js +28 -0
  389. package/cli/node_modules/lodash/_baseGt.js +14 -0
  390. package/cli/node_modules/lodash/_baseHas.js +19 -0
  391. package/cli/node_modules/lodash/_baseHasIn.js +13 -0
  392. package/cli/node_modules/lodash/_baseInRange.js +18 -0
  393. package/cli/node_modules/lodash/_baseIndexOf.js +20 -0
  394. package/cli/node_modules/lodash/_baseIndexOfWith.js +23 -0
  395. package/cli/node_modules/lodash/_baseIntersection.js +74 -0
  396. package/cli/node_modules/lodash/_baseInverter.js +21 -0
  397. package/cli/node_modules/lodash/_baseInvoke.js +24 -0
  398. package/cli/node_modules/lodash/_baseIsArguments.js +18 -0
  399. package/cli/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  400. package/cli/node_modules/lodash/_baseIsDate.js +18 -0
  401. package/cli/node_modules/lodash/_baseIsEqual.js +28 -0
  402. package/cli/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  403. package/cli/node_modules/lodash/_baseIsMap.js +18 -0
  404. package/cli/node_modules/lodash/_baseIsMatch.js +62 -0
  405. package/cli/node_modules/lodash/_baseIsNaN.js +12 -0
  406. package/cli/node_modules/lodash/_baseIsNative.js +47 -0
  407. package/cli/node_modules/lodash/_baseIsRegExp.js +18 -0
  408. package/cli/node_modules/lodash/_baseIsSet.js +18 -0
  409. package/cli/node_modules/lodash/_baseIsTypedArray.js +60 -0
  410. package/cli/node_modules/lodash/_baseIteratee.js +31 -0
  411. package/cli/node_modules/lodash/_baseKeys.js +30 -0
  412. package/cli/node_modules/lodash/_baseKeysIn.js +33 -0
  413. package/cli/node_modules/lodash/_baseLodash.js +10 -0
  414. package/cli/node_modules/lodash/_baseLt.js +14 -0
  415. package/cli/node_modules/lodash/_baseMap.js +22 -0
  416. package/cli/node_modules/lodash/_baseMatches.js +22 -0
  417. package/cli/node_modules/lodash/_baseMatchesProperty.js +33 -0
  418. package/cli/node_modules/lodash/_baseMean.js +20 -0
  419. package/cli/node_modules/lodash/_baseMerge.js +42 -0
  420. package/cli/node_modules/lodash/_baseMergeDeep.js +94 -0
  421. package/cli/node_modules/lodash/_baseNth.js +20 -0
  422. package/cli/node_modules/lodash/_baseOrderBy.js +49 -0
  423. package/cli/node_modules/lodash/_basePick.js +19 -0
  424. package/cli/node_modules/lodash/_basePickBy.js +30 -0
  425. package/cli/node_modules/lodash/_baseProperty.js +14 -0
  426. package/cli/node_modules/lodash/_basePropertyDeep.js +16 -0
  427. package/cli/node_modules/lodash/_basePropertyOf.js +14 -0
  428. package/cli/node_modules/lodash/_basePullAll.js +51 -0
  429. package/cli/node_modules/lodash/_basePullAt.js +37 -0
  430. package/cli/node_modules/lodash/_baseRandom.js +18 -0
  431. package/cli/node_modules/lodash/_baseRange.js +28 -0
  432. package/cli/node_modules/lodash/_baseReduce.js +23 -0
  433. package/cli/node_modules/lodash/_baseRepeat.js +35 -0
  434. package/cli/node_modules/lodash/_baseRest.js +17 -0
  435. package/cli/node_modules/lodash/_baseSample.js +15 -0
  436. package/cli/node_modules/lodash/_baseSampleSize.js +18 -0
  437. package/cli/node_modules/lodash/_baseSet.js +51 -0
  438. package/cli/node_modules/lodash/_baseSetData.js +17 -0
  439. package/cli/node_modules/lodash/_baseSetToString.js +22 -0
  440. package/cli/node_modules/lodash/_baseShuffle.js +15 -0
  441. package/cli/node_modules/lodash/_baseSlice.js +31 -0
  442. package/cli/node_modules/lodash/_baseSome.js +22 -0
  443. package/cli/node_modules/lodash/_baseSortBy.js +21 -0
  444. package/cli/node_modules/lodash/_baseSortedIndex.js +42 -0
  445. package/cli/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  446. package/cli/node_modules/lodash/_baseSortedUniq.js +30 -0
  447. package/cli/node_modules/lodash/_baseSum.js +24 -0
  448. package/cli/node_modules/lodash/_baseTimes.js +20 -0
  449. package/cli/node_modules/lodash/_baseToNumber.js +24 -0
  450. package/cli/node_modules/lodash/_baseToPairs.js +18 -0
  451. package/cli/node_modules/lodash/_baseToString.js +37 -0
  452. package/cli/node_modules/lodash/_baseTrim.js +19 -0
  453. package/cli/node_modules/lodash/_baseUnary.js +14 -0
  454. package/cli/node_modules/lodash/_baseUniq.js +72 -0
  455. package/cli/node_modules/lodash/_baseUnset.js +20 -0
  456. package/cli/node_modules/lodash/_baseUpdate.js +18 -0
  457. package/cli/node_modules/lodash/_baseValues.js +19 -0
  458. package/cli/node_modules/lodash/_baseWhile.js +26 -0
  459. package/cli/node_modules/lodash/_baseWrapperValue.js +25 -0
  460. package/cli/node_modules/lodash/_baseXor.js +36 -0
  461. package/cli/node_modules/lodash/_baseZipObject.js +23 -0
  462. package/cli/node_modules/lodash/_cacheHas.js +13 -0
  463. package/cli/node_modules/lodash/_castArrayLikeObject.js +14 -0
  464. package/cli/node_modules/lodash/_castFunction.js +14 -0
  465. package/cli/node_modules/lodash/_castPath.js +21 -0
  466. package/cli/node_modules/lodash/_castRest.js +14 -0
  467. package/cli/node_modules/lodash/_castSlice.js +18 -0
  468. package/cli/node_modules/lodash/_charsEndIndex.js +19 -0
  469. package/cli/node_modules/lodash/_charsStartIndex.js +20 -0
  470. package/cli/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  471. package/cli/node_modules/lodash/_cloneBuffer.js +35 -0
  472. package/cli/node_modules/lodash/_cloneDataView.js +16 -0
  473. package/cli/node_modules/lodash/_cloneRegExp.js +17 -0
  474. package/cli/node_modules/lodash/_cloneSymbol.js +18 -0
  475. package/cli/node_modules/lodash/_cloneTypedArray.js +16 -0
  476. package/cli/node_modules/lodash/_compareAscending.js +41 -0
  477. package/cli/node_modules/lodash/_compareMultiple.js +44 -0
  478. package/cli/node_modules/lodash/_composeArgs.js +39 -0
  479. package/cli/node_modules/lodash/_composeArgsRight.js +41 -0
  480. package/cli/node_modules/lodash/_copyArray.js +20 -0
  481. package/cli/node_modules/lodash/_copyObject.js +40 -0
  482. package/cli/node_modules/lodash/_copySymbols.js +16 -0
  483. package/cli/node_modules/lodash/_copySymbolsIn.js +16 -0
  484. package/cli/node_modules/lodash/_coreJsData.js +6 -0
  485. package/cli/node_modules/lodash/_countHolders.js +21 -0
  486. package/cli/node_modules/lodash/_createAggregator.js +23 -0
  487. package/cli/node_modules/lodash/_createAssigner.js +37 -0
  488. package/cli/node_modules/lodash/_createBaseEach.js +32 -0
  489. package/cli/node_modules/lodash/_createBaseFor.js +25 -0
  490. package/cli/node_modules/lodash/_createBind.js +28 -0
  491. package/cli/node_modules/lodash/_createCaseFirst.js +33 -0
  492. package/cli/node_modules/lodash/_createCompounder.js +24 -0
  493. package/cli/node_modules/lodash/_createCtor.js +37 -0
  494. package/cli/node_modules/lodash/_createCurry.js +46 -0
  495. package/cli/node_modules/lodash/_createFind.js +25 -0
  496. package/cli/node_modules/lodash/_createFlow.js +78 -0
  497. package/cli/node_modules/lodash/_createHybrid.js +92 -0
  498. package/cli/node_modules/lodash/_createInverter.js +17 -0
  499. package/cli/node_modules/lodash/_createMathOperation.js +38 -0
  500. package/cli/node_modules/lodash/_createOver.js +27 -0
  501. package/cli/node_modules/lodash/_createPadding.js +33 -0
  502. package/cli/node_modules/lodash/_createPartial.js +43 -0
  503. package/cli/node_modules/lodash/_createRange.js +30 -0
  504. package/cli/node_modules/lodash/_createRecurry.js +56 -0
  505. package/cli/node_modules/lodash/_createRelationalOperation.js +20 -0
  506. package/cli/node_modules/lodash/_createRound.js +35 -0
  507. package/cli/node_modules/lodash/_createSet.js +19 -0
  508. package/cli/node_modules/lodash/_createToPairs.js +30 -0
  509. package/cli/node_modules/lodash/_createWrap.js +106 -0
  510. package/cli/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  511. package/cli/node_modules/lodash/_customDefaultsMerge.js +28 -0
  512. package/cli/node_modules/lodash/_customOmitClone.js +16 -0
  513. package/cli/node_modules/lodash/_deburrLetter.js +71 -0
  514. package/cli/node_modules/lodash/_defineProperty.js +11 -0
  515. package/cli/node_modules/lodash/_equalArrays.js +84 -0
  516. package/cli/node_modules/lodash/_equalByTag.js +112 -0
  517. package/cli/node_modules/lodash/_equalObjects.js +90 -0
  518. package/cli/node_modules/lodash/_escapeHtmlChar.js +21 -0
  519. package/cli/node_modules/lodash/_escapeStringChar.js +22 -0
  520. package/cli/node_modules/lodash/_flatRest.js +16 -0
  521. package/cli/node_modules/lodash/_freeGlobal.js +4 -0
  522. package/cli/node_modules/lodash/_getAllKeys.js +16 -0
  523. package/cli/node_modules/lodash/_getAllKeysIn.js +17 -0
  524. package/cli/node_modules/lodash/_getData.js +15 -0
  525. package/cli/node_modules/lodash/_getFuncName.js +31 -0
  526. package/cli/node_modules/lodash/_getHolder.js +13 -0
  527. package/cli/node_modules/lodash/_getMapData.js +18 -0
  528. package/cli/node_modules/lodash/_getMatchData.js +24 -0
  529. package/cli/node_modules/lodash/_getNative.js +17 -0
  530. package/cli/node_modules/lodash/_getPrototype.js +6 -0
  531. package/cli/node_modules/lodash/_getRawTag.js +46 -0
  532. package/cli/node_modules/lodash/_getSymbols.js +30 -0
  533. package/cli/node_modules/lodash/_getSymbolsIn.js +25 -0
  534. package/cli/node_modules/lodash/_getTag.js +58 -0
  535. package/cli/node_modules/lodash/_getValue.js +13 -0
  536. package/cli/node_modules/lodash/_getView.js +33 -0
  537. package/cli/node_modules/lodash/_getWrapDetails.js +17 -0
  538. package/cli/node_modules/lodash/_hasPath.js +39 -0
  539. package/cli/node_modules/lodash/_hasUnicode.js +26 -0
  540. package/cli/node_modules/lodash/_hasUnicodeWord.js +15 -0
  541. package/cli/node_modules/lodash/_hashClear.js +15 -0
  542. package/cli/node_modules/lodash/_hashDelete.js +17 -0
  543. package/cli/node_modules/lodash/_hashGet.js +30 -0
  544. package/cli/node_modules/lodash/_hashHas.js +23 -0
  545. package/cli/node_modules/lodash/_hashSet.js +23 -0
  546. package/cli/node_modules/lodash/_initCloneArray.js +26 -0
  547. package/cli/node_modules/lodash/_initCloneByTag.js +77 -0
  548. package/cli/node_modules/lodash/_initCloneObject.js +18 -0
  549. package/cli/node_modules/lodash/_insertWrapDetails.js +23 -0
  550. package/cli/node_modules/lodash/_isFlattenable.js +20 -0
  551. package/cli/node_modules/lodash/_isIndex.js +25 -0
  552. package/cli/node_modules/lodash/_isIterateeCall.js +30 -0
  553. package/cli/node_modules/lodash/_isKey.js +29 -0
  554. package/cli/node_modules/lodash/_isKeyable.js +15 -0
  555. package/cli/node_modules/lodash/_isLaziable.js +28 -0
  556. package/cli/node_modules/lodash/_isMaskable.js +14 -0
  557. package/cli/node_modules/lodash/_isMasked.js +20 -0
  558. package/cli/node_modules/lodash/_isPrototype.js +18 -0
  559. package/cli/node_modules/lodash/_isStrictComparable.js +15 -0
  560. package/cli/node_modules/lodash/_iteratorToArray.js +18 -0
  561. package/cli/node_modules/lodash/_lazyClone.js +23 -0
  562. package/cli/node_modules/lodash/_lazyReverse.js +23 -0
  563. package/cli/node_modules/lodash/_lazyValue.js +69 -0
  564. package/cli/node_modules/lodash/_listCacheClear.js +13 -0
  565. package/cli/node_modules/lodash/_listCacheDelete.js +35 -0
  566. package/cli/node_modules/lodash/_listCacheGet.js +19 -0
  567. package/cli/node_modules/lodash/_listCacheHas.js +16 -0
  568. package/cli/node_modules/lodash/_listCacheSet.js +26 -0
  569. package/cli/node_modules/lodash/_mapCacheClear.js +21 -0
  570. package/cli/node_modules/lodash/_mapCacheDelete.js +18 -0
  571. package/cli/node_modules/lodash/_mapCacheGet.js +16 -0
  572. package/cli/node_modules/lodash/_mapCacheHas.js +16 -0
  573. package/cli/node_modules/lodash/_mapCacheSet.js +22 -0
  574. package/cli/node_modules/lodash/_mapToArray.js +18 -0
  575. package/cli/node_modules/lodash/_matchesStrictComparable.js +20 -0
  576. package/cli/node_modules/lodash/_memoizeCapped.js +26 -0
  577. package/cli/node_modules/lodash/_mergeData.js +90 -0
  578. package/cli/node_modules/lodash/_metaMap.js +6 -0
  579. package/cli/node_modules/lodash/_nativeCreate.js +6 -0
  580. package/cli/node_modules/lodash/_nativeKeys.js +6 -0
  581. package/cli/node_modules/lodash/_nativeKeysIn.js +20 -0
  582. package/cli/node_modules/lodash/_nodeUtil.js +30 -0
  583. package/cli/node_modules/lodash/_objectToString.js +22 -0
  584. package/cli/node_modules/lodash/_overArg.js +15 -0
  585. package/cli/node_modules/lodash/_overRest.js +36 -0
  586. package/cli/node_modules/lodash/_parent.js +16 -0
  587. package/cli/node_modules/lodash/_reEscape.js +4 -0
  588. package/cli/node_modules/lodash/_reEvaluate.js +4 -0
  589. package/cli/node_modules/lodash/_reInterpolate.js +4 -0
  590. package/cli/node_modules/lodash/_realNames.js +4 -0
  591. package/cli/node_modules/lodash/_reorder.js +29 -0
  592. package/cli/node_modules/lodash/_replaceHolders.js +29 -0
  593. package/cli/node_modules/lodash/_root.js +9 -0
  594. package/cli/node_modules/lodash/_safeGet.js +21 -0
  595. package/cli/node_modules/lodash/_setCacheAdd.js +19 -0
  596. package/cli/node_modules/lodash/_setCacheHas.js +14 -0
  597. package/cli/node_modules/lodash/_setData.js +20 -0
  598. package/cli/node_modules/lodash/_setToArray.js +18 -0
  599. package/cli/node_modules/lodash/_setToPairs.js +18 -0
  600. package/cli/node_modules/lodash/_setToString.js +14 -0
  601. package/cli/node_modules/lodash/_setWrapToString.js +21 -0
  602. package/cli/node_modules/lodash/_shortOut.js +37 -0
  603. package/cli/node_modules/lodash/_shuffleSelf.js +28 -0
  604. package/cli/node_modules/lodash/_stackClear.js +15 -0
  605. package/cli/node_modules/lodash/_stackDelete.js +18 -0
  606. package/cli/node_modules/lodash/_stackGet.js +14 -0
  607. package/cli/node_modules/lodash/_stackHas.js +14 -0
  608. package/cli/node_modules/lodash/_stackSet.js +34 -0
  609. package/cli/node_modules/lodash/_strictIndexOf.js +23 -0
  610. package/cli/node_modules/lodash/_strictLastIndexOf.js +21 -0
  611. package/cli/node_modules/lodash/_stringSize.js +18 -0
  612. package/cli/node_modules/lodash/_stringToArray.js +18 -0
  613. package/cli/node_modules/lodash/_stringToPath.js +27 -0
  614. package/cli/node_modules/lodash/_toKey.js +21 -0
  615. package/cli/node_modules/lodash/_toSource.js +26 -0
  616. package/cli/node_modules/lodash/_trimmedEndIndex.js +19 -0
  617. package/cli/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  618. package/cli/node_modules/lodash/_unicodeSize.js +44 -0
  619. package/cli/node_modules/lodash/_unicodeToArray.js +40 -0
  620. package/cli/node_modules/lodash/_unicodeWords.js +69 -0
  621. package/cli/node_modules/lodash/_updateWrapDetails.js +46 -0
  622. package/cli/node_modules/lodash/_wrapperClone.js +23 -0
  623. package/cli/node_modules/lodash/add.js +22 -0
  624. package/cli/node_modules/lodash/after.js +42 -0
  625. package/cli/node_modules/lodash/array.js +67 -0
  626. package/cli/node_modules/lodash/ary.js +29 -0
  627. package/cli/node_modules/lodash/assign.js +58 -0
  628. package/cli/node_modules/lodash/assignIn.js +40 -0
  629. package/cli/node_modules/lodash/assignInWith.js +38 -0
  630. package/cli/node_modules/lodash/assignWith.js +37 -0
  631. package/cli/node_modules/lodash/at.js +23 -0
  632. package/cli/node_modules/lodash/attempt.js +35 -0
  633. package/cli/node_modules/lodash/before.js +40 -0
  634. package/cli/node_modules/lodash/bind.js +57 -0
  635. package/cli/node_modules/lodash/bindAll.js +41 -0
  636. package/cli/node_modules/lodash/bindKey.js +68 -0
  637. package/cli/node_modules/lodash/camelCase.js +29 -0
  638. package/cli/node_modules/lodash/capitalize.js +23 -0
  639. package/cli/node_modules/lodash/castArray.js +44 -0
  640. package/cli/node_modules/lodash/ceil.js +26 -0
  641. package/cli/node_modules/lodash/chain.js +38 -0
  642. package/cli/node_modules/lodash/chunk.js +50 -0
  643. package/cli/node_modules/lodash/clamp.js +39 -0
  644. package/cli/node_modules/lodash/clone.js +36 -0
  645. package/cli/node_modules/lodash/cloneDeep.js +29 -0
  646. package/cli/node_modules/lodash/cloneDeepWith.js +40 -0
  647. package/cli/node_modules/lodash/cloneWith.js +42 -0
  648. package/cli/node_modules/lodash/collection.js +30 -0
  649. package/cli/node_modules/lodash/commit.js +33 -0
  650. package/cli/node_modules/lodash/compact.js +31 -0
  651. package/cli/node_modules/lodash/concat.js +43 -0
  652. package/cli/node_modules/lodash/cond.js +60 -0
  653. package/cli/node_modules/lodash/conforms.js +35 -0
  654. package/cli/node_modules/lodash/conformsTo.js +32 -0
  655. package/cli/node_modules/lodash/constant.js +26 -0
  656. package/cli/node_modules/lodash/core.js +3877 -0
  657. package/cli/node_modules/lodash/core.min.js +29 -0
  658. package/cli/node_modules/lodash/countBy.js +40 -0
  659. package/cli/node_modules/lodash/create.js +43 -0
  660. package/cli/node_modules/lodash/curry.js +57 -0
  661. package/cli/node_modules/lodash/curryRight.js +54 -0
  662. package/cli/node_modules/lodash/date.js +3 -0
  663. package/cli/node_modules/lodash/debounce.js +191 -0
  664. package/cli/node_modules/lodash/deburr.js +45 -0
  665. package/cli/node_modules/lodash/defaultTo.js +25 -0
  666. package/cli/node_modules/lodash/defaults.js +64 -0
  667. package/cli/node_modules/lodash/defaultsDeep.js +30 -0
  668. package/cli/node_modules/lodash/defer.js +26 -0
  669. package/cli/node_modules/lodash/delay.js +28 -0
  670. package/cli/node_modules/lodash/difference.js +33 -0
  671. package/cli/node_modules/lodash/differenceBy.js +44 -0
  672. package/cli/node_modules/lodash/differenceWith.js +40 -0
  673. package/cli/node_modules/lodash/divide.js +22 -0
  674. package/cli/node_modules/lodash/drop.js +38 -0
  675. package/cli/node_modules/lodash/dropRight.js +39 -0
  676. package/cli/node_modules/lodash/dropRightWhile.js +45 -0
  677. package/cli/node_modules/lodash/dropWhile.js +45 -0
  678. package/cli/node_modules/lodash/each.js +1 -0
  679. package/cli/node_modules/lodash/eachRight.js +1 -0
  680. package/cli/node_modules/lodash/endsWith.js +43 -0
  681. package/cli/node_modules/lodash/entries.js +1 -0
  682. package/cli/node_modules/lodash/entriesIn.js +1 -0
  683. package/cli/node_modules/lodash/eq.js +37 -0
  684. package/cli/node_modules/lodash/escape.js +43 -0
  685. package/cli/node_modules/lodash/escapeRegExp.js +32 -0
  686. package/cli/node_modules/lodash/every.js +56 -0
  687. package/cli/node_modules/lodash/extend.js +1 -0
  688. package/cli/node_modules/lodash/extendWith.js +1 -0
  689. package/cli/node_modules/lodash/fill.js +45 -0
  690. package/cli/node_modules/lodash/filter.js +52 -0
  691. package/cli/node_modules/lodash/find.js +42 -0
  692. package/cli/node_modules/lodash/findIndex.js +55 -0
  693. package/cli/node_modules/lodash/findKey.js +44 -0
  694. package/cli/node_modules/lodash/findLast.js +25 -0
  695. package/cli/node_modules/lodash/findLastIndex.js +59 -0
  696. package/cli/node_modules/lodash/findLastKey.js +44 -0
  697. package/cli/node_modules/lodash/first.js +1 -0
  698. package/cli/node_modules/lodash/flake.lock +40 -0
  699. package/cli/node_modules/lodash/flake.nix +20 -0
  700. package/cli/node_modules/lodash/flatMap.js +29 -0
  701. package/cli/node_modules/lodash/flatMapDeep.js +31 -0
  702. package/cli/node_modules/lodash/flatMapDepth.js +31 -0
  703. package/cli/node_modules/lodash/flatten.js +22 -0
  704. package/cli/node_modules/lodash/flattenDeep.js +25 -0
  705. package/cli/node_modules/lodash/flattenDepth.js +33 -0
  706. package/cli/node_modules/lodash/flip.js +28 -0
  707. package/cli/node_modules/lodash/floor.js +26 -0
  708. package/cli/node_modules/lodash/flow.js +27 -0
  709. package/cli/node_modules/lodash/flowRight.js +26 -0
  710. package/cli/node_modules/lodash/forEach.js +41 -0
  711. package/cli/node_modules/lodash/forEachRight.js +31 -0
  712. package/cli/node_modules/lodash/forIn.js +39 -0
  713. package/cli/node_modules/lodash/forInRight.js +37 -0
  714. package/cli/node_modules/lodash/forOwn.js +36 -0
  715. package/cli/node_modules/lodash/forOwnRight.js +34 -0
  716. package/cli/node_modules/lodash/fp/F.js +1 -0
  717. package/cli/node_modules/lodash/fp/T.js +1 -0
  718. package/cli/node_modules/lodash/fp/__.js +1 -0
  719. package/cli/node_modules/lodash/fp/_baseConvert.js +569 -0
  720. package/cli/node_modules/lodash/fp/_convertBrowser.js +18 -0
  721. package/cli/node_modules/lodash/fp/_falseOptions.js +7 -0
  722. package/cli/node_modules/lodash/fp/_mapping.js +358 -0
  723. package/cli/node_modules/lodash/fp/_util.js +16 -0
  724. package/cli/node_modules/lodash/fp/add.js +5 -0
  725. package/cli/node_modules/lodash/fp/after.js +5 -0
  726. package/cli/node_modules/lodash/fp/all.js +1 -0
  727. package/cli/node_modules/lodash/fp/allPass.js +1 -0
  728. package/cli/node_modules/lodash/fp/always.js +1 -0
  729. package/cli/node_modules/lodash/fp/any.js +1 -0
  730. package/cli/node_modules/lodash/fp/anyPass.js +1 -0
  731. package/cli/node_modules/lodash/fp/apply.js +1 -0
  732. package/cli/node_modules/lodash/fp/array.js +2 -0
  733. package/cli/node_modules/lodash/fp/ary.js +5 -0
  734. package/cli/node_modules/lodash/fp/assign.js +5 -0
  735. package/cli/node_modules/lodash/fp/assignAll.js +5 -0
  736. package/cli/node_modules/lodash/fp/assignAllWith.js +5 -0
  737. package/cli/node_modules/lodash/fp/assignIn.js +5 -0
  738. package/cli/node_modules/lodash/fp/assignInAll.js +5 -0
  739. package/cli/node_modules/lodash/fp/assignInAllWith.js +5 -0
  740. package/cli/node_modules/lodash/fp/assignInWith.js +5 -0
  741. package/cli/node_modules/lodash/fp/assignWith.js +5 -0
  742. package/cli/node_modules/lodash/fp/assoc.js +1 -0
  743. package/cli/node_modules/lodash/fp/assocPath.js +1 -0
  744. package/cli/node_modules/lodash/fp/at.js +5 -0
  745. package/cli/node_modules/lodash/fp/attempt.js +5 -0
  746. package/cli/node_modules/lodash/fp/before.js +5 -0
  747. package/cli/node_modules/lodash/fp/bind.js +5 -0
  748. package/cli/node_modules/lodash/fp/bindAll.js +5 -0
  749. package/cli/node_modules/lodash/fp/bindKey.js +5 -0
  750. package/cli/node_modules/lodash/fp/camelCase.js +5 -0
  751. package/cli/node_modules/lodash/fp/capitalize.js +5 -0
  752. package/cli/node_modules/lodash/fp/castArray.js +5 -0
  753. package/cli/node_modules/lodash/fp/ceil.js +5 -0
  754. package/cli/node_modules/lodash/fp/chain.js +5 -0
  755. package/cli/node_modules/lodash/fp/chunk.js +5 -0
  756. package/cli/node_modules/lodash/fp/clamp.js +5 -0
  757. package/cli/node_modules/lodash/fp/clone.js +5 -0
  758. package/cli/node_modules/lodash/fp/cloneDeep.js +5 -0
  759. package/cli/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  760. package/cli/node_modules/lodash/fp/cloneWith.js +5 -0
  761. package/cli/node_modules/lodash/fp/collection.js +2 -0
  762. package/cli/node_modules/lodash/fp/commit.js +5 -0
  763. package/cli/node_modules/lodash/fp/compact.js +5 -0
  764. package/cli/node_modules/lodash/fp/complement.js +1 -0
  765. package/cli/node_modules/lodash/fp/compose.js +1 -0
  766. package/cli/node_modules/lodash/fp/concat.js +5 -0
  767. package/cli/node_modules/lodash/fp/cond.js +5 -0
  768. package/cli/node_modules/lodash/fp/conforms.js +1 -0
  769. package/cli/node_modules/lodash/fp/conformsTo.js +5 -0
  770. package/cli/node_modules/lodash/fp/constant.js +5 -0
  771. package/cli/node_modules/lodash/fp/contains.js +1 -0
  772. package/cli/node_modules/lodash/fp/convert.js +18 -0
  773. package/cli/node_modules/lodash/fp/countBy.js +5 -0
  774. package/cli/node_modules/lodash/fp/create.js +5 -0
  775. package/cli/node_modules/lodash/fp/curry.js +5 -0
  776. package/cli/node_modules/lodash/fp/curryN.js +5 -0
  777. package/cli/node_modules/lodash/fp/curryRight.js +5 -0
  778. package/cli/node_modules/lodash/fp/curryRightN.js +5 -0
  779. package/cli/node_modules/lodash/fp/date.js +2 -0
  780. package/cli/node_modules/lodash/fp/debounce.js +5 -0
  781. package/cli/node_modules/lodash/fp/deburr.js +5 -0
  782. package/cli/node_modules/lodash/fp/defaultTo.js +5 -0
  783. package/cli/node_modules/lodash/fp/defaults.js +5 -0
  784. package/cli/node_modules/lodash/fp/defaultsAll.js +5 -0
  785. package/cli/node_modules/lodash/fp/defaultsDeep.js +5 -0
  786. package/cli/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  787. package/cli/node_modules/lodash/fp/defer.js +5 -0
  788. package/cli/node_modules/lodash/fp/delay.js +5 -0
  789. package/cli/node_modules/lodash/fp/difference.js +5 -0
  790. package/cli/node_modules/lodash/fp/differenceBy.js +5 -0
  791. package/cli/node_modules/lodash/fp/differenceWith.js +5 -0
  792. package/cli/node_modules/lodash/fp/dissoc.js +1 -0
  793. package/cli/node_modules/lodash/fp/dissocPath.js +1 -0
  794. package/cli/node_modules/lodash/fp/divide.js +5 -0
  795. package/cli/node_modules/lodash/fp/drop.js +5 -0
  796. package/cli/node_modules/lodash/fp/dropLast.js +1 -0
  797. package/cli/node_modules/lodash/fp/dropLastWhile.js +1 -0
  798. package/cli/node_modules/lodash/fp/dropRight.js +5 -0
  799. package/cli/node_modules/lodash/fp/dropRightWhile.js +5 -0
  800. package/cli/node_modules/lodash/fp/dropWhile.js +5 -0
  801. package/cli/node_modules/lodash/fp/each.js +1 -0
  802. package/cli/node_modules/lodash/fp/eachRight.js +1 -0
  803. package/cli/node_modules/lodash/fp/endsWith.js +5 -0
  804. package/cli/node_modules/lodash/fp/entries.js +1 -0
  805. package/cli/node_modules/lodash/fp/entriesIn.js +1 -0
  806. package/cli/node_modules/lodash/fp/eq.js +5 -0
  807. package/cli/node_modules/lodash/fp/equals.js +1 -0
  808. package/cli/node_modules/lodash/fp/escape.js +5 -0
  809. package/cli/node_modules/lodash/fp/escapeRegExp.js +5 -0
  810. package/cli/node_modules/lodash/fp/every.js +5 -0
  811. package/cli/node_modules/lodash/fp/extend.js +1 -0
  812. package/cli/node_modules/lodash/fp/extendAll.js +1 -0
  813. package/cli/node_modules/lodash/fp/extendAllWith.js +1 -0
  814. package/cli/node_modules/lodash/fp/extendWith.js +1 -0
  815. package/cli/node_modules/lodash/fp/fill.js +5 -0
  816. package/cli/node_modules/lodash/fp/filter.js +5 -0
  817. package/cli/node_modules/lodash/fp/find.js +5 -0
  818. package/cli/node_modules/lodash/fp/findFrom.js +5 -0
  819. package/cli/node_modules/lodash/fp/findIndex.js +5 -0
  820. package/cli/node_modules/lodash/fp/findIndexFrom.js +5 -0
  821. package/cli/node_modules/lodash/fp/findKey.js +5 -0
  822. package/cli/node_modules/lodash/fp/findLast.js +5 -0
  823. package/cli/node_modules/lodash/fp/findLastFrom.js +5 -0
  824. package/cli/node_modules/lodash/fp/findLastIndex.js +5 -0
  825. package/cli/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  826. package/cli/node_modules/lodash/fp/findLastKey.js +5 -0
  827. package/cli/node_modules/lodash/fp/first.js +1 -0
  828. package/cli/node_modules/lodash/fp/flatMap.js +5 -0
  829. package/cli/node_modules/lodash/fp/flatMapDeep.js +5 -0
  830. package/cli/node_modules/lodash/fp/flatMapDepth.js +5 -0
  831. package/cli/node_modules/lodash/fp/flatten.js +5 -0
  832. package/cli/node_modules/lodash/fp/flattenDeep.js +5 -0
  833. package/cli/node_modules/lodash/fp/flattenDepth.js +5 -0
  834. package/cli/node_modules/lodash/fp/flip.js +5 -0
  835. package/cli/node_modules/lodash/fp/floor.js +5 -0
  836. package/cli/node_modules/lodash/fp/flow.js +5 -0
  837. package/cli/node_modules/lodash/fp/flowRight.js +5 -0
  838. package/cli/node_modules/lodash/fp/forEach.js +5 -0
  839. package/cli/node_modules/lodash/fp/forEachRight.js +5 -0
  840. package/cli/node_modules/lodash/fp/forIn.js +5 -0
  841. package/cli/node_modules/lodash/fp/forInRight.js +5 -0
  842. package/cli/node_modules/lodash/fp/forOwn.js +5 -0
  843. package/cli/node_modules/lodash/fp/forOwnRight.js +5 -0
  844. package/cli/node_modules/lodash/fp/fromPairs.js +5 -0
  845. package/cli/node_modules/lodash/fp/function.js +2 -0
  846. package/cli/node_modules/lodash/fp/functions.js +5 -0
  847. package/cli/node_modules/lodash/fp/functionsIn.js +5 -0
  848. package/cli/node_modules/lodash/fp/get.js +5 -0
  849. package/cli/node_modules/lodash/fp/getOr.js +5 -0
  850. package/cli/node_modules/lodash/fp/groupBy.js +5 -0
  851. package/cli/node_modules/lodash/fp/gt.js +5 -0
  852. package/cli/node_modules/lodash/fp/gte.js +5 -0
  853. package/cli/node_modules/lodash/fp/has.js +5 -0
  854. package/cli/node_modules/lodash/fp/hasIn.js +5 -0
  855. package/cli/node_modules/lodash/fp/head.js +5 -0
  856. package/cli/node_modules/lodash/fp/identical.js +1 -0
  857. package/cli/node_modules/lodash/fp/identity.js +5 -0
  858. package/cli/node_modules/lodash/fp/inRange.js +5 -0
  859. package/cli/node_modules/lodash/fp/includes.js +5 -0
  860. package/cli/node_modules/lodash/fp/includesFrom.js +5 -0
  861. package/cli/node_modules/lodash/fp/indexBy.js +1 -0
  862. package/cli/node_modules/lodash/fp/indexOf.js +5 -0
  863. package/cli/node_modules/lodash/fp/indexOfFrom.js +5 -0
  864. package/cli/node_modules/lodash/fp/init.js +1 -0
  865. package/cli/node_modules/lodash/fp/initial.js +5 -0
  866. package/cli/node_modules/lodash/fp/intersection.js +5 -0
  867. package/cli/node_modules/lodash/fp/intersectionBy.js +5 -0
  868. package/cli/node_modules/lodash/fp/intersectionWith.js +5 -0
  869. package/cli/node_modules/lodash/fp/invert.js +5 -0
  870. package/cli/node_modules/lodash/fp/invertBy.js +5 -0
  871. package/cli/node_modules/lodash/fp/invertObj.js +1 -0
  872. package/cli/node_modules/lodash/fp/invoke.js +5 -0
  873. package/cli/node_modules/lodash/fp/invokeArgs.js +5 -0
  874. package/cli/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  875. package/cli/node_modules/lodash/fp/invokeMap.js +5 -0
  876. package/cli/node_modules/lodash/fp/isArguments.js +5 -0
  877. package/cli/node_modules/lodash/fp/isArray.js +5 -0
  878. package/cli/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  879. package/cli/node_modules/lodash/fp/isArrayLike.js +5 -0
  880. package/cli/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  881. package/cli/node_modules/lodash/fp/isBoolean.js +5 -0
  882. package/cli/node_modules/lodash/fp/isBuffer.js +5 -0
  883. package/cli/node_modules/lodash/fp/isDate.js +5 -0
  884. package/cli/node_modules/lodash/fp/isElement.js +5 -0
  885. package/cli/node_modules/lodash/fp/isEmpty.js +5 -0
  886. package/cli/node_modules/lodash/fp/isEqual.js +5 -0
  887. package/cli/node_modules/lodash/fp/isEqualWith.js +5 -0
  888. package/cli/node_modules/lodash/fp/isError.js +5 -0
  889. package/cli/node_modules/lodash/fp/isFinite.js +5 -0
  890. package/cli/node_modules/lodash/fp/isFunction.js +5 -0
  891. package/cli/node_modules/lodash/fp/isInteger.js +5 -0
  892. package/cli/node_modules/lodash/fp/isLength.js +5 -0
  893. package/cli/node_modules/lodash/fp/isMap.js +5 -0
  894. package/cli/node_modules/lodash/fp/isMatch.js +5 -0
  895. package/cli/node_modules/lodash/fp/isMatchWith.js +5 -0
  896. package/cli/node_modules/lodash/fp/isNaN.js +5 -0
  897. package/cli/node_modules/lodash/fp/isNative.js +5 -0
  898. package/cli/node_modules/lodash/fp/isNil.js +5 -0
  899. package/cli/node_modules/lodash/fp/isNull.js +5 -0
  900. package/cli/node_modules/lodash/fp/isNumber.js +5 -0
  901. package/cli/node_modules/lodash/fp/isObject.js +5 -0
  902. package/cli/node_modules/lodash/fp/isObjectLike.js +5 -0
  903. package/cli/node_modules/lodash/fp/isPlainObject.js +5 -0
  904. package/cli/node_modules/lodash/fp/isRegExp.js +5 -0
  905. package/cli/node_modules/lodash/fp/isSafeInteger.js +5 -0
  906. package/cli/node_modules/lodash/fp/isSet.js +5 -0
  907. package/cli/node_modules/lodash/fp/isString.js +5 -0
  908. package/cli/node_modules/lodash/fp/isSymbol.js +5 -0
  909. package/cli/node_modules/lodash/fp/isTypedArray.js +5 -0
  910. package/cli/node_modules/lodash/fp/isUndefined.js +5 -0
  911. package/cli/node_modules/lodash/fp/isWeakMap.js +5 -0
  912. package/cli/node_modules/lodash/fp/isWeakSet.js +5 -0
  913. package/cli/node_modules/lodash/fp/iteratee.js +5 -0
  914. package/cli/node_modules/lodash/fp/join.js +5 -0
  915. package/cli/node_modules/lodash/fp/juxt.js +1 -0
  916. package/cli/node_modules/lodash/fp/kebabCase.js +5 -0
  917. package/cli/node_modules/lodash/fp/keyBy.js +5 -0
  918. package/cli/node_modules/lodash/fp/keys.js +5 -0
  919. package/cli/node_modules/lodash/fp/keysIn.js +5 -0
  920. package/cli/node_modules/lodash/fp/lang.js +2 -0
  921. package/cli/node_modules/lodash/fp/last.js +5 -0
  922. package/cli/node_modules/lodash/fp/lastIndexOf.js +5 -0
  923. package/cli/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  924. package/cli/node_modules/lodash/fp/lowerCase.js +5 -0
  925. package/cli/node_modules/lodash/fp/lowerFirst.js +5 -0
  926. package/cli/node_modules/lodash/fp/lt.js +5 -0
  927. package/cli/node_modules/lodash/fp/lte.js +5 -0
  928. package/cli/node_modules/lodash/fp/map.js +5 -0
  929. package/cli/node_modules/lodash/fp/mapKeys.js +5 -0
  930. package/cli/node_modules/lodash/fp/mapValues.js +5 -0
  931. package/cli/node_modules/lodash/fp/matches.js +1 -0
  932. package/cli/node_modules/lodash/fp/matchesProperty.js +5 -0
  933. package/cli/node_modules/lodash/fp/math.js +2 -0
  934. package/cli/node_modules/lodash/fp/max.js +5 -0
  935. package/cli/node_modules/lodash/fp/maxBy.js +5 -0
  936. package/cli/node_modules/lodash/fp/mean.js +5 -0
  937. package/cli/node_modules/lodash/fp/meanBy.js +5 -0
  938. package/cli/node_modules/lodash/fp/memoize.js +5 -0
  939. package/cli/node_modules/lodash/fp/merge.js +5 -0
  940. package/cli/node_modules/lodash/fp/mergeAll.js +5 -0
  941. package/cli/node_modules/lodash/fp/mergeAllWith.js +5 -0
  942. package/cli/node_modules/lodash/fp/mergeWith.js +5 -0
  943. package/cli/node_modules/lodash/fp/method.js +5 -0
  944. package/cli/node_modules/lodash/fp/methodOf.js +5 -0
  945. package/cli/node_modules/lodash/fp/min.js +5 -0
  946. package/cli/node_modules/lodash/fp/minBy.js +5 -0
  947. package/cli/node_modules/lodash/fp/mixin.js +5 -0
  948. package/cli/node_modules/lodash/fp/multiply.js +5 -0
  949. package/cli/node_modules/lodash/fp/nAry.js +1 -0
  950. package/cli/node_modules/lodash/fp/negate.js +5 -0
  951. package/cli/node_modules/lodash/fp/next.js +5 -0
  952. package/cli/node_modules/lodash/fp/noop.js +5 -0
  953. package/cli/node_modules/lodash/fp/now.js +5 -0
  954. package/cli/node_modules/lodash/fp/nth.js +5 -0
  955. package/cli/node_modules/lodash/fp/nthArg.js +5 -0
  956. package/cli/node_modules/lodash/fp/number.js +2 -0
  957. package/cli/node_modules/lodash/fp/object.js +2 -0
  958. package/cli/node_modules/lodash/fp/omit.js +5 -0
  959. package/cli/node_modules/lodash/fp/omitAll.js +1 -0
  960. package/cli/node_modules/lodash/fp/omitBy.js +5 -0
  961. package/cli/node_modules/lodash/fp/once.js +5 -0
  962. package/cli/node_modules/lodash/fp/orderBy.js +5 -0
  963. package/cli/node_modules/lodash/fp/over.js +5 -0
  964. package/cli/node_modules/lodash/fp/overArgs.js +5 -0
  965. package/cli/node_modules/lodash/fp/overEvery.js +5 -0
  966. package/cli/node_modules/lodash/fp/overSome.js +5 -0
  967. package/cli/node_modules/lodash/fp/pad.js +5 -0
  968. package/cli/node_modules/lodash/fp/padChars.js +5 -0
  969. package/cli/node_modules/lodash/fp/padCharsEnd.js +5 -0
  970. package/cli/node_modules/lodash/fp/padCharsStart.js +5 -0
  971. package/cli/node_modules/lodash/fp/padEnd.js +5 -0
  972. package/cli/node_modules/lodash/fp/padStart.js +5 -0
  973. package/cli/node_modules/lodash/fp/parseInt.js +5 -0
  974. package/cli/node_modules/lodash/fp/partial.js +5 -0
  975. package/cli/node_modules/lodash/fp/partialRight.js +5 -0
  976. package/cli/node_modules/lodash/fp/partition.js +5 -0
  977. package/cli/node_modules/lodash/fp/path.js +1 -0
  978. package/cli/node_modules/lodash/fp/pathEq.js +1 -0
  979. package/cli/node_modules/lodash/fp/pathOr.js +1 -0
  980. package/cli/node_modules/lodash/fp/paths.js +1 -0
  981. package/cli/node_modules/lodash/fp/pick.js +5 -0
  982. package/cli/node_modules/lodash/fp/pickAll.js +1 -0
  983. package/cli/node_modules/lodash/fp/pickBy.js +5 -0
  984. package/cli/node_modules/lodash/fp/pipe.js +1 -0
  985. package/cli/node_modules/lodash/fp/placeholder.js +6 -0
  986. package/cli/node_modules/lodash/fp/plant.js +5 -0
  987. package/cli/node_modules/lodash/fp/pluck.js +1 -0
  988. package/cli/node_modules/lodash/fp/prop.js +1 -0
  989. package/cli/node_modules/lodash/fp/propEq.js +1 -0
  990. package/cli/node_modules/lodash/fp/propOr.js +1 -0
  991. package/cli/node_modules/lodash/fp/property.js +1 -0
  992. package/cli/node_modules/lodash/fp/propertyOf.js +5 -0
  993. package/cli/node_modules/lodash/fp/props.js +1 -0
  994. package/cli/node_modules/lodash/fp/pull.js +5 -0
  995. package/cli/node_modules/lodash/fp/pullAll.js +5 -0
  996. package/cli/node_modules/lodash/fp/pullAllBy.js +5 -0
  997. package/cli/node_modules/lodash/fp/pullAllWith.js +5 -0
  998. package/cli/node_modules/lodash/fp/pullAt.js +5 -0
  999. package/cli/node_modules/lodash/fp/random.js +5 -0
  1000. package/cli/node_modules/lodash/fp/range.js +5 -0
  1001. package/cli/node_modules/lodash/fp/rangeRight.js +5 -0
  1002. package/cli/node_modules/lodash/fp/rangeStep.js +5 -0
  1003. package/cli/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1004. package/cli/node_modules/lodash/fp/rearg.js +5 -0
  1005. package/cli/node_modules/lodash/fp/reduce.js +5 -0
  1006. package/cli/node_modules/lodash/fp/reduceRight.js +5 -0
  1007. package/cli/node_modules/lodash/fp/reject.js +5 -0
  1008. package/cli/node_modules/lodash/fp/remove.js +5 -0
  1009. package/cli/node_modules/lodash/fp/repeat.js +5 -0
  1010. package/cli/node_modules/lodash/fp/replace.js +5 -0
  1011. package/cli/node_modules/lodash/fp/rest.js +5 -0
  1012. package/cli/node_modules/lodash/fp/restFrom.js +5 -0
  1013. package/cli/node_modules/lodash/fp/result.js +5 -0
  1014. package/cli/node_modules/lodash/fp/reverse.js +5 -0
  1015. package/cli/node_modules/lodash/fp/round.js +5 -0
  1016. package/cli/node_modules/lodash/fp/sample.js +5 -0
  1017. package/cli/node_modules/lodash/fp/sampleSize.js +5 -0
  1018. package/cli/node_modules/lodash/fp/seq.js +2 -0
  1019. package/cli/node_modules/lodash/fp/set.js +5 -0
  1020. package/cli/node_modules/lodash/fp/setWith.js +5 -0
  1021. package/cli/node_modules/lodash/fp/shuffle.js +5 -0
  1022. package/cli/node_modules/lodash/fp/size.js +5 -0
  1023. package/cli/node_modules/lodash/fp/slice.js +5 -0
  1024. package/cli/node_modules/lodash/fp/snakeCase.js +5 -0
  1025. package/cli/node_modules/lodash/fp/some.js +5 -0
  1026. package/cli/node_modules/lodash/fp/sortBy.js +5 -0
  1027. package/cli/node_modules/lodash/fp/sortedIndex.js +5 -0
  1028. package/cli/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1029. package/cli/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1030. package/cli/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1031. package/cli/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1032. package/cli/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1033. package/cli/node_modules/lodash/fp/sortedUniq.js +5 -0
  1034. package/cli/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1035. package/cli/node_modules/lodash/fp/split.js +5 -0
  1036. package/cli/node_modules/lodash/fp/spread.js +5 -0
  1037. package/cli/node_modules/lodash/fp/spreadFrom.js +5 -0
  1038. package/cli/node_modules/lodash/fp/startCase.js +5 -0
  1039. package/cli/node_modules/lodash/fp/startsWith.js +5 -0
  1040. package/cli/node_modules/lodash/fp/string.js +2 -0
  1041. package/cli/node_modules/lodash/fp/stubArray.js +5 -0
  1042. package/cli/node_modules/lodash/fp/stubFalse.js +5 -0
  1043. package/cli/node_modules/lodash/fp/stubObject.js +5 -0
  1044. package/cli/node_modules/lodash/fp/stubString.js +5 -0
  1045. package/cli/node_modules/lodash/fp/stubTrue.js +5 -0
  1046. package/cli/node_modules/lodash/fp/subtract.js +5 -0
  1047. package/cli/node_modules/lodash/fp/sum.js +5 -0
  1048. package/cli/node_modules/lodash/fp/sumBy.js +5 -0
  1049. package/cli/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1050. package/cli/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1051. package/cli/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1052. package/cli/node_modules/lodash/fp/tail.js +5 -0
  1053. package/cli/node_modules/lodash/fp/take.js +5 -0
  1054. package/cli/node_modules/lodash/fp/takeLast.js +1 -0
  1055. package/cli/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1056. package/cli/node_modules/lodash/fp/takeRight.js +5 -0
  1057. package/cli/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1058. package/cli/node_modules/lodash/fp/takeWhile.js +5 -0
  1059. package/cli/node_modules/lodash/fp/tap.js +5 -0
  1060. package/cli/node_modules/lodash/fp/template.js +5 -0
  1061. package/cli/node_modules/lodash/fp/templateSettings.js +5 -0
  1062. package/cli/node_modules/lodash/fp/throttle.js +5 -0
  1063. package/cli/node_modules/lodash/fp/thru.js +5 -0
  1064. package/cli/node_modules/lodash/fp/times.js +5 -0
  1065. package/cli/node_modules/lodash/fp/toArray.js +5 -0
  1066. package/cli/node_modules/lodash/fp/toFinite.js +5 -0
  1067. package/cli/node_modules/lodash/fp/toInteger.js +5 -0
  1068. package/cli/node_modules/lodash/fp/toIterator.js +5 -0
  1069. package/cli/node_modules/lodash/fp/toJSON.js +5 -0
  1070. package/cli/node_modules/lodash/fp/toLength.js +5 -0
  1071. package/cli/node_modules/lodash/fp/toLower.js +5 -0
  1072. package/cli/node_modules/lodash/fp/toNumber.js +5 -0
  1073. package/cli/node_modules/lodash/fp/toPairs.js +5 -0
  1074. package/cli/node_modules/lodash/fp/toPairsIn.js +5 -0
  1075. package/cli/node_modules/lodash/fp/toPath.js +5 -0
  1076. package/cli/node_modules/lodash/fp/toPlainObject.js +5 -0
  1077. package/cli/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1078. package/cli/node_modules/lodash/fp/toString.js +5 -0
  1079. package/cli/node_modules/lodash/fp/toUpper.js +5 -0
  1080. package/cli/node_modules/lodash/fp/transform.js +5 -0
  1081. package/cli/node_modules/lodash/fp/trim.js +5 -0
  1082. package/cli/node_modules/lodash/fp/trimChars.js +5 -0
  1083. package/cli/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1084. package/cli/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1085. package/cli/node_modules/lodash/fp/trimEnd.js +5 -0
  1086. package/cli/node_modules/lodash/fp/trimStart.js +5 -0
  1087. package/cli/node_modules/lodash/fp/truncate.js +5 -0
  1088. package/cli/node_modules/lodash/fp/unapply.js +1 -0
  1089. package/cli/node_modules/lodash/fp/unary.js +5 -0
  1090. package/cli/node_modules/lodash/fp/unescape.js +5 -0
  1091. package/cli/node_modules/lodash/fp/union.js +5 -0
  1092. package/cli/node_modules/lodash/fp/unionBy.js +5 -0
  1093. package/cli/node_modules/lodash/fp/unionWith.js +5 -0
  1094. package/cli/node_modules/lodash/fp/uniq.js +5 -0
  1095. package/cli/node_modules/lodash/fp/uniqBy.js +5 -0
  1096. package/cli/node_modules/lodash/fp/uniqWith.js +5 -0
  1097. package/cli/node_modules/lodash/fp/uniqueId.js +5 -0
  1098. package/cli/node_modules/lodash/fp/unnest.js +1 -0
  1099. package/cli/node_modules/lodash/fp/unset.js +5 -0
  1100. package/cli/node_modules/lodash/fp/unzip.js +5 -0
  1101. package/cli/node_modules/lodash/fp/unzipWith.js +5 -0
  1102. package/cli/node_modules/lodash/fp/update.js +5 -0
  1103. package/cli/node_modules/lodash/fp/updateWith.js +5 -0
  1104. package/cli/node_modules/lodash/fp/upperCase.js +5 -0
  1105. package/cli/node_modules/lodash/fp/upperFirst.js +5 -0
  1106. package/cli/node_modules/lodash/fp/useWith.js +1 -0
  1107. package/cli/node_modules/lodash/fp/util.js +2 -0
  1108. package/cli/node_modules/lodash/fp/value.js +5 -0
  1109. package/cli/node_modules/lodash/fp/valueOf.js +5 -0
  1110. package/cli/node_modules/lodash/fp/values.js +5 -0
  1111. package/cli/node_modules/lodash/fp/valuesIn.js +5 -0
  1112. package/cli/node_modules/lodash/fp/where.js +1 -0
  1113. package/cli/node_modules/lodash/fp/whereEq.js +1 -0
  1114. package/cli/node_modules/lodash/fp/without.js +5 -0
  1115. package/cli/node_modules/lodash/fp/words.js +5 -0
  1116. package/cli/node_modules/lodash/fp/wrap.js +5 -0
  1117. package/cli/node_modules/lodash/fp/wrapperAt.js +5 -0
  1118. package/cli/node_modules/lodash/fp/wrapperChain.js +5 -0
  1119. package/cli/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1120. package/cli/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1121. package/cli/node_modules/lodash/fp/wrapperValue.js +5 -0
  1122. package/cli/node_modules/lodash/fp/xor.js +5 -0
  1123. package/cli/node_modules/lodash/fp/xorBy.js +5 -0
  1124. package/cli/node_modules/lodash/fp/xorWith.js +5 -0
  1125. package/cli/node_modules/lodash/fp/zip.js +5 -0
  1126. package/cli/node_modules/lodash/fp/zipAll.js +5 -0
  1127. package/cli/node_modules/lodash/fp/zipObj.js +1 -0
  1128. package/cli/node_modules/lodash/fp/zipObject.js +5 -0
  1129. package/cli/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1130. package/cli/node_modules/lodash/fp/zipWith.js +5 -0
  1131. package/cli/node_modules/lodash/fp.js +2 -0
  1132. package/cli/node_modules/lodash/fromPairs.js +28 -0
  1133. package/cli/node_modules/lodash/function.js +25 -0
  1134. package/cli/node_modules/lodash/functions.js +31 -0
  1135. package/cli/node_modules/lodash/functionsIn.js +31 -0
  1136. package/cli/node_modules/lodash/get.js +33 -0
  1137. package/cli/node_modules/lodash/groupBy.js +41 -0
  1138. package/cli/node_modules/lodash/gt.js +29 -0
  1139. package/cli/node_modules/lodash/gte.js +30 -0
  1140. package/cli/node_modules/lodash/has.js +35 -0
  1141. package/cli/node_modules/lodash/hasIn.js +34 -0
  1142. package/cli/node_modules/lodash/head.js +23 -0
  1143. package/cli/node_modules/lodash/identity.js +21 -0
  1144. package/cli/node_modules/lodash/inRange.js +55 -0
  1145. package/cli/node_modules/lodash/includes.js +53 -0
  1146. package/cli/node_modules/lodash/index.js +1 -0
  1147. package/cli/node_modules/lodash/indexOf.js +42 -0
  1148. package/cli/node_modules/lodash/initial.js +22 -0
  1149. package/cli/node_modules/lodash/intersection.js +30 -0
  1150. package/cli/node_modules/lodash/intersectionBy.js +45 -0
  1151. package/cli/node_modules/lodash/intersectionWith.js +41 -0
  1152. package/cli/node_modules/lodash/invert.js +42 -0
  1153. package/cli/node_modules/lodash/invertBy.js +56 -0
  1154. package/cli/node_modules/lodash/invoke.js +24 -0
  1155. package/cli/node_modules/lodash/invokeMap.js +41 -0
  1156. package/cli/node_modules/lodash/isArguments.js +36 -0
  1157. package/cli/node_modules/lodash/isArray.js +26 -0
  1158. package/cli/node_modules/lodash/isArrayBuffer.js +27 -0
  1159. package/cli/node_modules/lodash/isArrayLike.js +33 -0
  1160. package/cli/node_modules/lodash/isArrayLikeObject.js +33 -0
  1161. package/cli/node_modules/lodash/isBoolean.js +29 -0
  1162. package/cli/node_modules/lodash/isBuffer.js +38 -0
  1163. package/cli/node_modules/lodash/isDate.js +27 -0
  1164. package/cli/node_modules/lodash/isElement.js +25 -0
  1165. package/cli/node_modules/lodash/isEmpty.js +77 -0
  1166. package/cli/node_modules/lodash/isEqual.js +35 -0
  1167. package/cli/node_modules/lodash/isEqualWith.js +41 -0
  1168. package/cli/node_modules/lodash/isError.js +36 -0
  1169. package/cli/node_modules/lodash/isFinite.js +36 -0
  1170. package/cli/node_modules/lodash/isFunction.js +37 -0
  1171. package/cli/node_modules/lodash/isInteger.js +33 -0
  1172. package/cli/node_modules/lodash/isLength.js +35 -0
  1173. package/cli/node_modules/lodash/isMap.js +27 -0
  1174. package/cli/node_modules/lodash/isMatch.js +36 -0
  1175. package/cli/node_modules/lodash/isMatchWith.js +41 -0
  1176. package/cli/node_modules/lodash/isNaN.js +38 -0
  1177. package/cli/node_modules/lodash/isNative.js +40 -0
  1178. package/cli/node_modules/lodash/isNil.js +25 -0
  1179. package/cli/node_modules/lodash/isNull.js +22 -0
  1180. package/cli/node_modules/lodash/isNumber.js +38 -0
  1181. package/cli/node_modules/lodash/isObject.js +31 -0
  1182. package/cli/node_modules/lodash/isObjectLike.js +29 -0
  1183. package/cli/node_modules/lodash/isPlainObject.js +62 -0
  1184. package/cli/node_modules/lodash/isRegExp.js +27 -0
  1185. package/cli/node_modules/lodash/isSafeInteger.js +37 -0
  1186. package/cli/node_modules/lodash/isSet.js +27 -0
  1187. package/cli/node_modules/lodash/isString.js +30 -0
  1188. package/cli/node_modules/lodash/isSymbol.js +29 -0
  1189. package/cli/node_modules/lodash/isTypedArray.js +27 -0
  1190. package/cli/node_modules/lodash/isUndefined.js +22 -0
  1191. package/cli/node_modules/lodash/isWeakMap.js +28 -0
  1192. package/cli/node_modules/lodash/isWeakSet.js +28 -0
  1193. package/cli/node_modules/lodash/iteratee.js +53 -0
  1194. package/cli/node_modules/lodash/join.js +26 -0
  1195. package/cli/node_modules/lodash/kebabCase.js +28 -0
  1196. package/cli/node_modules/lodash/keyBy.js +36 -0
  1197. package/cli/node_modules/lodash/keys.js +37 -0
  1198. package/cli/node_modules/lodash/keysIn.js +32 -0
  1199. package/cli/node_modules/lodash/lang.js +58 -0
  1200. package/cli/node_modules/lodash/last.js +20 -0
  1201. package/cli/node_modules/lodash/lastIndexOf.js +46 -0
  1202. package/cli/node_modules/lodash/lodash.js +17209 -0
  1203. package/cli/node_modules/lodash/lodash.min.js +140 -0
  1204. package/cli/node_modules/lodash/lowerCase.js +27 -0
  1205. package/cli/node_modules/lodash/lowerFirst.js +22 -0
  1206. package/cli/node_modules/lodash/lt.js +29 -0
  1207. package/cli/node_modules/lodash/lte.js +30 -0
  1208. package/cli/node_modules/lodash/map.js +53 -0
  1209. package/cli/node_modules/lodash/mapKeys.js +36 -0
  1210. package/cli/node_modules/lodash/mapValues.js +43 -0
  1211. package/cli/node_modules/lodash/matches.js +46 -0
  1212. package/cli/node_modules/lodash/matchesProperty.js +44 -0
  1213. package/cli/node_modules/lodash/math.js +17 -0
  1214. package/cli/node_modules/lodash/max.js +29 -0
  1215. package/cli/node_modules/lodash/maxBy.js +34 -0
  1216. package/cli/node_modules/lodash/mean.js +22 -0
  1217. package/cli/node_modules/lodash/meanBy.js +31 -0
  1218. package/cli/node_modules/lodash/memoize.js +73 -0
  1219. package/cli/node_modules/lodash/merge.js +39 -0
  1220. package/cli/node_modules/lodash/mergeWith.js +39 -0
  1221. package/cli/node_modules/lodash/method.js +34 -0
  1222. package/cli/node_modules/lodash/methodOf.js +33 -0
  1223. package/cli/node_modules/lodash/min.js +29 -0
  1224. package/cli/node_modules/lodash/minBy.js +34 -0
  1225. package/cli/node_modules/lodash/mixin.js +74 -0
  1226. package/cli/node_modules/lodash/multiply.js +22 -0
  1227. package/cli/node_modules/lodash/negate.js +40 -0
  1228. package/cli/node_modules/lodash/next.js +35 -0
  1229. package/cli/node_modules/lodash/noop.js +17 -0
  1230. package/cli/node_modules/lodash/now.js +23 -0
  1231. package/cli/node_modules/lodash/nth.js +29 -0
  1232. package/cli/node_modules/lodash/nthArg.js +32 -0
  1233. package/cli/node_modules/lodash/number.js +5 -0
  1234. package/cli/node_modules/lodash/object.js +49 -0
  1235. package/cli/node_modules/lodash/omit.js +57 -0
  1236. package/cli/node_modules/lodash/omitBy.js +29 -0
  1237. package/cli/node_modules/lodash/once.js +25 -0
  1238. package/cli/node_modules/lodash/orderBy.js +47 -0
  1239. package/cli/node_modules/lodash/over.js +24 -0
  1240. package/cli/node_modules/lodash/overArgs.js +61 -0
  1241. package/cli/node_modules/lodash/overEvery.js +34 -0
  1242. package/cli/node_modules/lodash/overSome.js +37 -0
  1243. package/cli/node_modules/lodash/package.json +17 -0
  1244. package/cli/node_modules/lodash/pad.js +49 -0
  1245. package/cli/node_modules/lodash/padEnd.js +39 -0
  1246. package/cli/node_modules/lodash/padStart.js +39 -0
  1247. package/cli/node_modules/lodash/parseInt.js +43 -0
  1248. package/cli/node_modules/lodash/partial.js +50 -0
  1249. package/cli/node_modules/lodash/partialRight.js +49 -0
  1250. package/cli/node_modules/lodash/partition.js +43 -0
  1251. package/cli/node_modules/lodash/pick.js +25 -0
  1252. package/cli/node_modules/lodash/pickBy.js +37 -0
  1253. package/cli/node_modules/lodash/plant.js +48 -0
  1254. package/cli/node_modules/lodash/property.js +32 -0
  1255. package/cli/node_modules/lodash/propertyOf.js +30 -0
  1256. package/cli/node_modules/lodash/pull.js +29 -0
  1257. package/cli/node_modules/lodash/pullAll.js +29 -0
  1258. package/cli/node_modules/lodash/pullAllBy.js +33 -0
  1259. package/cli/node_modules/lodash/pullAllWith.js +32 -0
  1260. package/cli/node_modules/lodash/pullAt.js +43 -0
  1261. package/cli/node_modules/lodash/random.js +82 -0
  1262. package/cli/node_modules/lodash/range.js +46 -0
  1263. package/cli/node_modules/lodash/rangeRight.js +41 -0
  1264. package/cli/node_modules/lodash/rearg.js +33 -0
  1265. package/cli/node_modules/lodash/reduce.js +51 -0
  1266. package/cli/node_modules/lodash/reduceRight.js +36 -0
  1267. package/cli/node_modules/lodash/reject.js +46 -0
  1268. package/cli/node_modules/lodash/release.md +48 -0
  1269. package/cli/node_modules/lodash/remove.js +53 -0
  1270. package/cli/node_modules/lodash/repeat.js +37 -0
  1271. package/cli/node_modules/lodash/replace.js +29 -0
  1272. package/cli/node_modules/lodash/rest.js +40 -0
  1273. package/cli/node_modules/lodash/result.js +56 -0
  1274. package/cli/node_modules/lodash/reverse.js +34 -0
  1275. package/cli/node_modules/lodash/round.js +26 -0
  1276. package/cli/node_modules/lodash/sample.js +24 -0
  1277. package/cli/node_modules/lodash/sampleSize.js +37 -0
  1278. package/cli/node_modules/lodash/seq.js +16 -0
  1279. package/cli/node_modules/lodash/set.js +35 -0
  1280. package/cli/node_modules/lodash/setWith.js +32 -0
  1281. package/cli/node_modules/lodash/shuffle.js +25 -0
  1282. package/cli/node_modules/lodash/size.js +46 -0
  1283. package/cli/node_modules/lodash/slice.js +37 -0
  1284. package/cli/node_modules/lodash/snakeCase.js +28 -0
  1285. package/cli/node_modules/lodash/some.js +51 -0
  1286. package/cli/node_modules/lodash/sortBy.js +48 -0
  1287. package/cli/node_modules/lodash/sortedIndex.js +24 -0
  1288. package/cli/node_modules/lodash/sortedIndexBy.js +33 -0
  1289. package/cli/node_modules/lodash/sortedIndexOf.js +31 -0
  1290. package/cli/node_modules/lodash/sortedLastIndex.js +25 -0
  1291. package/cli/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1292. package/cli/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1293. package/cli/node_modules/lodash/sortedUniq.js +24 -0
  1294. package/cli/node_modules/lodash/sortedUniqBy.js +26 -0
  1295. package/cli/node_modules/lodash/split.js +52 -0
  1296. package/cli/node_modules/lodash/spread.js +63 -0
  1297. package/cli/node_modules/lodash/startCase.js +29 -0
  1298. package/cli/node_modules/lodash/startsWith.js +39 -0
  1299. package/cli/node_modules/lodash/string.js +33 -0
  1300. package/cli/node_modules/lodash/stubArray.js +23 -0
  1301. package/cli/node_modules/lodash/stubFalse.js +18 -0
  1302. package/cli/node_modules/lodash/stubObject.js +23 -0
  1303. package/cli/node_modules/lodash/stubString.js +18 -0
  1304. package/cli/node_modules/lodash/stubTrue.js +18 -0
  1305. package/cli/node_modules/lodash/subtract.js +22 -0
  1306. package/cli/node_modules/lodash/sum.js +24 -0
  1307. package/cli/node_modules/lodash/sumBy.js +33 -0
  1308. package/cli/node_modules/lodash/tail.js +22 -0
  1309. package/cli/node_modules/lodash/take.js +37 -0
  1310. package/cli/node_modules/lodash/takeRight.js +39 -0
  1311. package/cli/node_modules/lodash/takeRightWhile.js +45 -0
  1312. package/cli/node_modules/lodash/takeWhile.js +45 -0
  1313. package/cli/node_modules/lodash/tap.js +29 -0
  1314. package/cli/node_modules/lodash/template.js +272 -0
  1315. package/cli/node_modules/lodash/templateSettings.js +67 -0
  1316. package/cli/node_modules/lodash/throttle.js +69 -0
  1317. package/cli/node_modules/lodash/thru.js +28 -0
  1318. package/cli/node_modules/lodash/times.js +51 -0
  1319. package/cli/node_modules/lodash/toArray.js +58 -0
  1320. package/cli/node_modules/lodash/toFinite.js +42 -0
  1321. package/cli/node_modules/lodash/toInteger.js +36 -0
  1322. package/cli/node_modules/lodash/toIterator.js +23 -0
  1323. package/cli/node_modules/lodash/toJSON.js +1 -0
  1324. package/cli/node_modules/lodash/toLength.js +38 -0
  1325. package/cli/node_modules/lodash/toLower.js +28 -0
  1326. package/cli/node_modules/lodash/toNumber.js +64 -0
  1327. package/cli/node_modules/lodash/toPairs.js +30 -0
  1328. package/cli/node_modules/lodash/toPairsIn.js +30 -0
  1329. package/cli/node_modules/lodash/toPath.js +33 -0
  1330. package/cli/node_modules/lodash/toPlainObject.js +32 -0
  1331. package/cli/node_modules/lodash/toSafeInteger.js +37 -0
  1332. package/cli/node_modules/lodash/toString.js +28 -0
  1333. package/cli/node_modules/lodash/toUpper.js +28 -0
  1334. package/cli/node_modules/lodash/transform.js +65 -0
  1335. package/cli/node_modules/lodash/trim.js +47 -0
  1336. package/cli/node_modules/lodash/trimEnd.js +41 -0
  1337. package/cli/node_modules/lodash/trimStart.js +43 -0
  1338. package/cli/node_modules/lodash/truncate.js +111 -0
  1339. package/cli/node_modules/lodash/unary.js +22 -0
  1340. package/cli/node_modules/lodash/unescape.js +34 -0
  1341. package/cli/node_modules/lodash/union.js +26 -0
  1342. package/cli/node_modules/lodash/unionBy.js +39 -0
  1343. package/cli/node_modules/lodash/unionWith.js +34 -0
  1344. package/cli/node_modules/lodash/uniq.js +25 -0
  1345. package/cli/node_modules/lodash/uniqBy.js +31 -0
  1346. package/cli/node_modules/lodash/uniqWith.js +28 -0
  1347. package/cli/node_modules/lodash/uniqueId.js +28 -0
  1348. package/cli/node_modules/lodash/unset.js +34 -0
  1349. package/cli/node_modules/lodash/unzip.js +45 -0
  1350. package/cli/node_modules/lodash/unzipWith.js +39 -0
  1351. package/cli/node_modules/lodash/update.js +35 -0
  1352. package/cli/node_modules/lodash/updateWith.js +33 -0
  1353. package/cli/node_modules/lodash/upperCase.js +27 -0
  1354. package/cli/node_modules/lodash/upperFirst.js +22 -0
  1355. package/cli/node_modules/lodash/util.js +34 -0
  1356. package/cli/node_modules/lodash/value.js +1 -0
  1357. package/cli/node_modules/lodash/valueOf.js +1 -0
  1358. package/cli/node_modules/lodash/values.js +34 -0
  1359. package/cli/node_modules/lodash/valuesIn.js +32 -0
  1360. package/cli/node_modules/lodash/without.js +31 -0
  1361. package/cli/node_modules/lodash/words.js +35 -0
  1362. package/cli/node_modules/lodash/wrap.js +30 -0
  1363. package/cli/node_modules/lodash/wrapperAt.js +48 -0
  1364. package/cli/node_modules/lodash/wrapperChain.js +34 -0
  1365. package/cli/node_modules/lodash/wrapperLodash.js +147 -0
  1366. package/cli/node_modules/lodash/wrapperReverse.js +44 -0
  1367. package/cli/node_modules/lodash/wrapperValue.js +21 -0
  1368. package/cli/node_modules/lodash/xor.js +28 -0
  1369. package/cli/node_modules/lodash/xorBy.js +39 -0
  1370. package/cli/node_modules/lodash/xorWith.js +34 -0
  1371. package/cli/node_modules/lodash/zip.js +22 -0
  1372. package/cli/node_modules/lodash/zipObject.js +24 -0
  1373. package/cli/node_modules/lodash/zipObjectDeep.js +23 -0
  1374. package/cli/node_modules/lodash/zipWith.js +32 -0
  1375. package/cli/node_modules/{levn → markdown-it}/LICENSE +1 -1
  1376. package/cli/node_modules/markdown-it/README.md +307 -0
  1377. package/cli/node_modules/markdown-it/bin/markdown-it.js +117 -0
  1378. package/cli/node_modules/markdown-it/dist/markdown-it.js +8356 -0
  1379. package/cli/node_modules/markdown-it/dist/markdown-it.min.js +3 -0
  1380. package/cli/node_modules/markdown-it/index.js +4 -0
  1381. package/cli/node_modules/markdown-it/lib/common/entities.js +6 -0
  1382. package/cli/node_modules/markdown-it/lib/common/html_blocks.js +70 -0
  1383. package/cli/node_modules/markdown-it/lib/common/html_re.js +28 -0
  1384. package/cli/node_modules/markdown-it/lib/common/utils.js +317 -0
  1385. package/cli/node_modules/markdown-it/lib/helpers/index.js +7 -0
  1386. package/cli/node_modules/markdown-it/lib/helpers/parse_link_destination.js +82 -0
  1387. package/cli/node_modules/markdown-it/lib/helpers/parse_link_label.js +48 -0
  1388. package/cli/node_modules/markdown-it/lib/helpers/parse_link_title.js +55 -0
  1389. package/cli/node_modules/markdown-it/lib/index.js +582 -0
  1390. package/cli/node_modules/markdown-it/lib/parser_block.js +122 -0
  1391. package/cli/node_modules/markdown-it/lib/parser_core.js +58 -0
  1392. package/cli/node_modules/markdown-it/lib/parser_inline.js +177 -0
  1393. package/cli/node_modules/markdown-it/lib/presets/commonmark.js +80 -0
  1394. package/cli/node_modules/markdown-it/lib/presets/default.js +41 -0
  1395. package/cli/node_modules/markdown-it/lib/presets/zero.js +62 -0
  1396. package/cli/node_modules/markdown-it/lib/renderer.js +341 -0
  1397. package/cli/node_modules/markdown-it/lib/ruler.js +352 -0
  1398. package/cli/node_modules/markdown-it/lib/rules_block/blockquote.js +284 -0
  1399. package/cli/node_modules/markdown-it/lib/rules_block/code.js +34 -0
  1400. package/cli/node_modules/markdown-it/lib/rules_block/fence.js +98 -0
  1401. package/cli/node_modules/markdown-it/lib/rules_block/heading.js +55 -0
  1402. package/cli/node_modules/markdown-it/lib/rules_block/hr.js +45 -0
  1403. package/cli/node_modules/markdown-it/lib/rules_block/html_block.js +74 -0
  1404. package/cli/node_modules/markdown-it/lib/rules_block/lheading.js +83 -0
  1405. package/cli/node_modules/markdown-it/lib/rules_block/list.js +364 -0
  1406. package/cli/node_modules/markdown-it/lib/rules_block/paragraph.js +52 -0
  1407. package/cli/node_modules/markdown-it/lib/rules_block/reference.js +198 -0
  1408. package/cli/node_modules/markdown-it/lib/rules_block/state_block.js +231 -0
  1409. package/cli/node_modules/markdown-it/lib/rules_block/table.js +221 -0
  1410. package/cli/node_modules/markdown-it/lib/rules_core/block.js +16 -0
  1411. package/cli/node_modules/markdown-it/lib/rules_core/inline.js +13 -0
  1412. package/cli/node_modules/markdown-it/lib/rules_core/linkify.js +133 -0
  1413. package/cli/node_modules/markdown-it/lib/rules_core/normalize.js +21 -0
  1414. package/cli/node_modules/markdown-it/lib/rules_core/replacements.js +107 -0
  1415. package/cli/node_modules/markdown-it/lib/rules_core/smartquotes.js +201 -0
  1416. package/cli/node_modules/markdown-it/lib/rules_core/state_core.js +20 -0
  1417. package/cli/node_modules/markdown-it/lib/rules_inline/autolink.js +76 -0
  1418. package/cli/node_modules/markdown-it/lib/rules_inline/backticks.js +63 -0
  1419. package/cli/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +130 -0
  1420. package/cli/node_modules/markdown-it/lib/rules_inline/emphasis.js +130 -0
  1421. package/cli/node_modules/markdown-it/lib/rules_inline/entity.js +48 -0
  1422. package/cli/node_modules/markdown-it/lib/rules_inline/escape.js +52 -0
  1423. package/cli/node_modules/markdown-it/lib/rules_inline/html_inline.js +47 -0
  1424. package/cli/node_modules/markdown-it/lib/rules_inline/image.js +152 -0
  1425. package/cli/node_modules/markdown-it/lib/rules_inline/link.js +148 -0
  1426. package/cli/node_modules/markdown-it/lib/rules_inline/newline.js +46 -0
  1427. package/cli/node_modules/markdown-it/lib/rules_inline/state_inline.js +154 -0
  1428. package/cli/node_modules/markdown-it/lib/rules_inline/strikethrough.js +130 -0
  1429. package/cli/node_modules/markdown-it/lib/rules_inline/text.js +89 -0
  1430. package/cli/node_modules/markdown-it/lib/rules_inline/text_collapse.js +41 -0
  1431. package/cli/node_modules/markdown-it/lib/token.js +201 -0
  1432. package/cli/node_modules/markdown-it/package.json +87 -0
  1433. package/cli/node_modules/markdown-it-anchor/README.md +561 -0
  1434. package/cli/node_modules/markdown-it-anchor/UNLICENSE +24 -0
  1435. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.js +2 -0
  1436. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.js.map +1 -0
  1437. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.mjs +2 -0
  1438. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.mjs.map +1 -0
  1439. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.modern.js +2 -0
  1440. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.modern.js.map +1 -0
  1441. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.umd.js +2 -0
  1442. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.umd.js.map +1 -0
  1443. package/cli/node_modules/markdown-it-anchor/package.json +53 -0
  1444. package/cli/node_modules/markdown-it-anchor/runkit.js +22 -0
  1445. package/cli/node_modules/markdown-it-anchor/types/index.d.ts +71 -0
  1446. package/cli/node_modules/marked/LICENSE.md +44 -0
  1447. package/cli/node_modules/marked/README.md +98 -0
  1448. package/cli/node_modules/marked/bin/marked.js +217 -0
  1449. package/cli/node_modules/marked/lib/marked.cjs +3056 -0
  1450. package/cli/node_modules/marked/lib/marked.esm.js +2796 -0
  1451. package/cli/node_modules/marked/lib/marked.umd.js +3062 -0
  1452. package/cli/node_modules/marked/man/marked.1 +92 -0
  1453. package/cli/node_modules/marked/man/marked.1.txt +86 -0
  1454. package/cli/node_modules/marked/marked.min.js +6 -0
  1455. package/cli/node_modules/marked/package.json +97 -0
  1456. package/cli/node_modules/marked/src/Lexer.js +502 -0
  1457. package/cli/node_modules/marked/src/Parser.js +286 -0
  1458. package/cli/node_modules/marked/src/Renderer.js +203 -0
  1459. package/cli/node_modules/marked/src/Slugger.js +55 -0
  1460. package/cli/node_modules/marked/src/TextRenderer.js +42 -0
  1461. package/cli/node_modules/marked/src/Tokenizer.js +785 -0
  1462. package/cli/node_modules/marked/src/defaults.js +29 -0
  1463. package/cli/node_modules/marked/src/helpers.js +276 -0
  1464. package/cli/node_modules/marked/src/marked.js +351 -0
  1465. package/cli/node_modules/marked/src/rules.js +302 -0
  1466. package/cli/node_modules/mdurl/CHANGELOG.md +16 -0
  1467. package/cli/node_modules/mdurl/LICENSE +45 -0
  1468. package/cli/node_modules/mdurl/README.md +102 -0
  1469. package/cli/node_modules/mdurl/decode.js +122 -0
  1470. package/cli/node_modules/mdurl/encode.js +98 -0
  1471. package/cli/node_modules/mdurl/format.js +25 -0
  1472. package/cli/node_modules/mdurl/index.js +7 -0
  1473. package/cli/node_modules/mdurl/package.json +16 -0
  1474. package/cli/node_modules/mdurl/parse.js +312 -0
  1475. package/cli/node_modules/minimatch/README.md +22 -1
  1476. package/cli/node_modules/minimatch/minimatch.js +93 -69
  1477. package/cli/node_modules/minimatch/package.json +6 -3
  1478. package/cli/node_modules/mkdirp/CHANGELOG.md +15 -0
  1479. package/cli/node_modules/mkdirp/LICENSE +21 -0
  1480. package/cli/node_modules/mkdirp/bin/cmd.js +68 -0
  1481. package/cli/node_modules/mkdirp/index.js +31 -0
  1482. package/cli/node_modules/mkdirp/lib/find-made.js +29 -0
  1483. package/cli/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
  1484. package/cli/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
  1485. package/cli/node_modules/mkdirp/lib/opts-arg.js +23 -0
  1486. package/cli/node_modules/mkdirp/lib/path-arg.js +29 -0
  1487. package/cli/node_modules/mkdirp/lib/use-native.js +10 -0
  1488. package/cli/node_modules/mkdirp/package.json +44 -0
  1489. package/cli/node_modules/mkdirp/readme.markdown +266 -0
  1490. package/cli/node_modules/requizzle/.editorconfig +12 -0
  1491. package/cli/node_modules/requizzle/.travis.yml +8 -0
  1492. package/cli/node_modules/requizzle/LICENSE +22 -0
  1493. package/cli/node_modules/requizzle/README.md +171 -0
  1494. package/cli/node_modules/requizzle/index.js +28 -0
  1495. package/cli/node_modules/requizzle/lib/loader.js +165 -0
  1496. package/cli/node_modules/requizzle/lib/requizzle.js +93 -0
  1497. package/cli/node_modules/requizzle/lib/wrappers/extras.js +21 -0
  1498. package/cli/node_modules/requizzle/lib/wrappers/requirepaths.js +46 -0
  1499. package/cli/node_modules/requizzle/lib/wrappers/strict.js +13 -0
  1500. package/cli/node_modules/requizzle/package.json +36 -0
  1501. package/cli/node_modules/strip-json-comments/index.d.ts +36 -0
  1502. package/cli/node_modules/strip-json-comments/index.js +77 -0
  1503. package/cli/node_modules/strip-json-comments/license +9 -0
  1504. package/cli/node_modules/strip-json-comments/package.json +47 -0
  1505. package/cli/node_modules/strip-json-comments/readme.md +78 -0
  1506. package/cli/node_modules/taffydb/package.json +47 -0
  1507. package/cli/node_modules/taffydb/taffy-test.html +84 -0
  1508. package/cli/node_modules/taffydb/taffy.js +1973 -0
  1509. package/cli/node_modules/uc.micro/CHANGELOG.md +52 -0
  1510. package/cli/node_modules/uc.micro/LICENSE.txt +20 -0
  1511. package/cli/node_modules/uc.micro/README.md +14 -0
  1512. package/cli/node_modules/uc.micro/categories/Cc/regex.js +1 -0
  1513. package/cli/node_modules/uc.micro/categories/Cf/regex.js +1 -0
  1514. package/cli/node_modules/uc.micro/categories/P/regex.js +1 -0
  1515. package/cli/node_modules/uc.micro/categories/Z/regex.js +1 -0
  1516. package/cli/node_modules/uc.micro/index.js +7 -0
  1517. package/cli/node_modules/uc.micro/package.json +21 -0
  1518. package/cli/node_modules/uc.micro/properties/Any/regex.js +1 -0
  1519. package/cli/node_modules/{type-check → underscore}/LICENSE +1 -1
  1520. package/cli/node_modules/underscore/README.md +34 -0
  1521. package/cli/node_modules/underscore/amd/_baseCreate.js +21 -0
  1522. package/cli/node_modules/underscore/amd/_baseIteratee.js +15 -0
  1523. package/cli/node_modules/underscore/amd/_cb.js +12 -0
  1524. package/cli/node_modules/underscore/amd/_chainResult.js +10 -0
  1525. package/cli/node_modules/underscore/amd/_collectNonEnumProps.js +42 -0
  1526. package/cli/node_modules/underscore/amd/_createAssigner.js +24 -0
  1527. package/cli/node_modules/underscore/amd/_createEscaper.js +21 -0
  1528. package/cli/node_modules/underscore/amd/_createIndexFinder.js +30 -0
  1529. package/cli/node_modules/underscore/amd/_createPredicateIndexFinder.js +18 -0
  1530. package/cli/node_modules/underscore/amd/_createReduce.js +30 -0
  1531. package/cli/node_modules/underscore/amd/_createSizePropertyCheck.js +13 -0
  1532. package/cli/node_modules/underscore/amd/_deepGet.js +15 -0
  1533. package/cli/node_modules/underscore/amd/_escapeMap.js +15 -0
  1534. package/cli/node_modules/underscore/amd/_executeBound.js +16 -0
  1535. package/cli/node_modules/underscore/amd/_flatten.js +32 -0
  1536. package/cli/node_modules/underscore/amd/_getByteLength.js +8 -0
  1537. package/cli/node_modules/underscore/amd/_getLength.js +8 -0
  1538. package/cli/node_modules/underscore/amd/_group.js +18 -0
  1539. package/cli/node_modules/underscore/amd/_has.js +10 -0
  1540. package/cli/node_modules/underscore/amd/_hasObjectTag.js +7 -0
  1541. package/cli/node_modules/underscore/amd/_isArrayLike.js +11 -0
  1542. package/cli/node_modules/underscore/amd/_isBufferLike.js +9 -0
  1543. package/cli/node_modules/underscore/amd/_keyInObj.js +11 -0
  1544. package/cli/node_modules/underscore/amd/_methodFingerprint.js +44 -0
  1545. package/cli/node_modules/underscore/amd/_optimizeCb.js +27 -0
  1546. package/cli/node_modules/underscore/amd/_setup.js +70 -0
  1547. package/cli/node_modules/underscore/amd/_shallowProperty.js +12 -0
  1548. package/cli/node_modules/underscore/amd/_stringTagBug.js +16 -0
  1549. package/cli/node_modules/underscore/amd/_tagTester.js +13 -0
  1550. package/cli/node_modules/underscore/amd/_toBufferView.js +15 -0
  1551. package/cli/node_modules/underscore/amd/_toPath.js +11 -0
  1552. package/cli/node_modules/underscore/amd/_unescapeMap.js +8 -0
  1553. package/cli/node_modules/underscore/amd/after.js +14 -0
  1554. package/cli/node_modules/underscore/amd/allKeys.js +15 -0
  1555. package/cli/node_modules/underscore/amd/before.js +18 -0
  1556. package/cli/node_modules/underscore/amd/bind.js +15 -0
  1557. package/cli/node_modules/underscore/amd/bindAll.js +19 -0
  1558. package/cli/node_modules/underscore/amd/chain.js +12 -0
  1559. package/cli/node_modules/underscore/amd/chunk.js +17 -0
  1560. package/cli/node_modules/underscore/amd/clone.js +11 -0
  1561. package/cli/node_modules/underscore/amd/compact.js +10 -0
  1562. package/cli/node_modules/underscore/amd/compose.js +18 -0
  1563. package/cli/node_modules/underscore/amd/constant.js +12 -0
  1564. package/cli/node_modules/underscore/amd/contains.js +12 -0
  1565. package/cli/node_modules/underscore/amd/countBy.js +12 -0
  1566. package/cli/node_modules/underscore/amd/create.js +14 -0
  1567. package/cli/node_modules/underscore/amd/debounce.js +43 -0
  1568. package/cli/node_modules/underscore/amd/defaults.js +8 -0
  1569. package/cli/node_modules/underscore/amd/defer.js +9 -0
  1570. package/cli/node_modules/underscore/amd/delay.js +13 -0
  1571. package/cli/node_modules/underscore/amd/difference.js +14 -0
  1572. package/cli/node_modules/underscore/amd/each.js +25 -0
  1573. package/cli/node_modules/underscore/amd/escape.js +8 -0
  1574. package/cli/node_modules/underscore/amd/every.js +17 -0
  1575. package/cli/node_modules/underscore/amd/extend.js +8 -0
  1576. package/cli/node_modules/underscore/amd/extendOwn.js +10 -0
  1577. package/cli/node_modules/underscore/amd/filter.js +15 -0
  1578. package/cli/node_modules/underscore/amd/find.js +12 -0
  1579. package/cli/node_modules/underscore/amd/findIndex.js +8 -0
  1580. package/cli/node_modules/underscore/amd/findKey.js +15 -0
  1581. package/cli/node_modules/underscore/amd/findLastIndex.js +8 -0
  1582. package/cli/node_modules/underscore/amd/findWhere.js +11 -0
  1583. package/cli/node_modules/underscore/amd/first.js +13 -0
  1584. package/cli/node_modules/underscore/amd/flatten.js +11 -0
  1585. package/cli/node_modules/underscore/amd/functions.js +14 -0
  1586. package/cli/node_modules/underscore/amd/get.js +14 -0
  1587. package/cli/node_modules/underscore/amd/groupBy.js +11 -0
  1588. package/cli/node_modules/underscore/amd/has.js +19 -0
  1589. package/cli/node_modules/underscore/amd/identity.js +10 -0
  1590. package/cli/node_modules/underscore/amd/index-default.js +12 -0
  1591. package/cli/node_modules/underscore/amd/index.js +154 -0
  1592. package/cli/node_modules/underscore/amd/indexBy.js +11 -0
  1593. package/cli/node_modules/underscore/amd/indexOf.js +11 -0
  1594. package/cli/node_modules/underscore/amd/initial.js +12 -0
  1595. package/cli/node_modules/underscore/amd/intersection.js +22 -0
  1596. package/cli/node_modules/underscore/amd/invert.js +15 -0
  1597. package/cli/node_modules/underscore/amd/invoke.js +28 -0
  1598. package/cli/node_modules/underscore/amd/isArguments.js +19 -0
  1599. package/cli/node_modules/underscore/amd/isArray.js +9 -0
  1600. package/cli/node_modules/underscore/amd/isArrayBuffer.js +7 -0
  1601. package/cli/node_modules/underscore/amd/isBoolean.js +10 -0
  1602. package/cli/node_modules/underscore/amd/isDataView.js +15 -0
  1603. package/cli/node_modules/underscore/amd/isDate.js +7 -0
  1604. package/cli/node_modules/underscore/amd/isElement.js +10 -0
  1605. package/cli/node_modules/underscore/amd/isEmpty.js +18 -0
  1606. package/cli/node_modules/underscore/amd/isEqual.js +133 -0
  1607. package/cli/node_modules/underscore/amd/isError.js +7 -0
  1608. package/cli/node_modules/underscore/amd/isFinite.js +10 -0
  1609. package/cli/node_modules/underscore/amd/isFunction.js +18 -0
  1610. package/cli/node_modules/underscore/amd/isMap.js +7 -0
  1611. package/cli/node_modules/underscore/amd/isMatch.js +17 -0
  1612. package/cli/node_modules/underscore/amd/isNaN.js +10 -0
  1613. package/cli/node_modules/underscore/amd/isNull.js +10 -0
  1614. package/cli/node_modules/underscore/amd/isNumber.js +7 -0
  1615. package/cli/node_modules/underscore/amd/isObject.js +11 -0
  1616. package/cli/node_modules/underscore/amd/isRegExp.js +7 -0
  1617. package/cli/node_modules/underscore/amd/isSet.js +7 -0
  1618. package/cli/node_modules/underscore/amd/isString.js +7 -0
  1619. package/cli/node_modules/underscore/amd/isSymbol.js +7 -0
  1620. package/cli/node_modules/underscore/amd/isTypedArray.js +16 -0
  1621. package/cli/node_modules/underscore/amd/isUndefined.js +10 -0
  1622. package/cli/node_modules/underscore/amd/isWeakMap.js +7 -0
  1623. package/cli/node_modules/underscore/amd/isWeakSet.js +7 -0
  1624. package/cli/node_modules/underscore/amd/iteratee.js +13 -0
  1625. package/cli/node_modules/underscore/amd/keys.js +17 -0
  1626. package/cli/node_modules/underscore/amd/last.js +13 -0
  1627. package/cli/node_modules/underscore/amd/lastIndexOf.js +9 -0
  1628. package/cli/node_modules/underscore/amd/map.js +18 -0
  1629. package/cli/node_modules/underscore/amd/mapObject.js +19 -0
  1630. package/cli/node_modules/underscore/amd/matcher.js +14 -0
  1631. package/cli/node_modules/underscore/amd/max.js +30 -0
  1632. package/cli/node_modules/underscore/amd/memoize.js +17 -0
  1633. package/cli/node_modules/underscore/amd/min.js +30 -0
  1634. package/cli/node_modules/underscore/amd/mixin.js +18 -0
  1635. package/cli/node_modules/underscore/amd/negate.js +12 -0
  1636. package/cli/node_modules/underscore/amd/noop.js +8 -0
  1637. package/cli/node_modules/underscore/amd/now.js +10 -0
  1638. package/cli/node_modules/underscore/amd/object.js +20 -0
  1639. package/cli/node_modules/underscore/amd/omit.js +20 -0
  1640. package/cli/node_modules/underscore/amd/once.js +9 -0
  1641. package/cli/node_modules/underscore/amd/pairs.js +17 -0
  1642. package/cli/node_modules/underscore/amd/partial.js +25 -0
  1643. package/cli/node_modules/underscore/amd/partition.js +11 -0
  1644. package/cli/node_modules/underscore/amd/pick.js +25 -0
  1645. package/cli/node_modules/underscore/amd/pluck.js +10 -0
  1646. package/cli/node_modules/underscore/amd/property.js +14 -0
  1647. package/cli/node_modules/underscore/amd/propertyOf.js +13 -0
  1648. package/cli/node_modules/underscore/amd/random.js +14 -0
  1649. package/cli/node_modules/underscore/amd/range.js +27 -0
  1650. package/cli/node_modules/underscore/amd/reduce.js +9 -0
  1651. package/cli/node_modules/underscore/amd/reduceRight.js +8 -0
  1652. package/cli/node_modules/underscore/amd/reject.js +10 -0
  1653. package/cli/node_modules/underscore/amd/rest.js +12 -0
  1654. package/cli/node_modules/underscore/amd/restArguments.js +33 -0
  1655. package/cli/node_modules/underscore/amd/result.js +25 -0
  1656. package/cli/node_modules/underscore/amd/sample.js +27 -0
  1657. package/cli/node_modules/underscore/amd/shuffle.js +10 -0
  1658. package/cli/node_modules/underscore/amd/size.js +11 -0
  1659. package/cli/node_modules/underscore/amd/some.js +17 -0
  1660. package/cli/node_modules/underscore/amd/sortBy.js +26 -0
  1661. package/cli/node_modules/underscore/amd/sortedIndex.js +18 -0
  1662. package/cli/node_modules/underscore/amd/tap.js +13 -0
  1663. package/cli/node_modules/underscore/amd/template.js +103 -0
  1664. package/cli/node_modules/underscore/amd/templateSettings.js +13 -0
  1665. package/cli/node_modules/underscore/amd/throttle.js +51 -0
  1666. package/cli/node_modules/underscore/amd/times.js +13 -0
  1667. package/cli/node_modules/underscore/amd/toArray.js +18 -0
  1668. package/cli/node_modules/underscore/amd/toPath.js +12 -0
  1669. package/cli/node_modules/underscore/amd/underscore-array-methods.js +30 -0
  1670. package/cli/node_modules/underscore/amd/underscore.js +29 -0
  1671. package/cli/node_modules/underscore/amd/unescape.js +8 -0
  1672. package/cli/node_modules/underscore/amd/union.js +11 -0
  1673. package/cli/node_modules/underscore/amd/uniq.js +37 -0
  1674. package/cli/node_modules/underscore/amd/uniqueId.js +13 -0
  1675. package/cli/node_modules/underscore/amd/unzip.js +17 -0
  1676. package/cli/node_modules/underscore/amd/values.js +16 -0
  1677. package/cli/node_modules/underscore/amd/where.js +11 -0
  1678. package/cli/node_modules/underscore/amd/without.js +10 -0
  1679. package/cli/node_modules/underscore/amd/wrap.js +12 -0
  1680. package/cli/node_modules/underscore/amd/zip.js +9 -0
  1681. package/cli/node_modules/underscore/cjs/_baseCreate.js +20 -0
  1682. package/cli/node_modules/underscore/cjs/_baseIteratee.js +19 -0
  1683. package/cli/node_modules/underscore/cjs/_cb.js +12 -0
  1684. package/cli/node_modules/underscore/cjs/_chainResult.js +8 -0
  1685. package/cli/node_modules/underscore/cjs/_collectNonEnumProps.js +42 -0
  1686. package/cli/node_modules/underscore/cjs/_createAssigner.js +20 -0
  1687. package/cli/node_modules/underscore/cjs/_createEscaper.js +19 -0
  1688. package/cli/node_modules/underscore/cjs/_createIndexFinder.js +30 -0
  1689. package/cli/node_modules/underscore/cjs/_createPredicateIndexFinder.js +17 -0
  1690. package/cli/node_modules/underscore/cjs/_createReduce.js +30 -0
  1691. package/cli/node_modules/underscore/cjs/_createSizePropertyCheck.js +11 -0
  1692. package/cli/node_modules/underscore/cjs/_deepGet.js +11 -0
  1693. package/cli/node_modules/underscore/cjs/_escapeMap.js +11 -0
  1694. package/cli/node_modules/underscore/cjs/_executeBound.js +15 -0
  1695. package/cli/node_modules/underscore/cjs/_flatten.js +33 -0
  1696. package/cli/node_modules/underscore/cjs/_getByteLength.js +6 -0
  1697. package/cli/node_modules/underscore/cjs/_getLength.js +6 -0
  1698. package/cli/node_modules/underscore/cjs/_group.js +17 -0
  1699. package/cli/node_modules/underscore/cjs/_has.js +8 -0
  1700. package/cli/node_modules/underscore/cjs/_hasObjectTag.js +5 -0
  1701. package/cli/node_modules/underscore/cjs/_isArrayLike.js +10 -0
  1702. package/cli/node_modules/underscore/cjs/_isBufferLike.js +8 -0
  1703. package/cli/node_modules/underscore/cjs/_keyInObj.js +7 -0
  1704. package/cli/node_modules/underscore/cjs/_methodFingerprint.js +44 -0
  1705. package/cli/node_modules/underscore/cjs/_optimizeCb.js +23 -0
  1706. package/cli/node_modules/underscore/cjs/_setup.js +66 -0
  1707. package/cli/node_modules/underscore/cjs/_shallowProperty.js +8 -0
  1708. package/cli/node_modules/underscore/cjs/_stringTagBug.js +15 -0
  1709. package/cli/node_modules/underscore/cjs/_tagTester.js +11 -0
  1710. package/cli/node_modules/underscore/cjs/_toBufferView.js +13 -0
  1711. package/cli/node_modules/underscore/cjs/_toPath.js +10 -0
  1712. package/cli/node_modules/underscore/cjs/_unescapeMap.js +7 -0
  1713. package/cli/node_modules/underscore/cjs/after.js +10 -0
  1714. package/cli/node_modules/underscore/cjs/allKeys.js +15 -0
  1715. package/cli/node_modules/underscore/cjs/before.js +14 -0
  1716. package/cli/node_modules/underscore/cjs/bind.js +15 -0
  1717. package/cli/node_modules/underscore/cjs/bindAll.js +19 -0
  1718. package/cli/node_modules/underscore/cjs/chain.js +10 -0
  1719. package/cli/node_modules/underscore/cjs/chunk.js +15 -0
  1720. package/cli/node_modules/underscore/cjs/clone.js +11 -0
  1721. package/cli/node_modules/underscore/cjs/compact.js +8 -0
  1722. package/cli/node_modules/underscore/cjs/compose.js +14 -0
  1723. package/cli/node_modules/underscore/cjs/constant.js +8 -0
  1724. package/cli/node_modules/underscore/cjs/contains.js +12 -0
  1725. package/cli/node_modules/underscore/cjs/countBy.js +11 -0
  1726. package/cli/node_modules/underscore/cjs/create.js +13 -0
  1727. package/cli/node_modules/underscore/cjs/debounce.js +42 -0
  1728. package/cli/node_modules/underscore/cjs/defaults.js +7 -0
  1729. package/cli/node_modules/underscore/cjs/defer.js +9 -0
  1730. package/cli/node_modules/underscore/cjs/delay.js +11 -0
  1731. package/cli/node_modules/underscore/cjs/difference.js +15 -0
  1732. package/cli/node_modules/underscore/cjs/each.js +25 -0
  1733. package/cli/node_modules/underscore/cjs/escape.js +7 -0
  1734. package/cli/node_modules/underscore/cjs/every.js +17 -0
  1735. package/cli/node_modules/underscore/cjs/extend.js +7 -0
  1736. package/cli/node_modules/underscore/cjs/extendOwn.js +9 -0
  1737. package/cli/node_modules/underscore/cjs/filter.js +14 -0
  1738. package/cli/node_modules/underscore/cjs/find.js +12 -0
  1739. package/cli/node_modules/underscore/cjs/findIndex.js +6 -0
  1740. package/cli/node_modules/underscore/cjs/findKey.js +14 -0
  1741. package/cli/node_modules/underscore/cjs/findLastIndex.js +6 -0
  1742. package/cli/node_modules/underscore/cjs/findWhere.js +10 -0
  1743. package/cli/node_modules/underscore/cjs/first.js +11 -0
  1744. package/cli/node_modules/underscore/cjs/flatten.js +9 -0
  1745. package/cli/node_modules/underscore/cjs/functions.js +12 -0
  1746. package/cli/node_modules/underscore/cjs/get.js +14 -0
  1747. package/cli/node_modules/underscore/cjs/groupBy.js +10 -0
  1748. package/cli/node_modules/underscore/cjs/has.js +18 -0
  1749. package/cli/node_modules/underscore/cjs/identity.js +6 -0
  1750. package/cli/node_modules/underscore/cjs/index-default.js +11 -0
  1751. package/cli/node_modules/underscore/cjs/index.js +278 -0
  1752. package/cli/node_modules/underscore/cjs/indexBy.js +9 -0
  1753. package/cli/node_modules/underscore/cjs/indexOf.js +11 -0
  1754. package/cli/node_modules/underscore/cjs/initial.js +10 -0
  1755. package/cli/node_modules/underscore/cjs/intersection.js +21 -0
  1756. package/cli/node_modules/underscore/cjs/invert.js +13 -0
  1757. package/cli/node_modules/underscore/cjs/invoke.js +30 -0
  1758. package/cli/node_modules/underscore/cjs/isArguments.js +18 -0
  1759. package/cli/node_modules/underscore/cjs/isArray.js +8 -0
  1760. package/cli/node_modules/underscore/cjs/isArrayBuffer.js +5 -0
  1761. package/cli/node_modules/underscore/cjs/isBoolean.js +8 -0
  1762. package/cli/node_modules/underscore/cjs/isDataView.js +16 -0
  1763. package/cli/node_modules/underscore/cjs/isDate.js +5 -0
  1764. package/cli/node_modules/underscore/cjs/isElement.js +6 -0
  1765. package/cli/node_modules/underscore/cjs/isEmpty.js +20 -0
  1766. package/cli/node_modules/underscore/cjs/isEqual.js +140 -0
  1767. package/cli/node_modules/underscore/cjs/isError.js +5 -0
  1768. package/cli/node_modules/underscore/cjs/isFinite.js +9 -0
  1769. package/cli/node_modules/underscore/cjs/isFunction.js +17 -0
  1770. package/cli/node_modules/underscore/cjs/isMap.js +7 -0
  1771. package/cli/node_modules/underscore/cjs/isMatch.js +15 -0
  1772. package/cli/node_modules/underscore/cjs/isNaN.js +9 -0
  1773. package/cli/node_modules/underscore/cjs/isNull.js +6 -0
  1774. package/cli/node_modules/underscore/cjs/isNumber.js +5 -0
  1775. package/cli/node_modules/underscore/cjs/isObject.js +7 -0
  1776. package/cli/node_modules/underscore/cjs/isRegExp.js +5 -0
  1777. package/cli/node_modules/underscore/cjs/isSet.js +7 -0
  1778. package/cli/node_modules/underscore/cjs/isString.js +5 -0
  1779. package/cli/node_modules/underscore/cjs/isSymbol.js +5 -0
  1780. package/cli/node_modules/underscore/cjs/isTypedArray.js +17 -0
  1781. package/cli/node_modules/underscore/cjs/isUndefined.js +6 -0
  1782. package/cli/node_modules/underscore/cjs/isWeakMap.js +7 -0
  1783. package/cli/node_modules/underscore/cjs/isWeakSet.js +5 -0
  1784. package/cli/node_modules/underscore/cjs/iteratee.js +12 -0
  1785. package/cli/node_modules/underscore/cjs/keys.js +18 -0
  1786. package/cli/node_modules/underscore/cjs/last.js +11 -0
  1787. package/cli/node_modules/underscore/cjs/lastIndexOf.js +8 -0
  1788. package/cli/node_modules/underscore/cjs/map.js +18 -0
  1789. package/cli/node_modules/underscore/cjs/mapObject.js +18 -0
  1790. package/cli/node_modules/underscore/cjs/matcher.js +13 -0
  1791. package/cli/node_modules/underscore/cjs/max.js +31 -0
  1792. package/cli/node_modules/underscore/cjs/memoize.js +15 -0
  1793. package/cli/node_modules/underscore/cjs/min.js +31 -0
  1794. package/cli/node_modules/underscore/cjs/mixin.js +20 -0
  1795. package/cli/node_modules/underscore/cjs/negate.js +8 -0
  1796. package/cli/node_modules/underscore/cjs/noop.js +4 -0
  1797. package/cli/node_modules/underscore/cjs/now.js +6 -0
  1798. package/cli/node_modules/underscore/cjs/object.js +18 -0
  1799. package/cli/node_modules/underscore/cjs/omit.js +24 -0
  1800. package/cli/node_modules/underscore/cjs/once.js +8 -0
  1801. package/cli/node_modules/underscore/cjs/pairs.js +15 -0
  1802. package/cli/node_modules/underscore/cjs/partial.js +25 -0
  1803. package/cli/node_modules/underscore/cjs/partition.js +9 -0
  1804. package/cli/node_modules/underscore/cjs/pick.js +28 -0
  1805. package/cli/node_modules/underscore/cjs/pluck.js +9 -0
  1806. package/cli/node_modules/underscore/cjs/property.js +13 -0
  1807. package/cli/node_modules/underscore/cjs/propertyOf.js +12 -0
  1808. package/cli/node_modules/underscore/cjs/random.js +10 -0
  1809. package/cli/node_modules/underscore/cjs/range.js +23 -0
  1810. package/cli/node_modules/underscore/cjs/reduce.js +7 -0
  1811. package/cli/node_modules/underscore/cjs/reduceRight.js +6 -0
  1812. package/cli/node_modules/underscore/cjs/reject.js +10 -0
  1813. package/cli/node_modules/underscore/cjs/rest.js +10 -0
  1814. package/cli/node_modules/underscore/cjs/restArguments.js +29 -0
  1815. package/cli/node_modules/underscore/cjs/result.js +24 -0
  1816. package/cli/node_modules/underscore/cjs/sample.js +29 -0
  1817. package/cli/node_modules/underscore/cjs/shuffle.js +8 -0
  1818. package/cli/node_modules/underscore/cjs/size.js +10 -0
  1819. package/cli/node_modules/underscore/cjs/some.js +17 -0
  1820. package/cli/node_modules/underscore/cjs/sortBy.js +26 -0
  1821. package/cli/node_modules/underscore/cjs/sortedIndex.js +17 -0
  1822. package/cli/node_modules/underscore/cjs/tap.js +9 -0
  1823. package/cli/node_modules/underscore/cjs/template.js +103 -0
  1824. package/cli/node_modules/underscore/cjs/templateSettings.js +11 -0
  1825. package/cli/node_modules/underscore/cjs/throttle.js +49 -0
  1826. package/cli/node_modules/underscore/cjs/times.js +11 -0
  1827. package/cli/node_modules/underscore/cjs/toArray.js +22 -0
  1828. package/cli/node_modules/underscore/cjs/toPath.js +11 -0
  1829. package/cli/node_modules/underscore/cjs/underscore-array-methods.js +31 -0
  1830. package/cli/node_modules/underscore/cjs/underscore.js +27 -0
  1831. package/cli/node_modules/underscore/cjs/unescape.js +7 -0
  1832. package/cli/node_modules/underscore/cjs/union.js +11 -0
  1833. package/cli/node_modules/underscore/cjs/uniq.js +38 -0
  1834. package/cli/node_modules/underscore/cjs/uniqueId.js +9 -0
  1835. package/cli/node_modules/underscore/cjs/unzip.js +17 -0
  1836. package/cli/node_modules/underscore/cjs/values.js +14 -0
  1837. package/cli/node_modules/underscore/cjs/where.js +10 -0
  1838. package/cli/node_modules/underscore/cjs/without.js +9 -0
  1839. package/cli/node_modules/underscore/cjs/wrap.js +10 -0
  1840. package/cli/node_modules/underscore/cjs/zip.js +8 -0
  1841. package/cli/node_modules/underscore/modules/.eslintrc +21 -0
  1842. package/cli/node_modules/underscore/modules/_baseCreate.js +18 -0
  1843. package/cli/node_modules/underscore/modules/_baseIteratee.js +17 -0
  1844. package/cli/node_modules/underscore/modules/_cb.js +10 -0
  1845. package/cli/node_modules/underscore/modules/_chainResult.js +6 -0
  1846. package/cli/node_modules/underscore/modules/_collectNonEnumProps.js +40 -0
  1847. package/cli/node_modules/underscore/modules/_createAssigner.js +18 -0
  1848. package/cli/node_modules/underscore/modules/_createEscaper.js +17 -0
  1849. package/cli/node_modules/underscore/modules/_createIndexFinder.js +28 -0
  1850. package/cli/node_modules/underscore/modules/_createPredicateIndexFinder.js +15 -0
  1851. package/cli/node_modules/underscore/modules/_createReduce.js +28 -0
  1852. package/cli/node_modules/underscore/modules/_createSizePropertyCheck.js +9 -0
  1853. package/cli/node_modules/underscore/modules/_deepGet.js +9 -0
  1854. package/cli/node_modules/underscore/modules/_escapeMap.js +9 -0
  1855. package/cli/node_modules/underscore/modules/_executeBound.js +13 -0
  1856. package/cli/node_modules/underscore/modules/_flatten.js +31 -0
  1857. package/cli/node_modules/underscore/modules/_getByteLength.js +4 -0
  1858. package/cli/node_modules/underscore/modules/_getLength.js +4 -0
  1859. package/cli/node_modules/underscore/modules/_group.js +15 -0
  1860. package/cli/node_modules/underscore/modules/_has.js +6 -0
  1861. package/cli/node_modules/underscore/modules/_hasObjectTag.js +3 -0
  1862. package/cli/node_modules/underscore/modules/_isArrayLike.js +8 -0
  1863. package/cli/node_modules/underscore/modules/_isBufferLike.js +6 -0
  1864. package/cli/node_modules/underscore/modules/_keyInObj.js +5 -0
  1865. package/cli/node_modules/underscore/modules/_methodFingerprint.js +37 -0
  1866. package/cli/node_modules/underscore/modules/_optimizeCb.js +21 -0
  1867. package/cli/node_modules/underscore/modules/_setup.js +43 -0
  1868. package/cli/node_modules/underscore/modules/_shallowProperty.js +6 -0
  1869. package/cli/node_modules/underscore/modules/_stringTagBug.js +10 -0
  1870. package/cli/node_modules/underscore/modules/_tagTester.js +9 -0
  1871. package/cli/node_modules/underscore/modules/_toBufferView.js +11 -0
  1872. package/cli/node_modules/underscore/modules/_toPath.js +8 -0
  1873. package/cli/node_modules/underscore/modules/_unescapeMap.js +5 -0
  1874. package/cli/node_modules/underscore/modules/after.js +8 -0
  1875. package/cli/node_modules/underscore/modules/allKeys.js +13 -0
  1876. package/cli/node_modules/underscore/modules/before.js +12 -0
  1877. package/cli/node_modules/underscore/modules/bind.js +13 -0
  1878. package/cli/node_modules/underscore/modules/bindAll.js +17 -0
  1879. package/cli/node_modules/underscore/modules/chain.js +8 -0
  1880. package/cli/node_modules/underscore/modules/chunk.js +13 -0
  1881. package/cli/node_modules/underscore/modules/clone.js +9 -0
  1882. package/cli/node_modules/underscore/modules/compact.js +6 -0
  1883. package/cli/node_modules/underscore/modules/compose.js +12 -0
  1884. package/cli/node_modules/underscore/modules/constant.js +6 -0
  1885. package/cli/node_modules/underscore/modules/contains.js +10 -0
  1886. package/cli/node_modules/underscore/modules/countBy.js +9 -0
  1887. package/cli/node_modules/underscore/modules/create.js +11 -0
  1888. package/cli/node_modules/underscore/modules/debounce.js +40 -0
  1889. package/cli/node_modules/underscore/modules/defaults.js +5 -0
  1890. package/cli/node_modules/underscore/modules/defer.js +7 -0
  1891. package/cli/node_modules/underscore/modules/delay.js +9 -0
  1892. package/cli/node_modules/underscore/modules/difference.js +13 -0
  1893. package/cli/node_modules/underscore/modules/each.js +23 -0
  1894. package/cli/node_modules/underscore/modules/escape.js +5 -0
  1895. package/cli/node_modules/underscore/modules/every.js +15 -0
  1896. package/cli/node_modules/underscore/modules/extend.js +5 -0
  1897. package/cli/node_modules/underscore/modules/extendOwn.js +7 -0
  1898. package/cli/node_modules/underscore/modules/filter.js +12 -0
  1899. package/cli/node_modules/underscore/modules/find.js +10 -0
  1900. package/cli/node_modules/underscore/modules/findIndex.js +4 -0
  1901. package/cli/node_modules/underscore/modules/findKey.js +12 -0
  1902. package/cli/node_modules/underscore/modules/findLastIndex.js +4 -0
  1903. package/cli/node_modules/underscore/modules/findWhere.js +8 -0
  1904. package/cli/node_modules/underscore/modules/first.js +9 -0
  1905. package/cli/node_modules/underscore/modules/flatten.js +7 -0
  1906. package/cli/node_modules/underscore/modules/functions.js +10 -0
  1907. package/cli/node_modules/underscore/modules/get.js +12 -0
  1908. package/cli/node_modules/underscore/modules/groupBy.js +8 -0
  1909. package/cli/node_modules/underscore/modules/has.js +16 -0
  1910. package/cli/node_modules/underscore/modules/identity.js +4 -0
  1911. package/cli/node_modules/underscore/modules/index-all.js +18 -0
  1912. package/cli/node_modules/underscore/modules/index-default.js +27 -0
  1913. package/cli/node_modules/underscore/modules/index.js +200 -0
  1914. package/cli/node_modules/underscore/modules/indexBy.js +7 -0
  1915. package/cli/node_modules/underscore/modules/indexOf.js +9 -0
  1916. package/cli/node_modules/underscore/modules/initial.js +8 -0
  1917. package/cli/node_modules/underscore/modules/intersection.js +19 -0
  1918. package/cli/node_modules/underscore/modules/invert.js +11 -0
  1919. package/cli/node_modules/underscore/modules/invoke.js +28 -0
  1920. package/cli/node_modules/underscore/modules/isArguments.js +16 -0
  1921. package/cli/node_modules/underscore/modules/isArray.js +6 -0
  1922. package/cli/node_modules/underscore/modules/isArrayBuffer.js +3 -0
  1923. package/cli/node_modules/underscore/modules/isBoolean.js +6 -0
  1924. package/cli/node_modules/underscore/modules/isDataView.js +14 -0
  1925. package/cli/node_modules/underscore/modules/isDate.js +3 -0
  1926. package/cli/node_modules/underscore/modules/isElement.js +4 -0
  1927. package/cli/node_modules/underscore/modules/isEmpty.js +18 -0
  1928. package/cli/node_modules/underscore/modules/isEqual.js +138 -0
  1929. package/cli/node_modules/underscore/modules/isError.js +3 -0
  1930. package/cli/node_modules/underscore/modules/isFinite.js +7 -0
  1931. package/cli/node_modules/underscore/modules/isFunction.js +15 -0
  1932. package/cli/node_modules/underscore/modules/isMap.js +5 -0
  1933. package/cli/node_modules/underscore/modules/isMatch.js +13 -0
  1934. package/cli/node_modules/underscore/modules/isNaN.js +7 -0
  1935. package/cli/node_modules/underscore/modules/isNull.js +4 -0
  1936. package/cli/node_modules/underscore/modules/isNumber.js +3 -0
  1937. package/cli/node_modules/underscore/modules/isObject.js +5 -0
  1938. package/cli/node_modules/underscore/modules/isRegExp.js +3 -0
  1939. package/cli/node_modules/underscore/modules/isSet.js +5 -0
  1940. package/cli/node_modules/underscore/modules/isString.js +3 -0
  1941. package/cli/node_modules/underscore/modules/isSymbol.js +3 -0
  1942. package/cli/node_modules/underscore/modules/isTypedArray.js +15 -0
  1943. package/cli/node_modules/underscore/modules/isUndefined.js +4 -0
  1944. package/cli/node_modules/underscore/modules/isWeakMap.js +5 -0
  1945. package/cli/node_modules/underscore/modules/isWeakSet.js +3 -0
  1946. package/cli/node_modules/underscore/modules/iteratee.js +10 -0
  1947. package/cli/node_modules/underscore/modules/keys.js +16 -0
  1948. package/cli/node_modules/underscore/modules/last.js +9 -0
  1949. package/cli/node_modules/underscore/modules/lastIndexOf.js +6 -0
  1950. package/cli/node_modules/underscore/modules/map.js +16 -0
  1951. package/cli/node_modules/underscore/modules/mapObject.js +16 -0
  1952. package/cli/node_modules/underscore/modules/matcher.js +11 -0
  1953. package/cli/node_modules/underscore/modules/max.js +29 -0
  1954. package/cli/node_modules/underscore/modules/memoize.js +13 -0
  1955. package/cli/node_modules/underscore/modules/min.js +29 -0
  1956. package/cli/node_modules/underscore/modules/mixin.js +18 -0
  1957. package/cli/node_modules/underscore/modules/negate.js +6 -0
  1958. package/cli/node_modules/underscore/modules/noop.js +2 -0
  1959. package/cli/node_modules/underscore/modules/now.js +4 -0
  1960. package/cli/node_modules/underscore/modules/object.js +16 -0
  1961. package/cli/node_modules/underscore/modules/omit.js +22 -0
  1962. package/cli/node_modules/underscore/modules/once.js +6 -0
  1963. package/cli/node_modules/underscore/modules/package.json +1 -0
  1964. package/cli/node_modules/underscore/modules/pairs.js +13 -0
  1965. package/cli/node_modules/underscore/modules/partial.js +24 -0
  1966. package/cli/node_modules/underscore/modules/partition.js +7 -0
  1967. package/cli/node_modules/underscore/modules/pick.js +26 -0
  1968. package/cli/node_modules/underscore/modules/pluck.js +7 -0
  1969. package/cli/node_modules/underscore/modules/property.js +11 -0
  1970. package/cli/node_modules/underscore/modules/propertyOf.js +10 -0
  1971. package/cli/node_modules/underscore/modules/random.js +8 -0
  1972. package/cli/node_modules/underscore/modules/range.js +21 -0
  1973. package/cli/node_modules/underscore/modules/reduce.js +5 -0
  1974. package/cli/node_modules/underscore/modules/reduceRight.js +4 -0
  1975. package/cli/node_modules/underscore/modules/reject.js +8 -0
  1976. package/cli/node_modules/underscore/modules/rest.js +8 -0
  1977. package/cli/node_modules/underscore/modules/restArguments.js +27 -0
  1978. package/cli/node_modules/underscore/modules/result.js +22 -0
  1979. package/cli/node_modules/underscore/modules/sample.js +27 -0
  1980. package/cli/node_modules/underscore/modules/shuffle.js +6 -0
  1981. package/cli/node_modules/underscore/modules/size.js +8 -0
  1982. package/cli/node_modules/underscore/modules/some.js +15 -0
  1983. package/cli/node_modules/underscore/modules/sortBy.js +24 -0
  1984. package/cli/node_modules/underscore/modules/sortedIndex.js +15 -0
  1985. package/cli/node_modules/underscore/modules/tap.js +7 -0
  1986. package/cli/node_modules/underscore/modules/template.js +101 -0
  1987. package/cli/node_modules/underscore/modules/templateSettings.js +9 -0
  1988. package/cli/node_modules/underscore/modules/throttle.js +47 -0
  1989. package/cli/node_modules/underscore/modules/times.js +9 -0
  1990. package/cli/node_modules/underscore/modules/toArray.js +20 -0
  1991. package/cli/node_modules/underscore/modules/toPath.js +9 -0
  1992. package/cli/node_modules/underscore/modules/underscore-array-methods.js +31 -0
  1993. package/cli/node_modules/underscore/modules/underscore.js +25 -0
  1994. package/cli/node_modules/underscore/modules/unescape.js +5 -0
  1995. package/cli/node_modules/underscore/modules/union.js +9 -0
  1996. package/cli/node_modules/underscore/modules/uniq.js +36 -0
  1997. package/cli/node_modules/underscore/modules/uniqueId.js +7 -0
  1998. package/cli/node_modules/underscore/modules/unzip.js +15 -0
  1999. package/cli/node_modules/underscore/modules/values.js +12 -0
  2000. package/cli/node_modules/underscore/modules/where.js +8 -0
  2001. package/cli/node_modules/underscore/modules/without.js +7 -0
  2002. package/cli/node_modules/underscore/modules/wrap.js +8 -0
  2003. package/cli/node_modules/underscore/modules/zip.js +6 -0
  2004. package/cli/node_modules/underscore/package.json +122 -0
  2005. package/cli/node_modules/underscore/underscore-esm-min.js +5 -0
  2006. package/cli/node_modules/underscore/underscore-esm-min.js.map +1 -0
  2007. package/cli/node_modules/underscore/underscore-esm.js +2034 -0
  2008. package/cli/node_modules/underscore/underscore-esm.js.map +1 -0
  2009. package/cli/node_modules/underscore/underscore-min.js +6 -0
  2010. package/cli/node_modules/underscore/underscore-min.js.map +1 -0
  2011. package/cli/node_modules/underscore/underscore-node-f.cjs +2158 -0
  2012. package/cli/node_modules/underscore/underscore-node-f.cjs.map +1 -0
  2013. package/cli/node_modules/underscore/underscore-node.cjs +11 -0
  2014. package/cli/node_modules/underscore/underscore-node.cjs.map +1 -0
  2015. package/cli/node_modules/underscore/underscore-node.mjs +7 -0
  2016. package/cli/node_modules/underscore/underscore-node.mjs.map +1 -0
  2017. package/cli/node_modules/underscore/underscore-umd-min.js +6 -0
  2018. package/cli/node_modules/underscore/underscore-umd-min.js.map +1 -0
  2019. package/cli/node_modules/underscore/underscore-umd.js +2042 -0
  2020. package/cli/node_modules/underscore/underscore-umd.js.map +1 -0
  2021. package/cli/node_modules/underscore/underscore.js +2042 -0
  2022. package/cli/node_modules/xmlcreate/CHANGES.md +53 -0
  2023. package/cli/node_modules/xmlcreate/LICENSE +201 -0
  2024. package/cli/node_modules/xmlcreate/NOTICE +2 -0
  2025. package/cli/node_modules/xmlcreate/README.md +141 -0
  2026. package/cli/node_modules/xmlcreate/lib/error.d.ts +19 -0
  2027. package/cli/node_modules/xmlcreate/lib/error.js +47 -0
  2028. package/cli/node_modules/xmlcreate/lib/escape.d.ts +37 -0
  2029. package/cli/node_modules/xmlcreate/lib/escape.js +55 -0
  2030. package/cli/node_modules/xmlcreate/lib/main.d.ts +38 -0
  2031. package/cli/node_modules/xmlcreate/lib/main.js +64 -0
  2032. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttribute.d.ts +88 -0
  2033. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttribute.js +146 -0
  2034. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttributeText.d.ts +58 -0
  2035. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttributeText.js +80 -0
  2036. package/cli/node_modules/xmlcreate/lib/nodes/XmlCdata.d.ts +63 -0
  2037. package/cli/node_modules/xmlcreate/lib/nodes/XmlCdata.js +88 -0
  2038. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharData.d.ts +59 -0
  2039. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharData.js +82 -0
  2040. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharRef.d.ts +89 -0
  2041. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharRef.js +136 -0
  2042. package/cli/node_modules/xmlcreate/lib/nodes/XmlComment.d.ts +62 -0
  2043. package/cli/node_modules/xmlcreate/lib/nodes/XmlComment.js +99 -0
  2044. package/cli/node_modules/xmlcreate/lib/nodes/XmlDecl.d.ts +92 -0
  2045. package/cli/node_modules/xmlcreate/lib/nodes/XmlDecl.js +180 -0
  2046. package/cli/node_modules/xmlcreate/lib/nodes/XmlDocument.d.ts +96 -0
  2047. package/cli/node_modules/xmlcreate/lib/nodes/XmlDocument.js +166 -0
  2048. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtd.d.ts +147 -0
  2049. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtd.js +312 -0
  2050. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdAttlist.d.ts +56 -0
  2051. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdAttlist.js +71 -0
  2052. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdElement.d.ts +56 -0
  2053. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdElement.js +71 -0
  2054. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdEntity.d.ts +56 -0
  2055. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdEntity.js +71 -0
  2056. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdNotation.d.ts +56 -0
  2057. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdNotation.js +71 -0
  2058. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdParamEntityRef.d.ts +56 -0
  2059. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdParamEntityRef.js +71 -0
  2060. package/cli/node_modules/xmlcreate/lib/nodes/XmlElement.d.ts +153 -0
  2061. package/cli/node_modules/xmlcreate/lib/nodes/XmlElement.js +302 -0
  2062. package/cli/node_modules/xmlcreate/lib/nodes/XmlEntityRef.d.ts +56 -0
  2063. package/cli/node_modules/xmlcreate/lib/nodes/XmlEntityRef.js +71 -0
  2064. package/cli/node_modules/xmlcreate/lib/nodes/XmlProcInst.d.ts +71 -0
  2065. package/cli/node_modules/xmlcreate/lib/nodes/XmlProcInst.js +112 -0
  2066. package/cli/node_modules/xmlcreate/lib/options.d.ts +51 -0
  2067. package/cli/node_modules/xmlcreate/lib/options.js +45 -0
  2068. package/cli/node_modules/xmlcreate/lib/validate.d.ts +46 -0
  2069. package/cli/node_modules/xmlcreate/lib/validate.js +274 -0
  2070. package/cli/node_modules/xmlcreate/package.json +55 -0
  2071. package/cli/package.json +3 -1
  2072. package/dist/light/protobuf.js +11 -7
  2073. package/dist/light/protobuf.js.map +1 -1
  2074. package/dist/light/protobuf.min.js +3 -3
  2075. package/dist/light/protobuf.min.js.map +1 -1
  2076. package/dist/minimal/protobuf.js +2 -2
  2077. package/dist/minimal/protobuf.min.js +3 -3
  2078. package/dist/minimal/protobuf.min.js.map +1 -1
  2079. package/dist/protobuf.js +11 -7
  2080. package/dist/protobuf.js.map +1 -1
  2081. package/dist/protobuf.min.js +3 -3
  2082. package/dist/protobuf.min.js.map +1 -1
  2083. package/package.json +4 -4
  2084. package/src/util.js +3 -0
  2085. package/CHANGELOG.md +0 -1019
  2086. package/cli/node_modules/balanced-match/.npmignore +0 -5
  2087. package/cli/node_modules/deep-is/.npmignore +0 -1
  2088. package/cli/node_modules/deep-is/.travis.yml +0 -6
  2089. package/cli/node_modules/deep-is/LICENSE +0 -22
  2090. package/cli/node_modules/deep-is/README.markdown +0 -70
  2091. package/cli/node_modules/deep-is/example/cmp.js +0 -11
  2092. package/cli/node_modules/deep-is/index.js +0 -102
  2093. package/cli/node_modules/deep-is/package.json +0 -61
  2094. package/cli/node_modules/deep-is/test/NaN.js +0 -16
  2095. package/cli/node_modules/deep-is/test/cmp.js +0 -23
  2096. package/cli/node_modules/deep-is/test/neg-vs-pos-0.js +0 -15
  2097. package/cli/node_modules/fast-levenshtein/LICENSE.md +0 -25
  2098. package/cli/node_modules/fast-levenshtein/README.md +0 -104
  2099. package/cli/node_modules/fast-levenshtein/levenshtein.js +0 -136
  2100. package/cli/node_modules/fast-levenshtein/package.json +0 -39
  2101. package/cli/node_modules/glob/changelog.md +0 -67
  2102. package/cli/node_modules/levn/README.md +0 -196
  2103. package/cli/node_modules/levn/lib/cast.js +0 -298
  2104. package/cli/node_modules/levn/lib/coerce.js +0 -285
  2105. package/cli/node_modules/levn/lib/index.js +0 -22
  2106. package/cli/node_modules/levn/lib/parse-string.js +0 -113
  2107. package/cli/node_modules/levn/lib/parse.js +0 -102
  2108. package/cli/node_modules/levn/package.json +0 -47
  2109. package/cli/node_modules/optionator/CHANGELOG.md +0 -56
  2110. package/cli/node_modules/optionator/LICENSE +0 -22
  2111. package/cli/node_modules/optionator/README.md +0 -238
  2112. package/cli/node_modules/optionator/lib/help.js +0 -260
  2113. package/cli/node_modules/optionator/lib/index.js +0 -465
  2114. package/cli/node_modules/optionator/lib/util.js +0 -54
  2115. package/cli/node_modules/optionator/package.json +0 -44
  2116. package/cli/node_modules/prelude-ls/CHANGELOG.md +0 -99
  2117. package/cli/node_modules/prelude-ls/README.md +0 -15
  2118. package/cli/node_modules/prelude-ls/lib/Func.js +0 -65
  2119. package/cli/node_modules/prelude-ls/lib/List.js +0 -686
  2120. package/cli/node_modules/prelude-ls/lib/Num.js +0 -130
  2121. package/cli/node_modules/prelude-ls/lib/Obj.js +0 -154
  2122. package/cli/node_modules/prelude-ls/lib/Str.js +0 -92
  2123. package/cli/node_modules/prelude-ls/lib/index.js +0 -178
  2124. package/cli/node_modules/prelude-ls/package.json +0 -52
  2125. package/cli/node_modules/type-check/README.md +0 -210
  2126. package/cli/node_modules/type-check/lib/check.js +0 -126
  2127. package/cli/node_modules/type-check/lib/index.js +0 -16
  2128. package/cli/node_modules/type-check/lib/parse-type.js +0 -196
  2129. package/cli/node_modules/type-check/package.json +0 -40
  2130. package/cli/node_modules/word-wrap/README.md +0 -182
  2131. package/cli/node_modules/word-wrap/index.d.ts +0 -50
  2132. package/cli/node_modules/word-wrap/index.js +0 -46
  2133. package/cli/node_modules/word-wrap/package.json +0 -77
  2134. /package/cli/node_modules/{acorn → espree/node_modules/acorn}/dist/acorn.js.map +0 -0
  2135. /package/cli/node_modules/{acorn → espree/node_modules/acorn}/dist/acorn.mjs.map +0 -0
@@ -0,0 +1,3056 @@
1
+ /**
2
+ * marked - a markdown parser
3
+ * Copyright (c) 2011-2022, Christopher Jeffrey. (MIT Licensed)
4
+ * https://github.com/markedjs/marked
5
+ */
6
+
7
+ /**
8
+ * DO NOT EDIT THIS FILE
9
+ * The code in this file is generated from files in ./src/
10
+ */
11
+
12
+ 'use strict';
13
+
14
+ Object.defineProperty(exports, '__esModule', { value: true });
15
+
16
+ function _defineProperties(target, props) {
17
+ for (var i = 0; i < props.length; i++) {
18
+ var descriptor = props[i];
19
+ descriptor.enumerable = descriptor.enumerable || false;
20
+ descriptor.configurable = true;
21
+ if ("value" in descriptor) descriptor.writable = true;
22
+ Object.defineProperty(target, descriptor.key, descriptor);
23
+ }
24
+ }
25
+
26
+ function _createClass(Constructor, protoProps, staticProps) {
27
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
28
+ if (staticProps) _defineProperties(Constructor, staticProps);
29
+ Object.defineProperty(Constructor, "prototype", {
30
+ writable: false
31
+ });
32
+ return Constructor;
33
+ }
34
+
35
+ function _unsupportedIterableToArray(o, minLen) {
36
+ if (!o) return;
37
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
38
+ var n = Object.prototype.toString.call(o).slice(8, -1);
39
+ if (n === "Object" && o.constructor) n = o.constructor.name;
40
+ if (n === "Map" || n === "Set") return Array.from(o);
41
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
42
+ }
43
+
44
+ function _arrayLikeToArray(arr, len) {
45
+ if (len == null || len > arr.length) len = arr.length;
46
+
47
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
48
+
49
+ return arr2;
50
+ }
51
+
52
+ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
53
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
54
+ if (it) return (it = it.call(o)).next.bind(it);
55
+
56
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
57
+ if (it) o = it;
58
+ var i = 0;
59
+ return function () {
60
+ if (i >= o.length) return {
61
+ done: true
62
+ };
63
+ return {
64
+ done: false,
65
+ value: o[i++]
66
+ };
67
+ };
68
+ }
69
+
70
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
71
+ }
72
+
73
+ function getDefaults() {
74
+ return {
75
+ baseUrl: null,
76
+ breaks: false,
77
+ extensions: null,
78
+ gfm: true,
79
+ headerIds: true,
80
+ headerPrefix: '',
81
+ highlight: null,
82
+ langPrefix: 'language-',
83
+ mangle: true,
84
+ pedantic: false,
85
+ renderer: null,
86
+ sanitize: false,
87
+ sanitizer: null,
88
+ silent: false,
89
+ smartLists: false,
90
+ smartypants: false,
91
+ tokenizer: null,
92
+ walkTokens: null,
93
+ xhtml: false
94
+ };
95
+ }
96
+ exports.defaults = getDefaults();
97
+ function changeDefaults(newDefaults) {
98
+ exports.defaults = newDefaults;
99
+ }
100
+
101
+ /**
102
+ * Helpers
103
+ */
104
+ var escapeTest = /[&<>"']/;
105
+ var escapeReplace = /[&<>"']/g;
106
+ var escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
107
+ var escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
108
+ var escapeReplacements = {
109
+ '&': '&amp;',
110
+ '<': '&lt;',
111
+ '>': '&gt;',
112
+ '"': '&quot;',
113
+ "'": '&#39;'
114
+ };
115
+
116
+ var getEscapeReplacement = function getEscapeReplacement(ch) {
117
+ return escapeReplacements[ch];
118
+ };
119
+
120
+ function escape(html, encode) {
121
+ if (encode) {
122
+ if (escapeTest.test(html)) {
123
+ return html.replace(escapeReplace, getEscapeReplacement);
124
+ }
125
+ } else {
126
+ if (escapeTestNoEncode.test(html)) {
127
+ return html.replace(escapeReplaceNoEncode, getEscapeReplacement);
128
+ }
129
+ }
130
+
131
+ return html;
132
+ }
133
+ var unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
134
+ /**
135
+ * @param {string} html
136
+ */
137
+
138
+ function unescape(html) {
139
+ // explicitly match decimal, hex, and named HTML entities
140
+ return html.replace(unescapeTest, function (_, n) {
141
+ n = n.toLowerCase();
142
+ if (n === 'colon') return ':';
143
+
144
+ if (n.charAt(0) === '#') {
145
+ return n.charAt(1) === 'x' ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1));
146
+ }
147
+
148
+ return '';
149
+ });
150
+ }
151
+ var caret = /(^|[^\[])\^/g;
152
+ /**
153
+ * @param {string | RegExp} regex
154
+ * @param {string} opt
155
+ */
156
+
157
+ function edit(regex, opt) {
158
+ regex = typeof regex === 'string' ? regex : regex.source;
159
+ opt = opt || '';
160
+ var obj = {
161
+ replace: function replace(name, val) {
162
+ val = val.source || val;
163
+ val = val.replace(caret, '$1');
164
+ regex = regex.replace(name, val);
165
+ return obj;
166
+ },
167
+ getRegex: function getRegex() {
168
+ return new RegExp(regex, opt);
169
+ }
170
+ };
171
+ return obj;
172
+ }
173
+ var nonWordAndColonTest = /[^\w:]/g;
174
+ var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
175
+ /**
176
+ * @param {boolean} sanitize
177
+ * @param {string} base
178
+ * @param {string} href
179
+ */
180
+
181
+ function cleanUrl(sanitize, base, href) {
182
+ if (sanitize) {
183
+ var prot;
184
+
185
+ try {
186
+ prot = decodeURIComponent(unescape(href)).replace(nonWordAndColonTest, '').toLowerCase();
187
+ } catch (e) {
188
+ return null;
189
+ }
190
+
191
+ if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
192
+ return null;
193
+ }
194
+ }
195
+
196
+ if (base && !originIndependentUrl.test(href)) {
197
+ href = resolveUrl(base, href);
198
+ }
199
+
200
+ try {
201
+ href = encodeURI(href).replace(/%25/g, '%');
202
+ } catch (e) {
203
+ return null;
204
+ }
205
+
206
+ return href;
207
+ }
208
+ var baseUrls = {};
209
+ var justDomain = /^[^:]+:\/*[^/]*$/;
210
+ var protocol = /^([^:]+:)[\s\S]*$/;
211
+ var domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
212
+ /**
213
+ * @param {string} base
214
+ * @param {string} href
215
+ */
216
+
217
+ function resolveUrl(base, href) {
218
+ if (!baseUrls[' ' + base]) {
219
+ // we can ignore everything in base after the last slash of its path component,
220
+ // but we might need to add _that_
221
+ // https://tools.ietf.org/html/rfc3986#section-3
222
+ if (justDomain.test(base)) {
223
+ baseUrls[' ' + base] = base + '/';
224
+ } else {
225
+ baseUrls[' ' + base] = rtrim(base, '/', true);
226
+ }
227
+ }
228
+
229
+ base = baseUrls[' ' + base];
230
+ var relativeBase = base.indexOf(':') === -1;
231
+
232
+ if (href.substring(0, 2) === '//') {
233
+ if (relativeBase) {
234
+ return href;
235
+ }
236
+
237
+ return base.replace(protocol, '$1') + href;
238
+ } else if (href.charAt(0) === '/') {
239
+ if (relativeBase) {
240
+ return href;
241
+ }
242
+
243
+ return base.replace(domain, '$1') + href;
244
+ } else {
245
+ return base + href;
246
+ }
247
+ }
248
+ var noopTest = {
249
+ exec: function noopTest() {}
250
+ };
251
+ function merge(obj) {
252
+ var i = 1,
253
+ target,
254
+ key;
255
+
256
+ for (; i < arguments.length; i++) {
257
+ target = arguments[i];
258
+
259
+ for (key in target) {
260
+ if (Object.prototype.hasOwnProperty.call(target, key)) {
261
+ obj[key] = target[key];
262
+ }
263
+ }
264
+ }
265
+
266
+ return obj;
267
+ }
268
+ function splitCells(tableRow, count) {
269
+ // ensure that every cell-delimiting pipe has a space
270
+ // before it to distinguish it from an escaped pipe
271
+ var row = tableRow.replace(/\|/g, function (match, offset, str) {
272
+ var escaped = false,
273
+ curr = offset;
274
+
275
+ while (--curr >= 0 && str[curr] === '\\') {
276
+ escaped = !escaped;
277
+ }
278
+
279
+ if (escaped) {
280
+ // odd number of slashes means | is escaped
281
+ // so we leave it alone
282
+ return '|';
283
+ } else {
284
+ // add space before unescaped |
285
+ return ' |';
286
+ }
287
+ }),
288
+ cells = row.split(/ \|/);
289
+ var i = 0; // First/last cell in a row cannot be empty if it has no leading/trailing pipe
290
+
291
+ if (!cells[0].trim()) {
292
+ cells.shift();
293
+ }
294
+
295
+ if (cells.length > 0 && !cells[cells.length - 1].trim()) {
296
+ cells.pop();
297
+ }
298
+
299
+ if (cells.length > count) {
300
+ cells.splice(count);
301
+ } else {
302
+ while (cells.length < count) {
303
+ cells.push('');
304
+ }
305
+ }
306
+
307
+ for (; i < cells.length; i++) {
308
+ // leading or trailing whitespace is ignored per the gfm spec
309
+ cells[i] = cells[i].trim().replace(/\\\|/g, '|');
310
+ }
311
+
312
+ return cells;
313
+ }
314
+ /**
315
+ * Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
316
+ * /c*$/ is vulnerable to REDOS.
317
+ *
318
+ * @param {string} str
319
+ * @param {string} c
320
+ * @param {boolean} invert Remove suffix of non-c chars instead. Default falsey.
321
+ */
322
+
323
+ function rtrim(str, c, invert) {
324
+ var l = str.length;
325
+
326
+ if (l === 0) {
327
+ return '';
328
+ } // Length of suffix matching the invert condition.
329
+
330
+
331
+ var suffLen = 0; // Step left until we fail to match the invert condition.
332
+
333
+ while (suffLen < l) {
334
+ var currChar = str.charAt(l - suffLen - 1);
335
+
336
+ if (currChar === c && !invert) {
337
+ suffLen++;
338
+ } else if (currChar !== c && invert) {
339
+ suffLen++;
340
+ } else {
341
+ break;
342
+ }
343
+ }
344
+
345
+ return str.slice(0, l - suffLen);
346
+ }
347
+ function findClosingBracket(str, b) {
348
+ if (str.indexOf(b[1]) === -1) {
349
+ return -1;
350
+ }
351
+
352
+ var l = str.length;
353
+ var level = 0,
354
+ i = 0;
355
+
356
+ for (; i < l; i++) {
357
+ if (str[i] === '\\') {
358
+ i++;
359
+ } else if (str[i] === b[0]) {
360
+ level++;
361
+ } else if (str[i] === b[1]) {
362
+ level--;
363
+
364
+ if (level < 0) {
365
+ return i;
366
+ }
367
+ }
368
+ }
369
+
370
+ return -1;
371
+ }
372
+ function checkSanitizeDeprecation(opt) {
373
+ if (opt && opt.sanitize && !opt.silent) {
374
+ console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
375
+ }
376
+ } // copied from https://stackoverflow.com/a/5450113/806777
377
+
378
+ /**
379
+ * @param {string} pattern
380
+ * @param {number} count
381
+ */
382
+
383
+ function repeatString(pattern, count) {
384
+ if (count < 1) {
385
+ return '';
386
+ }
387
+
388
+ var result = '';
389
+
390
+ while (count > 1) {
391
+ if (count & 1) {
392
+ result += pattern;
393
+ }
394
+
395
+ count >>= 1;
396
+ pattern += pattern;
397
+ }
398
+
399
+ return result + pattern;
400
+ }
401
+
402
+ function outputLink(cap, link, raw, lexer) {
403
+ var href = link.href;
404
+ var title = link.title ? escape(link.title) : null;
405
+ var text = cap[1].replace(/\\([\[\]])/g, '$1');
406
+
407
+ if (cap[0].charAt(0) !== '!') {
408
+ lexer.state.inLink = true;
409
+ var token = {
410
+ type: 'link',
411
+ raw: raw,
412
+ href: href,
413
+ title: title,
414
+ text: text,
415
+ tokens: lexer.inlineTokens(text, [])
416
+ };
417
+ lexer.state.inLink = false;
418
+ return token;
419
+ }
420
+
421
+ return {
422
+ type: 'image',
423
+ raw: raw,
424
+ href: href,
425
+ title: title,
426
+ text: escape(text)
427
+ };
428
+ }
429
+
430
+ function indentCodeCompensation(raw, text) {
431
+ var matchIndentToCode = raw.match(/^(\s+)(?:```)/);
432
+
433
+ if (matchIndentToCode === null) {
434
+ return text;
435
+ }
436
+
437
+ var indentToCode = matchIndentToCode[1];
438
+ return text.split('\n').map(function (node) {
439
+ var matchIndentInNode = node.match(/^\s+/);
440
+
441
+ if (matchIndentInNode === null) {
442
+ return node;
443
+ }
444
+
445
+ var indentInNode = matchIndentInNode[0];
446
+
447
+ if (indentInNode.length >= indentToCode.length) {
448
+ return node.slice(indentToCode.length);
449
+ }
450
+
451
+ return node;
452
+ }).join('\n');
453
+ }
454
+ /**
455
+ * Tokenizer
456
+ */
457
+
458
+
459
+ var Tokenizer = /*#__PURE__*/function () {
460
+ function Tokenizer(options) {
461
+ this.options = options || exports.defaults;
462
+ }
463
+
464
+ var _proto = Tokenizer.prototype;
465
+
466
+ _proto.space = function space(src) {
467
+ var cap = this.rules.block.newline.exec(src);
468
+
469
+ if (cap && cap[0].length > 0) {
470
+ return {
471
+ type: 'space',
472
+ raw: cap[0]
473
+ };
474
+ }
475
+ };
476
+
477
+ _proto.code = function code(src) {
478
+ var cap = this.rules.block.code.exec(src);
479
+
480
+ if (cap) {
481
+ var text = cap[0].replace(/^ {1,4}/gm, '');
482
+ return {
483
+ type: 'code',
484
+ raw: cap[0],
485
+ codeBlockStyle: 'indented',
486
+ text: !this.options.pedantic ? rtrim(text, '\n') : text
487
+ };
488
+ }
489
+ };
490
+
491
+ _proto.fences = function fences(src) {
492
+ var cap = this.rules.block.fences.exec(src);
493
+
494
+ if (cap) {
495
+ var raw = cap[0];
496
+ var text = indentCodeCompensation(raw, cap[3] || '');
497
+ return {
498
+ type: 'code',
499
+ raw: raw,
500
+ lang: cap[2] ? cap[2].trim() : cap[2],
501
+ text: text
502
+ };
503
+ }
504
+ };
505
+
506
+ _proto.heading = function heading(src) {
507
+ var cap = this.rules.block.heading.exec(src);
508
+
509
+ if (cap) {
510
+ var text = cap[2].trim(); // remove trailing #s
511
+
512
+ if (/#$/.test(text)) {
513
+ var trimmed = rtrim(text, '#');
514
+
515
+ if (this.options.pedantic) {
516
+ text = trimmed.trim();
517
+ } else if (!trimmed || / $/.test(trimmed)) {
518
+ // CommonMark requires space before trailing #s
519
+ text = trimmed.trim();
520
+ }
521
+ }
522
+
523
+ var token = {
524
+ type: 'heading',
525
+ raw: cap[0],
526
+ depth: cap[1].length,
527
+ text: text,
528
+ tokens: []
529
+ };
530
+ this.lexer.inline(token.text, token.tokens);
531
+ return token;
532
+ }
533
+ };
534
+
535
+ _proto.hr = function hr(src) {
536
+ var cap = this.rules.block.hr.exec(src);
537
+
538
+ if (cap) {
539
+ return {
540
+ type: 'hr',
541
+ raw: cap[0]
542
+ };
543
+ }
544
+ };
545
+
546
+ _proto.blockquote = function blockquote(src) {
547
+ var cap = this.rules.block.blockquote.exec(src);
548
+
549
+ if (cap) {
550
+ var text = cap[0].replace(/^ *>[ \t]?/gm, '');
551
+ return {
552
+ type: 'blockquote',
553
+ raw: cap[0],
554
+ tokens: this.lexer.blockTokens(text, []),
555
+ text: text
556
+ };
557
+ }
558
+ };
559
+
560
+ _proto.list = function list(src) {
561
+ var cap = this.rules.block.list.exec(src);
562
+
563
+ if (cap) {
564
+ var raw, istask, ischecked, indent, i, blankLine, endsWithBlankLine, line, nextLine, rawLine, itemContents, endEarly;
565
+ var bull = cap[1].trim();
566
+ var isordered = bull.length > 1;
567
+ var list = {
568
+ type: 'list',
569
+ raw: '',
570
+ ordered: isordered,
571
+ start: isordered ? +bull.slice(0, -1) : '',
572
+ loose: false,
573
+ items: []
574
+ };
575
+ bull = isordered ? "\\d{1,9}\\" + bull.slice(-1) : "\\" + bull;
576
+
577
+ if (this.options.pedantic) {
578
+ bull = isordered ? bull : '[*+-]';
579
+ } // Get next list item
580
+
581
+
582
+ var itemRegex = new RegExp("^( {0,3}" + bull + ")((?:[\t ][^\\n]*)?(?:\\n|$))"); // Check if current bullet point can start a new List Item
583
+
584
+ while (src) {
585
+ endEarly = false;
586
+
587
+ if (!(cap = itemRegex.exec(src))) {
588
+ break;
589
+ }
590
+
591
+ if (this.rules.block.hr.test(src)) {
592
+ // End list if bullet was actually HR (possibly move into itemRegex?)
593
+ break;
594
+ }
595
+
596
+ raw = cap[0];
597
+ src = src.substring(raw.length);
598
+ line = cap[2].split('\n', 1)[0];
599
+ nextLine = src.split('\n', 1)[0];
600
+
601
+ if (this.options.pedantic) {
602
+ indent = 2;
603
+ itemContents = line.trimLeft();
604
+ } else {
605
+ indent = cap[2].search(/[^ ]/); // Find first non-space char
606
+
607
+ indent = indent > 4 ? 1 : indent; // Treat indented code blocks (> 4 spaces) as having only 1 indent
608
+
609
+ itemContents = line.slice(indent);
610
+ indent += cap[1].length;
611
+ }
612
+
613
+ blankLine = false;
614
+
615
+ if (!line && /^ *$/.test(nextLine)) {
616
+ // Items begin with at most one blank line
617
+ raw += nextLine + '\n';
618
+ src = src.substring(nextLine.length + 1);
619
+ endEarly = true;
620
+ }
621
+
622
+ if (!endEarly) {
623
+ var nextBulletRegex = new RegExp("^ {0," + Math.min(3, indent - 1) + "}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))");
624
+ var hrRegex = new RegExp("^ {0," + Math.min(3, indent - 1) + "}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)");
625
+ var fencesBeginRegex = new RegExp("^ {0," + Math.min(3, indent - 1) + "}(?:```|~~~)");
626
+ var headingBeginRegex = new RegExp("^ {0," + Math.min(3, indent - 1) + "}#"); // Check if following lines should be included in List Item
627
+
628
+ while (src) {
629
+ rawLine = src.split('\n', 1)[0];
630
+ line = rawLine; // Re-align to follow commonmark nesting rules
631
+
632
+ if (this.options.pedantic) {
633
+ line = line.replace(/^ {1,4}(?=( {4})*[^ ])/g, ' ');
634
+ } // End list item if found code fences
635
+
636
+
637
+ if (fencesBeginRegex.test(line)) {
638
+ break;
639
+ } // End list item if found start of new heading
640
+
641
+
642
+ if (headingBeginRegex.test(line)) {
643
+ break;
644
+ } // End list item if found start of new bullet
645
+
646
+
647
+ if (nextBulletRegex.test(line)) {
648
+ break;
649
+ } // Horizontal rule found
650
+
651
+
652
+ if (hrRegex.test(src)) {
653
+ break;
654
+ }
655
+
656
+ if (line.search(/[^ ]/) >= indent || !line.trim()) {
657
+ // Dedent if possible
658
+ itemContents += '\n' + line.slice(indent);
659
+ } else if (!blankLine) {
660
+ // Until blank line, item doesn't need indentation
661
+ itemContents += '\n' + line;
662
+ } else {
663
+ // Otherwise, improper indentation ends this item
664
+ break;
665
+ }
666
+
667
+ if (!blankLine && !line.trim()) {
668
+ // Check if current line is blank
669
+ blankLine = true;
670
+ }
671
+
672
+ raw += rawLine + '\n';
673
+ src = src.substring(rawLine.length + 1);
674
+ }
675
+ }
676
+
677
+ if (!list.loose) {
678
+ // If the previous item ended with a blank line, the list is loose
679
+ if (endsWithBlankLine) {
680
+ list.loose = true;
681
+ } else if (/\n *\n *$/.test(raw)) {
682
+ endsWithBlankLine = true;
683
+ }
684
+ } // Check for task list items
685
+
686
+
687
+ if (this.options.gfm) {
688
+ istask = /^\[[ xX]\] /.exec(itemContents);
689
+
690
+ if (istask) {
691
+ ischecked = istask[0] !== '[ ] ';
692
+ itemContents = itemContents.replace(/^\[[ xX]\] +/, '');
693
+ }
694
+ }
695
+
696
+ list.items.push({
697
+ type: 'list_item',
698
+ raw: raw,
699
+ task: !!istask,
700
+ checked: ischecked,
701
+ loose: false,
702
+ text: itemContents
703
+ });
704
+ list.raw += raw;
705
+ } // Do not consume newlines at end of final item. Alternatively, make itemRegex *start* with any newlines to simplify/speed up endsWithBlankLine logic
706
+
707
+
708
+ list.items[list.items.length - 1].raw = raw.trimRight();
709
+ list.items[list.items.length - 1].text = itemContents.trimRight();
710
+ list.raw = list.raw.trimRight();
711
+ var l = list.items.length; // Item child tokens handled here at end because we needed to have the final item to trim it first
712
+
713
+ for (i = 0; i < l; i++) {
714
+ this.lexer.state.top = false;
715
+ list.items[i].tokens = this.lexer.blockTokens(list.items[i].text, []);
716
+ var spacers = list.items[i].tokens.filter(function (t) {
717
+ return t.type === 'space';
718
+ });
719
+ var hasMultipleLineBreaks = spacers.every(function (t) {
720
+ var chars = t.raw.split('');
721
+ var lineBreaks = 0;
722
+
723
+ for (var _iterator = _createForOfIteratorHelperLoose(chars), _step; !(_step = _iterator()).done;) {
724
+ var _char = _step.value;
725
+
726
+ if (_char === '\n') {
727
+ lineBreaks += 1;
728
+ }
729
+
730
+ if (lineBreaks > 1) {
731
+ return true;
732
+ }
733
+ }
734
+
735
+ return false;
736
+ });
737
+
738
+ if (!list.loose && spacers.length && hasMultipleLineBreaks) {
739
+ // Having a single line break doesn't mean a list is loose. A single line break is terminating the last list item
740
+ list.loose = true;
741
+ list.items[i].loose = true;
742
+ }
743
+ }
744
+
745
+ return list;
746
+ }
747
+ };
748
+
749
+ _proto.html = function html(src) {
750
+ var cap = this.rules.block.html.exec(src);
751
+
752
+ if (cap) {
753
+ var token = {
754
+ type: 'html',
755
+ raw: cap[0],
756
+ pre: !this.options.sanitizer && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
757
+ text: cap[0]
758
+ };
759
+
760
+ if (this.options.sanitize) {
761
+ token.type = 'paragraph';
762
+ token.text = this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]);
763
+ token.tokens = [];
764
+ this.lexer.inline(token.text, token.tokens);
765
+ }
766
+
767
+ return token;
768
+ }
769
+ };
770
+
771
+ _proto.def = function def(src) {
772
+ var cap = this.rules.block.def.exec(src);
773
+
774
+ if (cap) {
775
+ if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
776
+ var tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
777
+ return {
778
+ type: 'def',
779
+ tag: tag,
780
+ raw: cap[0],
781
+ href: cap[2],
782
+ title: cap[3]
783
+ };
784
+ }
785
+ };
786
+
787
+ _proto.table = function table(src) {
788
+ var cap = this.rules.block.table.exec(src);
789
+
790
+ if (cap) {
791
+ var item = {
792
+ type: 'table',
793
+ header: splitCells(cap[1]).map(function (c) {
794
+ return {
795
+ text: c
796
+ };
797
+ }),
798
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
799
+ rows: cap[3] && cap[3].trim() ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
800
+ };
801
+
802
+ if (item.header.length === item.align.length) {
803
+ item.raw = cap[0];
804
+ var l = item.align.length;
805
+ var i, j, k, row;
806
+
807
+ for (i = 0; i < l; i++) {
808
+ if (/^ *-+: *$/.test(item.align[i])) {
809
+ item.align[i] = 'right';
810
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
811
+ item.align[i] = 'center';
812
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
813
+ item.align[i] = 'left';
814
+ } else {
815
+ item.align[i] = null;
816
+ }
817
+ }
818
+
819
+ l = item.rows.length;
820
+
821
+ for (i = 0; i < l; i++) {
822
+ item.rows[i] = splitCells(item.rows[i], item.header.length).map(function (c) {
823
+ return {
824
+ text: c
825
+ };
826
+ });
827
+ } // parse child tokens inside headers and cells
828
+ // header child tokens
829
+
830
+
831
+ l = item.header.length;
832
+
833
+ for (j = 0; j < l; j++) {
834
+ item.header[j].tokens = [];
835
+ this.lexer.inline(item.header[j].text, item.header[j].tokens);
836
+ } // cell child tokens
837
+
838
+
839
+ l = item.rows.length;
840
+
841
+ for (j = 0; j < l; j++) {
842
+ row = item.rows[j];
843
+
844
+ for (k = 0; k < row.length; k++) {
845
+ row[k].tokens = [];
846
+ this.lexer.inline(row[k].text, row[k].tokens);
847
+ }
848
+ }
849
+
850
+ return item;
851
+ }
852
+ }
853
+ };
854
+
855
+ _proto.lheading = function lheading(src) {
856
+ var cap = this.rules.block.lheading.exec(src);
857
+
858
+ if (cap) {
859
+ var token = {
860
+ type: 'heading',
861
+ raw: cap[0],
862
+ depth: cap[2].charAt(0) === '=' ? 1 : 2,
863
+ text: cap[1],
864
+ tokens: []
865
+ };
866
+ this.lexer.inline(token.text, token.tokens);
867
+ return token;
868
+ }
869
+ };
870
+
871
+ _proto.paragraph = function paragraph(src) {
872
+ var cap = this.rules.block.paragraph.exec(src);
873
+
874
+ if (cap) {
875
+ var token = {
876
+ type: 'paragraph',
877
+ raw: cap[0],
878
+ text: cap[1].charAt(cap[1].length - 1) === '\n' ? cap[1].slice(0, -1) : cap[1],
879
+ tokens: []
880
+ };
881
+ this.lexer.inline(token.text, token.tokens);
882
+ return token;
883
+ }
884
+ };
885
+
886
+ _proto.text = function text(src) {
887
+ var cap = this.rules.block.text.exec(src);
888
+
889
+ if (cap) {
890
+ var token = {
891
+ type: 'text',
892
+ raw: cap[0],
893
+ text: cap[0],
894
+ tokens: []
895
+ };
896
+ this.lexer.inline(token.text, token.tokens);
897
+ return token;
898
+ }
899
+ };
900
+
901
+ _proto.escape = function escape$1(src) {
902
+ var cap = this.rules.inline.escape.exec(src);
903
+
904
+ if (cap) {
905
+ return {
906
+ type: 'escape',
907
+ raw: cap[0],
908
+ text: escape(cap[1])
909
+ };
910
+ }
911
+ };
912
+
913
+ _proto.tag = function tag(src) {
914
+ var cap = this.rules.inline.tag.exec(src);
915
+
916
+ if (cap) {
917
+ if (!this.lexer.state.inLink && /^<a /i.test(cap[0])) {
918
+ this.lexer.state.inLink = true;
919
+ } else if (this.lexer.state.inLink && /^<\/a>/i.test(cap[0])) {
920
+ this.lexer.state.inLink = false;
921
+ }
922
+
923
+ if (!this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
924
+ this.lexer.state.inRawBlock = true;
925
+ } else if (this.lexer.state.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
926
+ this.lexer.state.inRawBlock = false;
927
+ }
928
+
929
+ return {
930
+ type: this.options.sanitize ? 'text' : 'html',
931
+ raw: cap[0],
932
+ inLink: this.lexer.state.inLink,
933
+ inRawBlock: this.lexer.state.inRawBlock,
934
+ text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]) : cap[0]
935
+ };
936
+ }
937
+ };
938
+
939
+ _proto.link = function link(src) {
940
+ var cap = this.rules.inline.link.exec(src);
941
+
942
+ if (cap) {
943
+ var trimmedUrl = cap[2].trim();
944
+
945
+ if (!this.options.pedantic && /^</.test(trimmedUrl)) {
946
+ // commonmark requires matching angle brackets
947
+ if (!/>$/.test(trimmedUrl)) {
948
+ return;
949
+ } // ending angle bracket cannot be escaped
950
+
951
+
952
+ var rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\');
953
+
954
+ if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {
955
+ return;
956
+ }
957
+ } else {
958
+ // find closing parenthesis
959
+ var lastParenIndex = findClosingBracket(cap[2], '()');
960
+
961
+ if (lastParenIndex > -1) {
962
+ var start = cap[0].indexOf('!') === 0 ? 5 : 4;
963
+ var linkLen = start + cap[1].length + lastParenIndex;
964
+ cap[2] = cap[2].substring(0, lastParenIndex);
965
+ cap[0] = cap[0].substring(0, linkLen).trim();
966
+ cap[3] = '';
967
+ }
968
+ }
969
+
970
+ var href = cap[2];
971
+ var title = '';
972
+
973
+ if (this.options.pedantic) {
974
+ // split pedantic href and title
975
+ var link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
976
+
977
+ if (link) {
978
+ href = link[1];
979
+ title = link[3];
980
+ }
981
+ } else {
982
+ title = cap[3] ? cap[3].slice(1, -1) : '';
983
+ }
984
+
985
+ href = href.trim();
986
+
987
+ if (/^</.test(href)) {
988
+ if (this.options.pedantic && !/>$/.test(trimmedUrl)) {
989
+ // pedantic allows starting angle bracket without ending angle bracket
990
+ href = href.slice(1);
991
+ } else {
992
+ href = href.slice(1, -1);
993
+ }
994
+ }
995
+
996
+ return outputLink(cap, {
997
+ href: href ? href.replace(this.rules.inline._escapes, '$1') : href,
998
+ title: title ? title.replace(this.rules.inline._escapes, '$1') : title
999
+ }, cap[0], this.lexer);
1000
+ }
1001
+ };
1002
+
1003
+ _proto.reflink = function reflink(src, links) {
1004
+ var cap;
1005
+
1006
+ if ((cap = this.rules.inline.reflink.exec(src)) || (cap = this.rules.inline.nolink.exec(src))) {
1007
+ var link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
1008
+ link = links[link.toLowerCase()];
1009
+
1010
+ if (!link || !link.href) {
1011
+ var text = cap[0].charAt(0);
1012
+ return {
1013
+ type: 'text',
1014
+ raw: text,
1015
+ text: text
1016
+ };
1017
+ }
1018
+
1019
+ return outputLink(cap, link, cap[0], this.lexer);
1020
+ }
1021
+ };
1022
+
1023
+ _proto.emStrong = function emStrong(src, maskedSrc, prevChar) {
1024
+ if (prevChar === void 0) {
1025
+ prevChar = '';
1026
+ }
1027
+
1028
+ var match = this.rules.inline.emStrong.lDelim.exec(src);
1029
+ if (!match) return; // _ can't be between two alphanumerics. \p{L}\p{N} includes non-english alphabet/numbers as well
1030
+
1031
+ if (match[3] && prevChar.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/)) return;
1032
+ var nextChar = match[1] || match[2] || '';
1033
+
1034
+ if (!nextChar || nextChar && (prevChar === '' || this.rules.inline.punctuation.exec(prevChar))) {
1035
+ var lLength = match[0].length - 1;
1036
+ var rDelim,
1037
+ rLength,
1038
+ delimTotal = lLength,
1039
+ midDelimTotal = 0;
1040
+ var endReg = match[0][0] === '*' ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;
1041
+ endReg.lastIndex = 0; // Clip maskedSrc to same section of string as src (move to lexer?)
1042
+
1043
+ maskedSrc = maskedSrc.slice(-1 * src.length + lLength);
1044
+
1045
+ while ((match = endReg.exec(maskedSrc)) != null) {
1046
+ rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];
1047
+ if (!rDelim) continue; // skip single * in __abc*abc__
1048
+
1049
+ rLength = rDelim.length;
1050
+
1051
+ if (match[3] || match[4]) {
1052
+ // found another Left Delim
1053
+ delimTotal += rLength;
1054
+ continue;
1055
+ } else if (match[5] || match[6]) {
1056
+ // either Left or Right Delim
1057
+ if (lLength % 3 && !((lLength + rLength) % 3)) {
1058
+ midDelimTotal += rLength;
1059
+ continue; // CommonMark Emphasis Rules 9-10
1060
+ }
1061
+ }
1062
+
1063
+ delimTotal -= rLength;
1064
+ if (delimTotal > 0) continue; // Haven't found enough closing delimiters
1065
+ // Remove extra characters. *a*** -> *a*
1066
+
1067
+ rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal); // Create `em` if smallest delimiter has odd char count. *a***
1068
+
1069
+ if (Math.min(lLength, rLength) % 2) {
1070
+ var _text = src.slice(1, lLength + match.index + rLength);
1071
+
1072
+ return {
1073
+ type: 'em',
1074
+ raw: src.slice(0, lLength + match.index + rLength + 1),
1075
+ text: _text,
1076
+ tokens: this.lexer.inlineTokens(_text, [])
1077
+ };
1078
+ } // Create 'strong' if smallest delimiter has even char count. **a***
1079
+
1080
+
1081
+ var text = src.slice(2, lLength + match.index + rLength - 1);
1082
+ return {
1083
+ type: 'strong',
1084
+ raw: src.slice(0, lLength + match.index + rLength + 1),
1085
+ text: text,
1086
+ tokens: this.lexer.inlineTokens(text, [])
1087
+ };
1088
+ }
1089
+ }
1090
+ };
1091
+
1092
+ _proto.codespan = function codespan(src) {
1093
+ var cap = this.rules.inline.code.exec(src);
1094
+
1095
+ if (cap) {
1096
+ var text = cap[2].replace(/\n/g, ' ');
1097
+ var hasNonSpaceChars = /[^ ]/.test(text);
1098
+ var hasSpaceCharsOnBothEnds = /^ /.test(text) && / $/.test(text);
1099
+
1100
+ if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {
1101
+ text = text.substring(1, text.length - 1);
1102
+ }
1103
+
1104
+ text = escape(text, true);
1105
+ return {
1106
+ type: 'codespan',
1107
+ raw: cap[0],
1108
+ text: text
1109
+ };
1110
+ }
1111
+ };
1112
+
1113
+ _proto.br = function br(src) {
1114
+ var cap = this.rules.inline.br.exec(src);
1115
+
1116
+ if (cap) {
1117
+ return {
1118
+ type: 'br',
1119
+ raw: cap[0]
1120
+ };
1121
+ }
1122
+ };
1123
+
1124
+ _proto.del = function del(src) {
1125
+ var cap = this.rules.inline.del.exec(src);
1126
+
1127
+ if (cap) {
1128
+ return {
1129
+ type: 'del',
1130
+ raw: cap[0],
1131
+ text: cap[2],
1132
+ tokens: this.lexer.inlineTokens(cap[2], [])
1133
+ };
1134
+ }
1135
+ };
1136
+
1137
+ _proto.autolink = function autolink(src, mangle) {
1138
+ var cap = this.rules.inline.autolink.exec(src);
1139
+
1140
+ if (cap) {
1141
+ var text, href;
1142
+
1143
+ if (cap[2] === '@') {
1144
+ text = escape(this.options.mangle ? mangle(cap[1]) : cap[1]);
1145
+ href = 'mailto:' + text;
1146
+ } else {
1147
+ text = escape(cap[1]);
1148
+ href = text;
1149
+ }
1150
+
1151
+ return {
1152
+ type: 'link',
1153
+ raw: cap[0],
1154
+ text: text,
1155
+ href: href,
1156
+ tokens: [{
1157
+ type: 'text',
1158
+ raw: text,
1159
+ text: text
1160
+ }]
1161
+ };
1162
+ }
1163
+ };
1164
+
1165
+ _proto.url = function url(src, mangle) {
1166
+ var cap;
1167
+
1168
+ if (cap = this.rules.inline.url.exec(src)) {
1169
+ var text, href;
1170
+
1171
+ if (cap[2] === '@') {
1172
+ text = escape(this.options.mangle ? mangle(cap[0]) : cap[0]);
1173
+ href = 'mailto:' + text;
1174
+ } else {
1175
+ // do extended autolink path validation
1176
+ var prevCapZero;
1177
+
1178
+ do {
1179
+ prevCapZero = cap[0];
1180
+ cap[0] = this.rules.inline._backpedal.exec(cap[0])[0];
1181
+ } while (prevCapZero !== cap[0]);
1182
+
1183
+ text = escape(cap[0]);
1184
+
1185
+ if (cap[1] === 'www.') {
1186
+ href = 'http://' + text;
1187
+ } else {
1188
+ href = text;
1189
+ }
1190
+ }
1191
+
1192
+ return {
1193
+ type: 'link',
1194
+ raw: cap[0],
1195
+ text: text,
1196
+ href: href,
1197
+ tokens: [{
1198
+ type: 'text',
1199
+ raw: text,
1200
+ text: text
1201
+ }]
1202
+ };
1203
+ }
1204
+ };
1205
+
1206
+ _proto.inlineText = function inlineText(src, smartypants) {
1207
+ var cap = this.rules.inline.text.exec(src);
1208
+
1209
+ if (cap) {
1210
+ var text;
1211
+
1212
+ if (this.lexer.state.inRawBlock) {
1213
+ text = this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]) : cap[0];
1214
+ } else {
1215
+ text = escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]);
1216
+ }
1217
+
1218
+ return {
1219
+ type: 'text',
1220
+ raw: cap[0],
1221
+ text: text
1222
+ };
1223
+ }
1224
+ };
1225
+
1226
+ return Tokenizer;
1227
+ }();
1228
+
1229
+ /**
1230
+ * Block-Level Grammar
1231
+ */
1232
+
1233
+ var block = {
1234
+ newline: /^(?: *(?:\n|$))+/,
1235
+ code: /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,
1236
+ fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
1237
+ hr: /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,
1238
+ heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,
1239
+ blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
1240
+ list: /^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,
1241
+ html: '^ {0,3}(?:' // optional indentation
1242
+ + '<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
1243
+ + '|comment[^\\n]*(\\n+|$)' // (2)
1244
+ + '|<\\?[\\s\\S]*?(?:\\?>\\n*|$)' // (3)
1245
+ + '|<![A-Z][\\s\\S]*?(?:>\\n*|$)' // (4)
1246
+ + '|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)' // (5)
1247
+ + '|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (6)
1248
+ + '|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) open tag
1249
+ + '|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) closing tag
1250
+ + ')',
1251
+ def: /^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,
1252
+ table: noopTest,
1253
+ lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,
1254
+ // regex template, placeholders will be replaced according to different paragraph
1255
+ // interruption rules of commonmark and the original markdown spec:
1256
+ _paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,
1257
+ text: /^[^\n]+/
1258
+ };
1259
+ block._label = /(?!\s*\])(?:\\.|[^\[\]\\])+/;
1260
+ block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
1261
+ block.def = edit(block.def).replace('label', block._label).replace('title', block._title).getRegex();
1262
+ block.bullet = /(?:[*+-]|\d{1,9}[.)])/;
1263
+ block.listItemStart = edit(/^( *)(bull) */).replace('bull', block.bullet).getRegex();
1264
+ block.list = edit(block.list).replace(/bull/g, block.bullet).replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))').replace('def', '\\n+(?=' + block.def.source + ')').getRegex();
1265
+ block._tag = 'address|article|aside|base|basefont|blockquote|body|caption' + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption' + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe' + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option' + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr' + '|track|ul';
1266
+ block._comment = /<!--(?!-?>)[\s\S]*?(?:-->|$)/;
1267
+ block.html = edit(block.html, 'i').replace('comment', block._comment).replace('tag', block._tag).replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();
1268
+ block.paragraph = edit(block._paragraph).replace('hr', block.hr).replace('heading', ' {0,3}#{1,6} ').replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
1269
+ .replace('|table', '').replace('blockquote', ' {0,3}>').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
1270
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)').replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
1271
+ .getRegex();
1272
+ block.blockquote = edit(block.blockquote).replace('paragraph', block.paragraph).getRegex();
1273
+ /**
1274
+ * Normal Block Grammar
1275
+ */
1276
+
1277
+ block.normal = merge({}, block);
1278
+ /**
1279
+ * GFM Block Grammar
1280
+ */
1281
+
1282
+ block.gfm = merge({}, block.normal, {
1283
+ table: '^ *([^\\n ].*\\|.*)\\n' // Header
1284
+ + ' {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?' // Align
1285
+ + '(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)' // Cells
1286
+
1287
+ });
1288
+ block.gfm.table = edit(block.gfm.table).replace('hr', block.hr).replace('heading', ' {0,3}#{1,6} ').replace('blockquote', ' {0,3}>').replace('code', ' {4}[^\\n]').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
1289
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)').replace('tag', block._tag) // tables can be interrupted by type (6) html blocks
1290
+ .getRegex();
1291
+ block.gfm.paragraph = edit(block._paragraph).replace('hr', block.hr).replace('heading', ' {0,3}#{1,6} ').replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
1292
+ .replace('table', block.gfm.table) // interrupt paragraphs with table
1293
+ .replace('blockquote', ' {0,3}>').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
1294
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)').replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
1295
+ .getRegex();
1296
+ /**
1297
+ * Pedantic grammar (original John Gruber's loose markdown specification)
1298
+ */
1299
+
1300
+ block.pedantic = merge({}, block.normal, {
1301
+ html: edit('^ *(?:comment *(?:\\n|\\s*$)' + '|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)' // closed tag
1302
+ + '|<tag(?:"[^"]*"|\'[^\']*\'|\\s[^\'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))').replace('comment', block._comment).replace(/tag/g, '(?!(?:' + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub' + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)' + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b').getRegex(),
1303
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
1304
+ heading: /^(#{1,6})(.*)(?:\n+|$)/,
1305
+ fences: noopTest,
1306
+ // fences not supported
1307
+ paragraph: edit(block.normal._paragraph).replace('hr', block.hr).replace('heading', ' *#{1,6} *[^\n]').replace('lheading', block.lheading).replace('blockquote', ' {0,3}>').replace('|fences', '').replace('|list', '').replace('|html', '').getRegex()
1308
+ });
1309
+ /**
1310
+ * Inline-Level Grammar
1311
+ */
1312
+
1313
+ var inline = {
1314
+ escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
1315
+ autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
1316
+ url: noopTest,
1317
+ tag: '^comment' + '|^</[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
1318
+ + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
1319
+ + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. <?php ?>
1320
+ + '|^<![a-zA-Z]+\\s[\\s\\S]*?>' // declaration, e.g. <!DOCTYPE html>
1321
+ + '|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>',
1322
+ // CDATA section
1323
+ link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,
1324
+ reflink: /^!?\[(label)\]\[(ref)\]/,
1325
+ nolink: /^!?\[(ref)\](?:\[\])?/,
1326
+ reflinkSearch: 'reflink|nolink(?!\\()',
1327
+ emStrong: {
1328
+ lDelim: /^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,
1329
+ // (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left. (5) and (6) can be either Left or Right.
1330
+ // () Skip orphan inside strong () Consume to delim (1) #*** (2) a***#, a*** (3) #***a, ***a (4) ***# (5) #***# (6) a***a
1331
+ rDelimAst: /^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,
1332
+ rDelimUnd: /^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/ // ^- Not allowed for _
1333
+
1334
+ },
1335
+ code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
1336
+ br: /^( {2,}|\\)\n(?!\s*$)/,
1337
+ del: noopTest,
1338
+ text: /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
1339
+ punctuation: /^([\spunctuation])/
1340
+ }; // list of punctuation marks from CommonMark spec
1341
+ // without * and _ to handle the different emphasis markers * and _
1342
+
1343
+ inline._punctuation = '!"#$%&\'()+\\-.,/:;<=>?@\\[\\]`^{|}~';
1344
+ inline.punctuation = edit(inline.punctuation).replace(/punctuation/g, inline._punctuation).getRegex(); // sequences em should skip over [title](link), `code`, <html>
1345
+
1346
+ inline.blockSkip = /\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;
1347
+ inline.escapedEmSt = /\\\*|\\_/g;
1348
+ inline._comment = edit(block._comment).replace('(?:-->|$)', '-->').getRegex();
1349
+ inline.emStrong.lDelim = edit(inline.emStrong.lDelim).replace(/punct/g, inline._punctuation).getRegex();
1350
+ inline.emStrong.rDelimAst = edit(inline.emStrong.rDelimAst, 'g').replace(/punct/g, inline._punctuation).getRegex();
1351
+ inline.emStrong.rDelimUnd = edit(inline.emStrong.rDelimUnd, 'g').replace(/punct/g, inline._punctuation).getRegex();
1352
+ inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;
1353
+ inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
1354
+ inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
1355
+ inline.autolink = edit(inline.autolink).replace('scheme', inline._scheme).replace('email', inline._email).getRegex();
1356
+ inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
1357
+ inline.tag = edit(inline.tag).replace('comment', inline._comment).replace('attribute', inline._attribute).getRegex();
1358
+ inline._label = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;
1359
+ inline._href = /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;
1360
+ inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
1361
+ inline.link = edit(inline.link).replace('label', inline._label).replace('href', inline._href).replace('title', inline._title).getRegex();
1362
+ inline.reflink = edit(inline.reflink).replace('label', inline._label).replace('ref', block._label).getRegex();
1363
+ inline.nolink = edit(inline.nolink).replace('ref', block._label).getRegex();
1364
+ inline.reflinkSearch = edit(inline.reflinkSearch, 'g').replace('reflink', inline.reflink).replace('nolink', inline.nolink).getRegex();
1365
+ /**
1366
+ * Normal Inline Grammar
1367
+ */
1368
+
1369
+ inline.normal = merge({}, inline);
1370
+ /**
1371
+ * Pedantic Inline Grammar
1372
+ */
1373
+
1374
+ inline.pedantic = merge({}, inline.normal, {
1375
+ strong: {
1376
+ start: /^__|\*\*/,
1377
+ middle: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
1378
+ endAst: /\*\*(?!\*)/g,
1379
+ endUnd: /__(?!_)/g
1380
+ },
1381
+ em: {
1382
+ start: /^_|\*/,
1383
+ middle: /^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,
1384
+ endAst: /\*(?!\*)/g,
1385
+ endUnd: /_(?!_)/g
1386
+ },
1387
+ link: edit(/^!?\[(label)\]\((.*?)\)/).replace('label', inline._label).getRegex(),
1388
+ reflink: edit(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace('label', inline._label).getRegex()
1389
+ });
1390
+ /**
1391
+ * GFM Inline Grammar
1392
+ */
1393
+
1394
+ inline.gfm = merge({}, inline.normal, {
1395
+ escape: edit(inline.escape).replace('])', '~|])').getRegex(),
1396
+ _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,
1397
+ url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,
1398
+ _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
1399
+ del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
1400
+ text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
1401
+ });
1402
+ inline.gfm.url = edit(inline.gfm.url, 'i').replace('email', inline.gfm._extended_email).getRegex();
1403
+ /**
1404
+ * GFM + Line Breaks Inline Grammar
1405
+ */
1406
+
1407
+ inline.breaks = merge({}, inline.gfm, {
1408
+ br: edit(inline.br).replace('{2,}', '*').getRegex(),
1409
+ text: edit(inline.gfm.text).replace('\\b_', '\\b_| {2,}\\n').replace(/\{2,\}/g, '*').getRegex()
1410
+ });
1411
+
1412
+ /**
1413
+ * smartypants text replacement
1414
+ * @param {string} text
1415
+ */
1416
+
1417
+ function smartypants(text) {
1418
+ return text // em-dashes
1419
+ .replace(/---/g, "\u2014") // en-dashes
1420
+ .replace(/--/g, "\u2013") // opening singles
1421
+ .replace(/(^|[-\u2014/(\[{"\s])'/g, "$1\u2018") // closing singles & apostrophes
1422
+ .replace(/'/g, "\u2019") // opening doubles
1423
+ .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, "$1\u201C") // closing doubles
1424
+ .replace(/"/g, "\u201D") // ellipses
1425
+ .replace(/\.{3}/g, "\u2026");
1426
+ }
1427
+ /**
1428
+ * mangle email addresses
1429
+ * @param {string} text
1430
+ */
1431
+
1432
+
1433
+ function mangle(text) {
1434
+ var out = '',
1435
+ i,
1436
+ ch;
1437
+ var l = text.length;
1438
+
1439
+ for (i = 0; i < l; i++) {
1440
+ ch = text.charCodeAt(i);
1441
+
1442
+ if (Math.random() > 0.5) {
1443
+ ch = 'x' + ch.toString(16);
1444
+ }
1445
+
1446
+ out += '&#' + ch + ';';
1447
+ }
1448
+
1449
+ return out;
1450
+ }
1451
+ /**
1452
+ * Block Lexer
1453
+ */
1454
+
1455
+
1456
+ var Lexer = /*#__PURE__*/function () {
1457
+ function Lexer(options) {
1458
+ this.tokens = [];
1459
+ this.tokens.links = Object.create(null);
1460
+ this.options = options || exports.defaults;
1461
+ this.options.tokenizer = this.options.tokenizer || new Tokenizer();
1462
+ this.tokenizer = this.options.tokenizer;
1463
+ this.tokenizer.options = this.options;
1464
+ this.tokenizer.lexer = this;
1465
+ this.inlineQueue = [];
1466
+ this.state = {
1467
+ inLink: false,
1468
+ inRawBlock: false,
1469
+ top: true
1470
+ };
1471
+ var rules = {
1472
+ block: block.normal,
1473
+ inline: inline.normal
1474
+ };
1475
+
1476
+ if (this.options.pedantic) {
1477
+ rules.block = block.pedantic;
1478
+ rules.inline = inline.pedantic;
1479
+ } else if (this.options.gfm) {
1480
+ rules.block = block.gfm;
1481
+
1482
+ if (this.options.breaks) {
1483
+ rules.inline = inline.breaks;
1484
+ } else {
1485
+ rules.inline = inline.gfm;
1486
+ }
1487
+ }
1488
+
1489
+ this.tokenizer.rules = rules;
1490
+ }
1491
+ /**
1492
+ * Expose Rules
1493
+ */
1494
+
1495
+
1496
+ /**
1497
+ * Static Lex Method
1498
+ */
1499
+ Lexer.lex = function lex(src, options) {
1500
+ var lexer = new Lexer(options);
1501
+ return lexer.lex(src);
1502
+ }
1503
+ /**
1504
+ * Static Lex Inline Method
1505
+ */
1506
+ ;
1507
+
1508
+ Lexer.lexInline = function lexInline(src, options) {
1509
+ var lexer = new Lexer(options);
1510
+ return lexer.inlineTokens(src);
1511
+ }
1512
+ /**
1513
+ * Preprocessing
1514
+ */
1515
+ ;
1516
+
1517
+ var _proto = Lexer.prototype;
1518
+
1519
+ _proto.lex = function lex(src) {
1520
+ src = src.replace(/\r\n|\r/g, '\n');
1521
+ this.blockTokens(src, this.tokens);
1522
+ var next;
1523
+
1524
+ while (next = this.inlineQueue.shift()) {
1525
+ this.inlineTokens(next.src, next.tokens);
1526
+ }
1527
+
1528
+ return this.tokens;
1529
+ }
1530
+ /**
1531
+ * Lexing
1532
+ */
1533
+ ;
1534
+
1535
+ _proto.blockTokens = function blockTokens(src, tokens) {
1536
+ var _this = this;
1537
+
1538
+ if (tokens === void 0) {
1539
+ tokens = [];
1540
+ }
1541
+
1542
+ if (this.options.pedantic) {
1543
+ src = src.replace(/\t/g, ' ').replace(/^ +$/gm, '');
1544
+ } else {
1545
+ src = src.replace(/^( *)(\t+)/gm, function (_, leading, tabs) {
1546
+ return leading + ' '.repeat(tabs.length);
1547
+ });
1548
+ }
1549
+
1550
+ var token, lastToken, cutSrc, lastParagraphClipped;
1551
+
1552
+ while (src) {
1553
+ if (this.options.extensions && this.options.extensions.block && this.options.extensions.block.some(function (extTokenizer) {
1554
+ if (token = extTokenizer.call({
1555
+ lexer: _this
1556
+ }, src, tokens)) {
1557
+ src = src.substring(token.raw.length);
1558
+ tokens.push(token);
1559
+ return true;
1560
+ }
1561
+
1562
+ return false;
1563
+ })) {
1564
+ continue;
1565
+ } // newline
1566
+
1567
+
1568
+ if (token = this.tokenizer.space(src)) {
1569
+ src = src.substring(token.raw.length);
1570
+
1571
+ if (token.raw.length === 1 && tokens.length > 0) {
1572
+ // if there's a single \n as a spacer, it's terminating the last line,
1573
+ // so move it there so that we don't get unecessary paragraph tags
1574
+ tokens[tokens.length - 1].raw += '\n';
1575
+ } else {
1576
+ tokens.push(token);
1577
+ }
1578
+
1579
+ continue;
1580
+ } // code
1581
+
1582
+
1583
+ if (token = this.tokenizer.code(src)) {
1584
+ src = src.substring(token.raw.length);
1585
+ lastToken = tokens[tokens.length - 1]; // An indented code block cannot interrupt a paragraph.
1586
+
1587
+ if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {
1588
+ lastToken.raw += '\n' + token.raw;
1589
+ lastToken.text += '\n' + token.text;
1590
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1591
+ } else {
1592
+ tokens.push(token);
1593
+ }
1594
+
1595
+ continue;
1596
+ } // fences
1597
+
1598
+
1599
+ if (token = this.tokenizer.fences(src)) {
1600
+ src = src.substring(token.raw.length);
1601
+ tokens.push(token);
1602
+ continue;
1603
+ } // heading
1604
+
1605
+
1606
+ if (token = this.tokenizer.heading(src)) {
1607
+ src = src.substring(token.raw.length);
1608
+ tokens.push(token);
1609
+ continue;
1610
+ } // hr
1611
+
1612
+
1613
+ if (token = this.tokenizer.hr(src)) {
1614
+ src = src.substring(token.raw.length);
1615
+ tokens.push(token);
1616
+ continue;
1617
+ } // blockquote
1618
+
1619
+
1620
+ if (token = this.tokenizer.blockquote(src)) {
1621
+ src = src.substring(token.raw.length);
1622
+ tokens.push(token);
1623
+ continue;
1624
+ } // list
1625
+
1626
+
1627
+ if (token = this.tokenizer.list(src)) {
1628
+ src = src.substring(token.raw.length);
1629
+ tokens.push(token);
1630
+ continue;
1631
+ } // html
1632
+
1633
+
1634
+ if (token = this.tokenizer.html(src)) {
1635
+ src = src.substring(token.raw.length);
1636
+ tokens.push(token);
1637
+ continue;
1638
+ } // def
1639
+
1640
+
1641
+ if (token = this.tokenizer.def(src)) {
1642
+ src = src.substring(token.raw.length);
1643
+ lastToken = tokens[tokens.length - 1];
1644
+
1645
+ if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {
1646
+ lastToken.raw += '\n' + token.raw;
1647
+ lastToken.text += '\n' + token.raw;
1648
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1649
+ } else if (!this.tokens.links[token.tag]) {
1650
+ this.tokens.links[token.tag] = {
1651
+ href: token.href,
1652
+ title: token.title
1653
+ };
1654
+ }
1655
+
1656
+ continue;
1657
+ } // table (gfm)
1658
+
1659
+
1660
+ if (token = this.tokenizer.table(src)) {
1661
+ src = src.substring(token.raw.length);
1662
+ tokens.push(token);
1663
+ continue;
1664
+ } // lheading
1665
+
1666
+
1667
+ if (token = this.tokenizer.lheading(src)) {
1668
+ src = src.substring(token.raw.length);
1669
+ tokens.push(token);
1670
+ continue;
1671
+ } // top-level paragraph
1672
+ // prevent paragraph consuming extensions by clipping 'src' to extension start
1673
+
1674
+
1675
+ cutSrc = src;
1676
+
1677
+ if (this.options.extensions && this.options.extensions.startBlock) {
1678
+ (function () {
1679
+ var startIndex = Infinity;
1680
+ var tempSrc = src.slice(1);
1681
+ var tempStart = void 0;
1682
+
1683
+ _this.options.extensions.startBlock.forEach(function (getStartIndex) {
1684
+ tempStart = getStartIndex.call({
1685
+ lexer: this
1686
+ }, tempSrc);
1687
+
1688
+ if (typeof tempStart === 'number' && tempStart >= 0) {
1689
+ startIndex = Math.min(startIndex, tempStart);
1690
+ }
1691
+ });
1692
+
1693
+ if (startIndex < Infinity && startIndex >= 0) {
1694
+ cutSrc = src.substring(0, startIndex + 1);
1695
+ }
1696
+ })();
1697
+ }
1698
+
1699
+ if (this.state.top && (token = this.tokenizer.paragraph(cutSrc))) {
1700
+ lastToken = tokens[tokens.length - 1];
1701
+
1702
+ if (lastParagraphClipped && lastToken.type === 'paragraph') {
1703
+ lastToken.raw += '\n' + token.raw;
1704
+ lastToken.text += '\n' + token.text;
1705
+ this.inlineQueue.pop();
1706
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1707
+ } else {
1708
+ tokens.push(token);
1709
+ }
1710
+
1711
+ lastParagraphClipped = cutSrc.length !== src.length;
1712
+ src = src.substring(token.raw.length);
1713
+ continue;
1714
+ } // text
1715
+
1716
+
1717
+ if (token = this.tokenizer.text(src)) {
1718
+ src = src.substring(token.raw.length);
1719
+ lastToken = tokens[tokens.length - 1];
1720
+
1721
+ if (lastToken && lastToken.type === 'text') {
1722
+ lastToken.raw += '\n' + token.raw;
1723
+ lastToken.text += '\n' + token.text;
1724
+ this.inlineQueue.pop();
1725
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1726
+ } else {
1727
+ tokens.push(token);
1728
+ }
1729
+
1730
+ continue;
1731
+ }
1732
+
1733
+ if (src) {
1734
+ var errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
1735
+
1736
+ if (this.options.silent) {
1737
+ console.error(errMsg);
1738
+ break;
1739
+ } else {
1740
+ throw new Error(errMsg);
1741
+ }
1742
+ }
1743
+ }
1744
+
1745
+ this.state.top = true;
1746
+ return tokens;
1747
+ };
1748
+
1749
+ _proto.inline = function inline(src, tokens) {
1750
+ if (tokens === void 0) {
1751
+ tokens = [];
1752
+ }
1753
+
1754
+ this.inlineQueue.push({
1755
+ src: src,
1756
+ tokens: tokens
1757
+ });
1758
+ return tokens;
1759
+ }
1760
+ /**
1761
+ * Lexing/Compiling
1762
+ */
1763
+ ;
1764
+
1765
+ _proto.inlineTokens = function inlineTokens(src, tokens) {
1766
+ var _this2 = this;
1767
+
1768
+ if (tokens === void 0) {
1769
+ tokens = [];
1770
+ }
1771
+
1772
+ var token, lastToken, cutSrc; // String with links masked to avoid interference with em and strong
1773
+
1774
+ var maskedSrc = src;
1775
+ var match;
1776
+ var keepPrevChar, prevChar; // Mask out reflinks
1777
+
1778
+ if (this.tokens.links) {
1779
+ var links = Object.keys(this.tokens.links);
1780
+
1781
+ if (links.length > 0) {
1782
+ while ((match = this.tokenizer.rules.inline.reflinkSearch.exec(maskedSrc)) != null) {
1783
+ if (links.includes(match[0].slice(match[0].lastIndexOf('[') + 1, -1))) {
1784
+ maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex);
1785
+ }
1786
+ }
1787
+ }
1788
+ } // Mask out other blocks
1789
+
1790
+
1791
+ while ((match = this.tokenizer.rules.inline.blockSkip.exec(maskedSrc)) != null) {
1792
+ maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
1793
+ } // Mask out escaped em & strong delimiters
1794
+
1795
+
1796
+ while ((match = this.tokenizer.rules.inline.escapedEmSt.exec(maskedSrc)) != null) {
1797
+ maskedSrc = maskedSrc.slice(0, match.index) + '++' + maskedSrc.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);
1798
+ }
1799
+
1800
+ while (src) {
1801
+ if (!keepPrevChar) {
1802
+ prevChar = '';
1803
+ }
1804
+
1805
+ keepPrevChar = false; // extensions
1806
+
1807
+ if (this.options.extensions && this.options.extensions.inline && this.options.extensions.inline.some(function (extTokenizer) {
1808
+ if (token = extTokenizer.call({
1809
+ lexer: _this2
1810
+ }, src, tokens)) {
1811
+ src = src.substring(token.raw.length);
1812
+ tokens.push(token);
1813
+ return true;
1814
+ }
1815
+
1816
+ return false;
1817
+ })) {
1818
+ continue;
1819
+ } // escape
1820
+
1821
+
1822
+ if (token = this.tokenizer.escape(src)) {
1823
+ src = src.substring(token.raw.length);
1824
+ tokens.push(token);
1825
+ continue;
1826
+ } // tag
1827
+
1828
+
1829
+ if (token = this.tokenizer.tag(src)) {
1830
+ src = src.substring(token.raw.length);
1831
+ lastToken = tokens[tokens.length - 1];
1832
+
1833
+ if (lastToken && token.type === 'text' && lastToken.type === 'text') {
1834
+ lastToken.raw += token.raw;
1835
+ lastToken.text += token.text;
1836
+ } else {
1837
+ tokens.push(token);
1838
+ }
1839
+
1840
+ continue;
1841
+ } // link
1842
+
1843
+
1844
+ if (token = this.tokenizer.link(src)) {
1845
+ src = src.substring(token.raw.length);
1846
+ tokens.push(token);
1847
+ continue;
1848
+ } // reflink, nolink
1849
+
1850
+
1851
+ if (token = this.tokenizer.reflink(src, this.tokens.links)) {
1852
+ src = src.substring(token.raw.length);
1853
+ lastToken = tokens[tokens.length - 1];
1854
+
1855
+ if (lastToken && token.type === 'text' && lastToken.type === 'text') {
1856
+ lastToken.raw += token.raw;
1857
+ lastToken.text += token.text;
1858
+ } else {
1859
+ tokens.push(token);
1860
+ }
1861
+
1862
+ continue;
1863
+ } // em & strong
1864
+
1865
+
1866
+ if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {
1867
+ src = src.substring(token.raw.length);
1868
+ tokens.push(token);
1869
+ continue;
1870
+ } // code
1871
+
1872
+
1873
+ if (token = this.tokenizer.codespan(src)) {
1874
+ src = src.substring(token.raw.length);
1875
+ tokens.push(token);
1876
+ continue;
1877
+ } // br
1878
+
1879
+
1880
+ if (token = this.tokenizer.br(src)) {
1881
+ src = src.substring(token.raw.length);
1882
+ tokens.push(token);
1883
+ continue;
1884
+ } // del (gfm)
1885
+
1886
+
1887
+ if (token = this.tokenizer.del(src)) {
1888
+ src = src.substring(token.raw.length);
1889
+ tokens.push(token);
1890
+ continue;
1891
+ } // autolink
1892
+
1893
+
1894
+ if (token = this.tokenizer.autolink(src, mangle)) {
1895
+ src = src.substring(token.raw.length);
1896
+ tokens.push(token);
1897
+ continue;
1898
+ } // url (gfm)
1899
+
1900
+
1901
+ if (!this.state.inLink && (token = this.tokenizer.url(src, mangle))) {
1902
+ src = src.substring(token.raw.length);
1903
+ tokens.push(token);
1904
+ continue;
1905
+ } // text
1906
+ // prevent inlineText consuming extensions by clipping 'src' to extension start
1907
+
1908
+
1909
+ cutSrc = src;
1910
+
1911
+ if (this.options.extensions && this.options.extensions.startInline) {
1912
+ (function () {
1913
+ var startIndex = Infinity;
1914
+ var tempSrc = src.slice(1);
1915
+ var tempStart = void 0;
1916
+
1917
+ _this2.options.extensions.startInline.forEach(function (getStartIndex) {
1918
+ tempStart = getStartIndex.call({
1919
+ lexer: this
1920
+ }, tempSrc);
1921
+
1922
+ if (typeof tempStart === 'number' && tempStart >= 0) {
1923
+ startIndex = Math.min(startIndex, tempStart);
1924
+ }
1925
+ });
1926
+
1927
+ if (startIndex < Infinity && startIndex >= 0) {
1928
+ cutSrc = src.substring(0, startIndex + 1);
1929
+ }
1930
+ })();
1931
+ }
1932
+
1933
+ if (token = this.tokenizer.inlineText(cutSrc, smartypants)) {
1934
+ src = src.substring(token.raw.length);
1935
+
1936
+ if (token.raw.slice(-1) !== '_') {
1937
+ // Track prevChar before string of ____ started
1938
+ prevChar = token.raw.slice(-1);
1939
+ }
1940
+
1941
+ keepPrevChar = true;
1942
+ lastToken = tokens[tokens.length - 1];
1943
+
1944
+ if (lastToken && lastToken.type === 'text') {
1945
+ lastToken.raw += token.raw;
1946
+ lastToken.text += token.text;
1947
+ } else {
1948
+ tokens.push(token);
1949
+ }
1950
+
1951
+ continue;
1952
+ }
1953
+
1954
+ if (src) {
1955
+ var errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
1956
+
1957
+ if (this.options.silent) {
1958
+ console.error(errMsg);
1959
+ break;
1960
+ } else {
1961
+ throw new Error(errMsg);
1962
+ }
1963
+ }
1964
+ }
1965
+
1966
+ return tokens;
1967
+ };
1968
+
1969
+ _createClass(Lexer, null, [{
1970
+ key: "rules",
1971
+ get: function get() {
1972
+ return {
1973
+ block: block,
1974
+ inline: inline
1975
+ };
1976
+ }
1977
+ }]);
1978
+
1979
+ return Lexer;
1980
+ }();
1981
+
1982
+ /**
1983
+ * Renderer
1984
+ */
1985
+
1986
+ var Renderer = /*#__PURE__*/function () {
1987
+ function Renderer(options) {
1988
+ this.options = options || exports.defaults;
1989
+ }
1990
+
1991
+ var _proto = Renderer.prototype;
1992
+
1993
+ _proto.code = function code(_code, infostring, escaped) {
1994
+ var lang = (infostring || '').match(/\S*/)[0];
1995
+
1996
+ if (this.options.highlight) {
1997
+ var out = this.options.highlight(_code, lang);
1998
+
1999
+ if (out != null && out !== _code) {
2000
+ escaped = true;
2001
+ _code = out;
2002
+ }
2003
+ }
2004
+
2005
+ _code = _code.replace(/\n$/, '') + '\n';
2006
+
2007
+ if (!lang) {
2008
+ return '<pre><code>' + (escaped ? _code : escape(_code, true)) + '</code></pre>\n';
2009
+ }
2010
+
2011
+ return '<pre><code class="' + this.options.langPrefix + escape(lang, true) + '">' + (escaped ? _code : escape(_code, true)) + '</code></pre>\n';
2012
+ }
2013
+ /**
2014
+ * @param {string} quote
2015
+ */
2016
+ ;
2017
+
2018
+ _proto.blockquote = function blockquote(quote) {
2019
+ return "<blockquote>\n" + quote + "</blockquote>\n";
2020
+ };
2021
+
2022
+ _proto.html = function html(_html) {
2023
+ return _html;
2024
+ }
2025
+ /**
2026
+ * @param {string} text
2027
+ * @param {string} level
2028
+ * @param {string} raw
2029
+ * @param {any} slugger
2030
+ */
2031
+ ;
2032
+
2033
+ _proto.heading = function heading(text, level, raw, slugger) {
2034
+ if (this.options.headerIds) {
2035
+ var id = this.options.headerPrefix + slugger.slug(raw);
2036
+ return "<h" + level + " id=\"" + id + "\">" + text + "</h" + level + ">\n";
2037
+ } // ignore IDs
2038
+
2039
+
2040
+ return "<h" + level + ">" + text + "</h" + level + ">\n";
2041
+ };
2042
+
2043
+ _proto.hr = function hr() {
2044
+ return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
2045
+ };
2046
+
2047
+ _proto.list = function list(body, ordered, start) {
2048
+ var type = ordered ? 'ol' : 'ul',
2049
+ startatt = ordered && start !== 1 ? ' start="' + start + '"' : '';
2050
+ return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
2051
+ }
2052
+ /**
2053
+ * @param {string} text
2054
+ */
2055
+ ;
2056
+
2057
+ _proto.listitem = function listitem(text) {
2058
+ return "<li>" + text + "</li>\n";
2059
+ };
2060
+
2061
+ _proto.checkbox = function checkbox(checked) {
2062
+ return '<input ' + (checked ? 'checked="" ' : '') + 'disabled="" type="checkbox"' + (this.options.xhtml ? ' /' : '') + '> ';
2063
+ }
2064
+ /**
2065
+ * @param {string} text
2066
+ */
2067
+ ;
2068
+
2069
+ _proto.paragraph = function paragraph(text) {
2070
+ return "<p>" + text + "</p>\n";
2071
+ }
2072
+ /**
2073
+ * @param {string} header
2074
+ * @param {string} body
2075
+ */
2076
+ ;
2077
+
2078
+ _proto.table = function table(header, body) {
2079
+ if (body) body = "<tbody>" + body + "</tbody>";
2080
+ return '<table>\n' + '<thead>\n' + header + '</thead>\n' + body + '</table>\n';
2081
+ }
2082
+ /**
2083
+ * @param {string} content
2084
+ */
2085
+ ;
2086
+
2087
+ _proto.tablerow = function tablerow(content) {
2088
+ return "<tr>\n" + content + "</tr>\n";
2089
+ };
2090
+
2091
+ _proto.tablecell = function tablecell(content, flags) {
2092
+ var type = flags.header ? 'th' : 'td';
2093
+ var tag = flags.align ? "<" + type + " align=\"" + flags.align + "\">" : "<" + type + ">";
2094
+ return tag + content + ("</" + type + ">\n");
2095
+ }
2096
+ /**
2097
+ * span level renderer
2098
+ * @param {string} text
2099
+ */
2100
+ ;
2101
+
2102
+ _proto.strong = function strong(text) {
2103
+ return "<strong>" + text + "</strong>";
2104
+ }
2105
+ /**
2106
+ * @param {string} text
2107
+ */
2108
+ ;
2109
+
2110
+ _proto.em = function em(text) {
2111
+ return "<em>" + text + "</em>";
2112
+ }
2113
+ /**
2114
+ * @param {string} text
2115
+ */
2116
+ ;
2117
+
2118
+ _proto.codespan = function codespan(text) {
2119
+ return "<code>" + text + "</code>";
2120
+ };
2121
+
2122
+ _proto.br = function br() {
2123
+ return this.options.xhtml ? '<br/>' : '<br>';
2124
+ }
2125
+ /**
2126
+ * @param {string} text
2127
+ */
2128
+ ;
2129
+
2130
+ _proto.del = function del(text) {
2131
+ return "<del>" + text + "</del>";
2132
+ }
2133
+ /**
2134
+ * @param {string} href
2135
+ * @param {string} title
2136
+ * @param {string} text
2137
+ */
2138
+ ;
2139
+
2140
+ _proto.link = function link(href, title, text) {
2141
+ href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
2142
+
2143
+ if (href === null) {
2144
+ return text;
2145
+ }
2146
+
2147
+ var out = '<a href="' + escape(href) + '"';
2148
+
2149
+ if (title) {
2150
+ out += ' title="' + title + '"';
2151
+ }
2152
+
2153
+ out += '>' + text + '</a>';
2154
+ return out;
2155
+ }
2156
+ /**
2157
+ * @param {string} href
2158
+ * @param {string} title
2159
+ * @param {string} text
2160
+ */
2161
+ ;
2162
+
2163
+ _proto.image = function image(href, title, text) {
2164
+ href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
2165
+
2166
+ if (href === null) {
2167
+ return text;
2168
+ }
2169
+
2170
+ var out = "<img src=\"" + href + "\" alt=\"" + text + "\"";
2171
+
2172
+ if (title) {
2173
+ out += " title=\"" + title + "\"";
2174
+ }
2175
+
2176
+ out += this.options.xhtml ? '/>' : '>';
2177
+ return out;
2178
+ };
2179
+
2180
+ _proto.text = function text(_text) {
2181
+ return _text;
2182
+ };
2183
+
2184
+ return Renderer;
2185
+ }();
2186
+
2187
+ /**
2188
+ * TextRenderer
2189
+ * returns only the textual part of the token
2190
+ */
2191
+ var TextRenderer = /*#__PURE__*/function () {
2192
+ function TextRenderer() {}
2193
+
2194
+ var _proto = TextRenderer.prototype;
2195
+
2196
+ // no need for block level renderers
2197
+ _proto.strong = function strong(text) {
2198
+ return text;
2199
+ };
2200
+
2201
+ _proto.em = function em(text) {
2202
+ return text;
2203
+ };
2204
+
2205
+ _proto.codespan = function codespan(text) {
2206
+ return text;
2207
+ };
2208
+
2209
+ _proto.del = function del(text) {
2210
+ return text;
2211
+ };
2212
+
2213
+ _proto.html = function html(text) {
2214
+ return text;
2215
+ };
2216
+
2217
+ _proto.text = function text(_text) {
2218
+ return _text;
2219
+ };
2220
+
2221
+ _proto.link = function link(href, title, text) {
2222
+ return '' + text;
2223
+ };
2224
+
2225
+ _proto.image = function image(href, title, text) {
2226
+ return '' + text;
2227
+ };
2228
+
2229
+ _proto.br = function br() {
2230
+ return '';
2231
+ };
2232
+
2233
+ return TextRenderer;
2234
+ }();
2235
+
2236
+ /**
2237
+ * Slugger generates header id
2238
+ */
2239
+ var Slugger = /*#__PURE__*/function () {
2240
+ function Slugger() {
2241
+ this.seen = {};
2242
+ }
2243
+ /**
2244
+ * @param {string} value
2245
+ */
2246
+
2247
+
2248
+ var _proto = Slugger.prototype;
2249
+
2250
+ _proto.serialize = function serialize(value) {
2251
+ return value.toLowerCase().trim() // remove html tags
2252
+ .replace(/<[!\/a-z].*?>/ig, '') // remove unwanted chars
2253
+ .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '').replace(/\s/g, '-');
2254
+ }
2255
+ /**
2256
+ * Finds the next safe (unique) slug to use
2257
+ * @param {string} originalSlug
2258
+ * @param {boolean} isDryRun
2259
+ */
2260
+ ;
2261
+
2262
+ _proto.getNextSafeSlug = function getNextSafeSlug(originalSlug, isDryRun) {
2263
+ var slug = originalSlug;
2264
+ var occurenceAccumulator = 0;
2265
+
2266
+ if (this.seen.hasOwnProperty(slug)) {
2267
+ occurenceAccumulator = this.seen[originalSlug];
2268
+
2269
+ do {
2270
+ occurenceAccumulator++;
2271
+ slug = originalSlug + '-' + occurenceAccumulator;
2272
+ } while (this.seen.hasOwnProperty(slug));
2273
+ }
2274
+
2275
+ if (!isDryRun) {
2276
+ this.seen[originalSlug] = occurenceAccumulator;
2277
+ this.seen[slug] = 0;
2278
+ }
2279
+
2280
+ return slug;
2281
+ }
2282
+ /**
2283
+ * Convert string to unique id
2284
+ * @param {object} [options]
2285
+ * @param {boolean} [options.dryrun] Generates the next unique slug without
2286
+ * updating the internal accumulator.
2287
+ */
2288
+ ;
2289
+
2290
+ _proto.slug = function slug(value, options) {
2291
+ if (options === void 0) {
2292
+ options = {};
2293
+ }
2294
+
2295
+ var slug = this.serialize(value);
2296
+ return this.getNextSafeSlug(slug, options.dryrun);
2297
+ };
2298
+
2299
+ return Slugger;
2300
+ }();
2301
+
2302
+ /**
2303
+ * Parsing & Compiling
2304
+ */
2305
+
2306
+ var Parser = /*#__PURE__*/function () {
2307
+ function Parser(options) {
2308
+ this.options = options || exports.defaults;
2309
+ this.options.renderer = this.options.renderer || new Renderer();
2310
+ this.renderer = this.options.renderer;
2311
+ this.renderer.options = this.options;
2312
+ this.textRenderer = new TextRenderer();
2313
+ this.slugger = new Slugger();
2314
+ }
2315
+ /**
2316
+ * Static Parse Method
2317
+ */
2318
+
2319
+
2320
+ Parser.parse = function parse(tokens, options) {
2321
+ var parser = new Parser(options);
2322
+ return parser.parse(tokens);
2323
+ }
2324
+ /**
2325
+ * Static Parse Inline Method
2326
+ */
2327
+ ;
2328
+
2329
+ Parser.parseInline = function parseInline(tokens, options) {
2330
+ var parser = new Parser(options);
2331
+ return parser.parseInline(tokens);
2332
+ }
2333
+ /**
2334
+ * Parse Loop
2335
+ */
2336
+ ;
2337
+
2338
+ var _proto = Parser.prototype;
2339
+
2340
+ _proto.parse = function parse(tokens, top) {
2341
+ if (top === void 0) {
2342
+ top = true;
2343
+ }
2344
+
2345
+ var out = '',
2346
+ i,
2347
+ j,
2348
+ k,
2349
+ l2,
2350
+ l3,
2351
+ row,
2352
+ cell,
2353
+ header,
2354
+ body,
2355
+ token,
2356
+ ordered,
2357
+ start,
2358
+ loose,
2359
+ itemBody,
2360
+ item,
2361
+ checked,
2362
+ task,
2363
+ checkbox,
2364
+ ret;
2365
+ var l = tokens.length;
2366
+
2367
+ for (i = 0; i < l; i++) {
2368
+ token = tokens[i]; // Run any renderer extensions
2369
+
2370
+ if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {
2371
+ ret = this.options.extensions.renderers[token.type].call({
2372
+ parser: this
2373
+ }, token);
2374
+
2375
+ if (ret !== false || !['space', 'hr', 'heading', 'code', 'table', 'blockquote', 'list', 'html', 'paragraph', 'text'].includes(token.type)) {
2376
+ out += ret || '';
2377
+ continue;
2378
+ }
2379
+ }
2380
+
2381
+ switch (token.type) {
2382
+ case 'space':
2383
+ {
2384
+ continue;
2385
+ }
2386
+
2387
+ case 'hr':
2388
+ {
2389
+ out += this.renderer.hr();
2390
+ continue;
2391
+ }
2392
+
2393
+ case 'heading':
2394
+ {
2395
+ out += this.renderer.heading(this.parseInline(token.tokens), token.depth, unescape(this.parseInline(token.tokens, this.textRenderer)), this.slugger);
2396
+ continue;
2397
+ }
2398
+
2399
+ case 'code':
2400
+ {
2401
+ out += this.renderer.code(token.text, token.lang, token.escaped);
2402
+ continue;
2403
+ }
2404
+
2405
+ case 'table':
2406
+ {
2407
+ header = ''; // header
2408
+
2409
+ cell = '';
2410
+ l2 = token.header.length;
2411
+
2412
+ for (j = 0; j < l2; j++) {
2413
+ cell += this.renderer.tablecell(this.parseInline(token.header[j].tokens), {
2414
+ header: true,
2415
+ align: token.align[j]
2416
+ });
2417
+ }
2418
+
2419
+ header += this.renderer.tablerow(cell);
2420
+ body = '';
2421
+ l2 = token.rows.length;
2422
+
2423
+ for (j = 0; j < l2; j++) {
2424
+ row = token.rows[j];
2425
+ cell = '';
2426
+ l3 = row.length;
2427
+
2428
+ for (k = 0; k < l3; k++) {
2429
+ cell += this.renderer.tablecell(this.parseInline(row[k].tokens), {
2430
+ header: false,
2431
+ align: token.align[k]
2432
+ });
2433
+ }
2434
+
2435
+ body += this.renderer.tablerow(cell);
2436
+ }
2437
+
2438
+ out += this.renderer.table(header, body);
2439
+ continue;
2440
+ }
2441
+
2442
+ case 'blockquote':
2443
+ {
2444
+ body = this.parse(token.tokens);
2445
+ out += this.renderer.blockquote(body);
2446
+ continue;
2447
+ }
2448
+
2449
+ case 'list':
2450
+ {
2451
+ ordered = token.ordered;
2452
+ start = token.start;
2453
+ loose = token.loose;
2454
+ l2 = token.items.length;
2455
+ body = '';
2456
+
2457
+ for (j = 0; j < l2; j++) {
2458
+ item = token.items[j];
2459
+ checked = item.checked;
2460
+ task = item.task;
2461
+ itemBody = '';
2462
+
2463
+ if (item.task) {
2464
+ checkbox = this.renderer.checkbox(checked);
2465
+
2466
+ if (loose) {
2467
+ if (item.tokens.length > 0 && item.tokens[0].type === 'paragraph') {
2468
+ item.tokens[0].text = checkbox + ' ' + item.tokens[0].text;
2469
+
2470
+ if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') {
2471
+ item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text;
2472
+ }
2473
+ } else {
2474
+ item.tokens.unshift({
2475
+ type: 'text',
2476
+ text: checkbox
2477
+ });
2478
+ }
2479
+ } else {
2480
+ itemBody += checkbox;
2481
+ }
2482
+ }
2483
+
2484
+ itemBody += this.parse(item.tokens, loose);
2485
+ body += this.renderer.listitem(itemBody, task, checked);
2486
+ }
2487
+
2488
+ out += this.renderer.list(body, ordered, start);
2489
+ continue;
2490
+ }
2491
+
2492
+ case 'html':
2493
+ {
2494
+ // TODO parse inline content if parameter markdown=1
2495
+ out += this.renderer.html(token.text);
2496
+ continue;
2497
+ }
2498
+
2499
+ case 'paragraph':
2500
+ {
2501
+ out += this.renderer.paragraph(this.parseInline(token.tokens));
2502
+ continue;
2503
+ }
2504
+
2505
+ case 'text':
2506
+ {
2507
+ body = token.tokens ? this.parseInline(token.tokens) : token.text;
2508
+
2509
+ while (i + 1 < l && tokens[i + 1].type === 'text') {
2510
+ token = tokens[++i];
2511
+ body += '\n' + (token.tokens ? this.parseInline(token.tokens) : token.text);
2512
+ }
2513
+
2514
+ out += top ? this.renderer.paragraph(body) : body;
2515
+ continue;
2516
+ }
2517
+
2518
+ default:
2519
+ {
2520
+ var errMsg = 'Token with "' + token.type + '" type was not found.';
2521
+
2522
+ if (this.options.silent) {
2523
+ console.error(errMsg);
2524
+ return;
2525
+ } else {
2526
+ throw new Error(errMsg);
2527
+ }
2528
+ }
2529
+ }
2530
+ }
2531
+
2532
+ return out;
2533
+ }
2534
+ /**
2535
+ * Parse Inline Tokens
2536
+ */
2537
+ ;
2538
+
2539
+ _proto.parseInline = function parseInline(tokens, renderer) {
2540
+ renderer = renderer || this.renderer;
2541
+ var out = '',
2542
+ i,
2543
+ token,
2544
+ ret;
2545
+ var l = tokens.length;
2546
+
2547
+ for (i = 0; i < l; i++) {
2548
+ token = tokens[i]; // Run any renderer extensions
2549
+
2550
+ if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {
2551
+ ret = this.options.extensions.renderers[token.type].call({
2552
+ parser: this
2553
+ }, token);
2554
+
2555
+ if (ret !== false || !['escape', 'html', 'link', 'image', 'strong', 'em', 'codespan', 'br', 'del', 'text'].includes(token.type)) {
2556
+ out += ret || '';
2557
+ continue;
2558
+ }
2559
+ }
2560
+
2561
+ switch (token.type) {
2562
+ case 'escape':
2563
+ {
2564
+ out += renderer.text(token.text);
2565
+ break;
2566
+ }
2567
+
2568
+ case 'html':
2569
+ {
2570
+ out += renderer.html(token.text);
2571
+ break;
2572
+ }
2573
+
2574
+ case 'link':
2575
+ {
2576
+ out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer));
2577
+ break;
2578
+ }
2579
+
2580
+ case 'image':
2581
+ {
2582
+ out += renderer.image(token.href, token.title, token.text);
2583
+ break;
2584
+ }
2585
+
2586
+ case 'strong':
2587
+ {
2588
+ out += renderer.strong(this.parseInline(token.tokens, renderer));
2589
+ break;
2590
+ }
2591
+
2592
+ case 'em':
2593
+ {
2594
+ out += renderer.em(this.parseInline(token.tokens, renderer));
2595
+ break;
2596
+ }
2597
+
2598
+ case 'codespan':
2599
+ {
2600
+ out += renderer.codespan(token.text);
2601
+ break;
2602
+ }
2603
+
2604
+ case 'br':
2605
+ {
2606
+ out += renderer.br();
2607
+ break;
2608
+ }
2609
+
2610
+ case 'del':
2611
+ {
2612
+ out += renderer.del(this.parseInline(token.tokens, renderer));
2613
+ break;
2614
+ }
2615
+
2616
+ case 'text':
2617
+ {
2618
+ out += renderer.text(token.text);
2619
+ break;
2620
+ }
2621
+
2622
+ default:
2623
+ {
2624
+ var errMsg = 'Token with "' + token.type + '" type was not found.';
2625
+
2626
+ if (this.options.silent) {
2627
+ console.error(errMsg);
2628
+ return;
2629
+ } else {
2630
+ throw new Error(errMsg);
2631
+ }
2632
+ }
2633
+ }
2634
+ }
2635
+
2636
+ return out;
2637
+ };
2638
+
2639
+ return Parser;
2640
+ }();
2641
+
2642
+ /**
2643
+ * Marked
2644
+ */
2645
+
2646
+ function marked(src, opt, callback) {
2647
+ // throw error in case of non string input
2648
+ if (typeof src === 'undefined' || src === null) {
2649
+ throw new Error('marked(): input parameter is undefined or null');
2650
+ }
2651
+
2652
+ if (typeof src !== 'string') {
2653
+ throw new Error('marked(): input parameter is of type ' + Object.prototype.toString.call(src) + ', string expected');
2654
+ }
2655
+
2656
+ if (typeof opt === 'function') {
2657
+ callback = opt;
2658
+ opt = null;
2659
+ }
2660
+
2661
+ opt = merge({}, marked.defaults, opt || {});
2662
+ checkSanitizeDeprecation(opt);
2663
+
2664
+ if (callback) {
2665
+ var highlight = opt.highlight;
2666
+ var tokens;
2667
+
2668
+ try {
2669
+ tokens = Lexer.lex(src, opt);
2670
+ } catch (e) {
2671
+ return callback(e);
2672
+ }
2673
+
2674
+ var done = function done(err) {
2675
+ var out;
2676
+
2677
+ if (!err) {
2678
+ try {
2679
+ if (opt.walkTokens) {
2680
+ marked.walkTokens(tokens, opt.walkTokens);
2681
+ }
2682
+
2683
+ out = Parser.parse(tokens, opt);
2684
+ } catch (e) {
2685
+ err = e;
2686
+ }
2687
+ }
2688
+
2689
+ opt.highlight = highlight;
2690
+ return err ? callback(err) : callback(null, out);
2691
+ };
2692
+
2693
+ if (!highlight || highlight.length < 3) {
2694
+ return done();
2695
+ }
2696
+
2697
+ delete opt.highlight;
2698
+ if (!tokens.length) return done();
2699
+ var pending = 0;
2700
+ marked.walkTokens(tokens, function (token) {
2701
+ if (token.type === 'code') {
2702
+ pending++;
2703
+ setTimeout(function () {
2704
+ highlight(token.text, token.lang, function (err, code) {
2705
+ if (err) {
2706
+ return done(err);
2707
+ }
2708
+
2709
+ if (code != null && code !== token.text) {
2710
+ token.text = code;
2711
+ token.escaped = true;
2712
+ }
2713
+
2714
+ pending--;
2715
+
2716
+ if (pending === 0) {
2717
+ done();
2718
+ }
2719
+ });
2720
+ }, 0);
2721
+ }
2722
+ });
2723
+
2724
+ if (pending === 0) {
2725
+ done();
2726
+ }
2727
+
2728
+ return;
2729
+ }
2730
+
2731
+ try {
2732
+ var _tokens = Lexer.lex(src, opt);
2733
+
2734
+ if (opt.walkTokens) {
2735
+ marked.walkTokens(_tokens, opt.walkTokens);
2736
+ }
2737
+
2738
+ return Parser.parse(_tokens, opt);
2739
+ } catch (e) {
2740
+ e.message += '\nPlease report this to https://github.com/markedjs/marked.';
2741
+
2742
+ if (opt.silent) {
2743
+ return '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
2744
+ }
2745
+
2746
+ throw e;
2747
+ }
2748
+ }
2749
+ /**
2750
+ * Options
2751
+ */
2752
+
2753
+ marked.options = marked.setOptions = function (opt) {
2754
+ merge(marked.defaults, opt);
2755
+ changeDefaults(marked.defaults);
2756
+ return marked;
2757
+ };
2758
+
2759
+ marked.getDefaults = getDefaults;
2760
+ marked.defaults = exports.defaults;
2761
+ /**
2762
+ * Use Extension
2763
+ */
2764
+
2765
+ marked.use = function () {
2766
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2767
+ args[_key] = arguments[_key];
2768
+ }
2769
+
2770
+ var opts = merge.apply(void 0, [{}].concat(args));
2771
+ var extensions = marked.defaults.extensions || {
2772
+ renderers: {},
2773
+ childTokens: {}
2774
+ };
2775
+ var hasExtensions;
2776
+ args.forEach(function (pack) {
2777
+ // ==-- Parse "addon" extensions --== //
2778
+ if (pack.extensions) {
2779
+ hasExtensions = true;
2780
+ pack.extensions.forEach(function (ext) {
2781
+ if (!ext.name) {
2782
+ throw new Error('extension name required');
2783
+ }
2784
+
2785
+ if (ext.renderer) {
2786
+ // Renderer extensions
2787
+ var prevRenderer = extensions.renderers ? extensions.renderers[ext.name] : null;
2788
+
2789
+ if (prevRenderer) {
2790
+ // Replace extension with func to run new extension but fall back if false
2791
+ extensions.renderers[ext.name] = function () {
2792
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2793
+ args[_key2] = arguments[_key2];
2794
+ }
2795
+
2796
+ var ret = ext.renderer.apply(this, args);
2797
+
2798
+ if (ret === false) {
2799
+ ret = prevRenderer.apply(this, args);
2800
+ }
2801
+
2802
+ return ret;
2803
+ };
2804
+ } else {
2805
+ extensions.renderers[ext.name] = ext.renderer;
2806
+ }
2807
+ }
2808
+
2809
+ if (ext.tokenizer) {
2810
+ // Tokenizer Extensions
2811
+ if (!ext.level || ext.level !== 'block' && ext.level !== 'inline') {
2812
+ throw new Error("extension level must be 'block' or 'inline'");
2813
+ }
2814
+
2815
+ if (extensions[ext.level]) {
2816
+ extensions[ext.level].unshift(ext.tokenizer);
2817
+ } else {
2818
+ extensions[ext.level] = [ext.tokenizer];
2819
+ }
2820
+
2821
+ if (ext.start) {
2822
+ // Function to check for start of token
2823
+ if (ext.level === 'block') {
2824
+ if (extensions.startBlock) {
2825
+ extensions.startBlock.push(ext.start);
2826
+ } else {
2827
+ extensions.startBlock = [ext.start];
2828
+ }
2829
+ } else if (ext.level === 'inline') {
2830
+ if (extensions.startInline) {
2831
+ extensions.startInline.push(ext.start);
2832
+ } else {
2833
+ extensions.startInline = [ext.start];
2834
+ }
2835
+ }
2836
+ }
2837
+ }
2838
+
2839
+ if (ext.childTokens) {
2840
+ // Child tokens to be visited by walkTokens
2841
+ extensions.childTokens[ext.name] = ext.childTokens;
2842
+ }
2843
+ });
2844
+ } // ==-- Parse "overwrite" extensions --== //
2845
+
2846
+
2847
+ if (pack.renderer) {
2848
+ (function () {
2849
+ var renderer = marked.defaults.renderer || new Renderer();
2850
+
2851
+ var _loop = function _loop(prop) {
2852
+ var prevRenderer = renderer[prop]; // Replace renderer with func to run extension, but fall back if false
2853
+
2854
+ renderer[prop] = function () {
2855
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
2856
+ args[_key3] = arguments[_key3];
2857
+ }
2858
+
2859
+ var ret = pack.renderer[prop].apply(renderer, args);
2860
+
2861
+ if (ret === false) {
2862
+ ret = prevRenderer.apply(renderer, args);
2863
+ }
2864
+
2865
+ return ret;
2866
+ };
2867
+ };
2868
+
2869
+ for (var prop in pack.renderer) {
2870
+ _loop(prop);
2871
+ }
2872
+
2873
+ opts.renderer = renderer;
2874
+ })();
2875
+ }
2876
+
2877
+ if (pack.tokenizer) {
2878
+ (function () {
2879
+ var tokenizer = marked.defaults.tokenizer || new Tokenizer();
2880
+
2881
+ var _loop2 = function _loop2(prop) {
2882
+ var prevTokenizer = tokenizer[prop]; // Replace tokenizer with func to run extension, but fall back if false
2883
+
2884
+ tokenizer[prop] = function () {
2885
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
2886
+ args[_key4] = arguments[_key4];
2887
+ }
2888
+
2889
+ var ret = pack.tokenizer[prop].apply(tokenizer, args);
2890
+
2891
+ if (ret === false) {
2892
+ ret = prevTokenizer.apply(tokenizer, args);
2893
+ }
2894
+
2895
+ return ret;
2896
+ };
2897
+ };
2898
+
2899
+ for (var prop in pack.tokenizer) {
2900
+ _loop2(prop);
2901
+ }
2902
+
2903
+ opts.tokenizer = tokenizer;
2904
+ })();
2905
+ } // ==-- Parse WalkTokens extensions --== //
2906
+
2907
+
2908
+ if (pack.walkTokens) {
2909
+ var _walkTokens = marked.defaults.walkTokens;
2910
+
2911
+ opts.walkTokens = function (token) {
2912
+ pack.walkTokens.call(this, token);
2913
+
2914
+ if (_walkTokens) {
2915
+ _walkTokens.call(this, token);
2916
+ }
2917
+ };
2918
+ }
2919
+
2920
+ if (hasExtensions) {
2921
+ opts.extensions = extensions;
2922
+ }
2923
+
2924
+ marked.setOptions(opts);
2925
+ });
2926
+ };
2927
+ /**
2928
+ * Run callback for every token
2929
+ */
2930
+
2931
+
2932
+ marked.walkTokens = function (tokens, callback) {
2933
+ var _loop3 = function _loop3() {
2934
+ var token = _step.value;
2935
+ callback.call(marked, token);
2936
+
2937
+ switch (token.type) {
2938
+ case 'table':
2939
+ {
2940
+ for (var _iterator2 = _createForOfIteratorHelperLoose(token.header), _step2; !(_step2 = _iterator2()).done;) {
2941
+ var cell = _step2.value;
2942
+ marked.walkTokens(cell.tokens, callback);
2943
+ }
2944
+
2945
+ for (var _iterator3 = _createForOfIteratorHelperLoose(token.rows), _step3; !(_step3 = _iterator3()).done;) {
2946
+ var row = _step3.value;
2947
+
2948
+ for (var _iterator4 = _createForOfIteratorHelperLoose(row), _step4; !(_step4 = _iterator4()).done;) {
2949
+ var _cell = _step4.value;
2950
+ marked.walkTokens(_cell.tokens, callback);
2951
+ }
2952
+ }
2953
+
2954
+ break;
2955
+ }
2956
+
2957
+ case 'list':
2958
+ {
2959
+ marked.walkTokens(token.items, callback);
2960
+ break;
2961
+ }
2962
+
2963
+ default:
2964
+ {
2965
+ if (marked.defaults.extensions && marked.defaults.extensions.childTokens && marked.defaults.extensions.childTokens[token.type]) {
2966
+ // Walk any extensions
2967
+ marked.defaults.extensions.childTokens[token.type].forEach(function (childTokens) {
2968
+ marked.walkTokens(token[childTokens], callback);
2969
+ });
2970
+ } else if (token.tokens) {
2971
+ marked.walkTokens(token.tokens, callback);
2972
+ }
2973
+ }
2974
+ }
2975
+ };
2976
+
2977
+ for (var _iterator = _createForOfIteratorHelperLoose(tokens), _step; !(_step = _iterator()).done;) {
2978
+ _loop3();
2979
+ }
2980
+ };
2981
+ /**
2982
+ * Parse Inline
2983
+ * @param {string} src
2984
+ */
2985
+
2986
+
2987
+ marked.parseInline = function (src, opt) {
2988
+ // throw error in case of non string input
2989
+ if (typeof src === 'undefined' || src === null) {
2990
+ throw new Error('marked.parseInline(): input parameter is undefined or null');
2991
+ }
2992
+
2993
+ if (typeof src !== 'string') {
2994
+ throw new Error('marked.parseInline(): input parameter is of type ' + Object.prototype.toString.call(src) + ', string expected');
2995
+ }
2996
+
2997
+ opt = merge({}, marked.defaults, opt || {});
2998
+ checkSanitizeDeprecation(opt);
2999
+
3000
+ try {
3001
+ var tokens = Lexer.lexInline(src, opt);
3002
+
3003
+ if (opt.walkTokens) {
3004
+ marked.walkTokens(tokens, opt.walkTokens);
3005
+ }
3006
+
3007
+ return Parser.parseInline(tokens, opt);
3008
+ } catch (e) {
3009
+ e.message += '\nPlease report this to https://github.com/markedjs/marked.';
3010
+
3011
+ if (opt.silent) {
3012
+ return '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
3013
+ }
3014
+
3015
+ throw e;
3016
+ }
3017
+ };
3018
+ /**
3019
+ * Expose
3020
+ */
3021
+
3022
+
3023
+ marked.Parser = Parser;
3024
+ marked.parser = Parser.parse;
3025
+ marked.Renderer = Renderer;
3026
+ marked.TextRenderer = TextRenderer;
3027
+ marked.Lexer = Lexer;
3028
+ marked.lexer = Lexer.lex;
3029
+ marked.Tokenizer = Tokenizer;
3030
+ marked.Slugger = Slugger;
3031
+ marked.parse = marked;
3032
+ var options = marked.options;
3033
+ var setOptions = marked.setOptions;
3034
+ var use = marked.use;
3035
+ var walkTokens = marked.walkTokens;
3036
+ var parseInline = marked.parseInline;
3037
+ var parse = marked;
3038
+ var parser = Parser.parse;
3039
+ var lexer = Lexer.lex;
3040
+
3041
+ exports.Lexer = Lexer;
3042
+ exports.Parser = Parser;
3043
+ exports.Renderer = Renderer;
3044
+ exports.Slugger = Slugger;
3045
+ exports.TextRenderer = TextRenderer;
3046
+ exports.Tokenizer = Tokenizer;
3047
+ exports.getDefaults = getDefaults;
3048
+ exports.lexer = lexer;
3049
+ exports.marked = marked;
3050
+ exports.options = options;
3051
+ exports.parse = parse;
3052
+ exports.parseInline = parseInline;
3053
+ exports.parser = parser;
3054
+ exports.setOptions = setOptions;
3055
+ exports.use = use;
3056
+ exports.walkTokens = walkTokens;